[Bug 815895] Re: W: Bizarre Error - File size is not what the server reported
Chris J Arges
815895 at bugs.launchpad.net
Tue Jul 31 18:27:29 UTC 2012
I've tested this on Oneiric and Precise. It fails in Oneiric and works
in Precise.
** Also affects: apt (Ubuntu Oneiric)
Importance: Undecided
Status: New
** Also affects: apt (Ubuntu Precise)
Importance: Undecided
Status: New
** Changed in: apt (Ubuntu Precise)
Status: New => Fix Released
** Changed in: apt (Ubuntu Oneiric)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/815895
Title:
W: Bizarre Error - File size is not what the server reported
Status in “apt” package in Ubuntu:
Fix Released
Status in “apt” source package in Oneiric:
Confirmed
Status in “apt” source package in Precise:
Fix Released
Status in “apt” package in Debian:
Fix Released
Bug description:
I have a private, GPG-signed repository that I use to distribute pre-
packaged software to our servers and workstations. Use of this
private repository has been without a hitch for years until now:
Attempting to distribute a very large (2.3GB) package file, apt-fails
with the following error message:
----------
# apt-get install <package>
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
<package>
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 2,224 MB of archives.
After this operation, 4,416 MB of additional disk space will be used.
Get:1 http://<url>/ stable/main <package> amd64 4 [2,224 MB]
Fetched 1 B in 38s (0 B/s)
Failed to fetch http://[<url-deleted>]/./pool/<package>_4_amd64.deb Size mismatch
W: Bizarre Error - File size is not what the server reported 2224455066 18446744071639039386
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
----------
The correct file size of the package file is: 2224455066
The entry for this package in the repository's Packages file:
----------
Package: <package>
Version: 4
Architecture: amd64
Maintainer: Michael Peek <peek at nimbios.org>
Installed-Size: 4312636
Filename: ./pool/<package>_4_amd64.deb
Size: 2224455066
MD5sum: e0daf5d8a6588210f06ddd155a0119ea
SHA1: a47121319aa4262ebf6fc9286820a9b78067cc3a
SHA256: e38a7f4d5ccce10bd51ea07bc3515c0b35bf57eb80caeea5b19ecdd27f701758
Section: non-free/admin
Priority: extra
Homepage: <url>
Description: <description>
<long description>
----------
Note that the size listed in the Packages entry is correct, and
corresponds to the first number reported by the "Bizarre Error"
warning returned by apt-get. But the second number,
18446744071639039386, is nowhere to be found.
The package has been re-built and the repository package files re-
generated several times, to no avail. This bug may be related to this
one: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623137 (Apr 17,
2011).
NOTE: This bug has been reported before, and reportedly fixed, as bugs
#122294 (2007) and #176675 (2009). Since this bug is clearly still
happening and is referenced by an upstream Debian bug report I thought
I would merely reference the other bugs here and open a new report.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: apt 0.8.13.2ubuntu4.1
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Jul 25 09:15:24 2011
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
LANGUAGE=en_US:
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/815895/+subscriptions
More information about the foundations-bugs
mailing list