[Bug 815895] Re: W: Bizarre Error - File size is not what the server reported
Launchpad Bug Tracker
815895 at bugs.launchpad.net
Sun Jan 29 18:25:12 UTC 2012
This bug was fixed in the package apt - 0.8.16~exp12ubuntu1
---------------
apt (0.8.16~exp12ubuntu1) precise; urgency=low
[ Michael Vogt ]
* merge from debian/experimental:
- new ABI
[ Steve Langasek ]
* apt-pkg/algorithms.cc: iterate Breaks the same way as Conflicts, so that
we resolve virtual package Breaks more effectively. Thanks to Colin
Watson for the patch. Closes: #657695, LP: #922485.
* apt-pkg/algorithms.{cc,h}: use an int to represent resolver scores, not
a signed short, because large upgrades can result in an overflow for
core packages. Thanks again to Colin Watson. Closes: #657732,
LP: #917173.
* Multi-Arch: none build-deps should be DEB_HOST_ARCH, not DEB_BUILD_ARCH.
Closes: #646288.
apt (0.8.16~exp12) experimental; urgency=low
[ Michael Vogt ]
* apt-pkg/deb/dpkgpm.cc:
- fix segfault on pkg removal
[ David Kalnischkies ]
* apt-pkg/cacheiterators.h:
- return the correct version arch for all+foreign, too
* apt-pkg/packagemanager.cc:
- ignore breaks on not-installed versions while searching for
breakage loops as we don't have to avoid them
* debian/control:
- remove APT from the short descriptions as lintian doesn't like it
and it doesn't transport any information for a reader anyway
- apply typofixes by Pascal De Vuyst, thanks! (Closes: #652834, #652835)
* debian/rules:
- apply patch to enable usage of hardning CPPFLAGS and LDFLAGS by
Moritz Muehlenhoff, thanks! (Closes: #653504)
* methods/https.cc:
- use curls list append instead of appending Range and If-Range by hand
which generates malformed requests, thanks Mel Collins for the hint!
(Closes: #646381)
* test/libapt/run-tests:
- hurd doesn't have dmesg yet and we don't really need it either,
so use with $0 a more stable data source for hashsumming
[ Pino Toscano ]
* test/libapt/globalerror_test.cc:
- errno 0 has a different strerror on hurd, so generate the expected
message dynamically instead of hardcoding 'Success' (Closes: #656530)
apt (0.8.16~exp11) experimental; urgency=low
[ David Kalnischkies ]
* apt-pkg/deb/dpkgpm.cc:
- redirect out/input of dpkg --assert-multi-arch to /dev/null
- if multi-arch is detected ensure that pkg:all is reported as pkg:all
apt (0.8.16~exp10) experimental; urgency=low
[ David Kalnischkies ]
* apt-pkg/depcache.cc:
- implicit conflicts (for multiarch) are supposed to conflict
only with real packages, not with virtual providers
* apt-pkg/pkgcache.cc:
- ignore implicit conflicts on providers in AllTarget, too
* apt-pkg/deb/dpkgpm.cc:
- check if dpkg supports multiarch with --assert-multi-arch
and if it does be always explicit about the architecture
* apt-pkg/contrib/fileutl.h:
- store the offset in the internal fd before calculate size of
the zlib-handled file to jump back to this place again
[ Michael Vogt ]
* apt-pkg/contrib/fileutl.h:
- fix segfault triggered by the python-apt testsuite
apt (0.8.16~exp9) experimental; urgency=low
[ Julian Andres Klode ]
* apt-pkg/cdrom.cc:
- Accept .bz2, .xz files in addition to .gz files (Closes: #649451)
[ Michael Vogt ]
* apt-pkg/cdrom.cc:
- use aptconfiguration to get the supported compression types
* debian/control:
- bump debhelper build-dep to debhelper (>= 8.1.3~)
- set libapt-pkg-dev to multi-arch: same too
* g++ 4.7 fixes
[ Colin Watson ]
* Convert libapt-pkg4.12 and libapt-inst1.4 to Multi-Arch: same.
[ David Kalnischkies ]
* apt-pkg/cacheset.cc:
- make the cachesets real containers which can embedding any container
to be able to use the same interface regardless of set or list usage
- provide a {Package,Version}List similar to {Package,Version}Set
* cmdline/apt-{get,cache,mark}.cc:
- use Lists instead of Sets if input order should be preserved for
commands accepting lists of packages, e.g. policy (Closes: #625960)
* apt-pkg/depcache.cc:
- prefer native providers over foreigns even if the chain is foreign.
LP: #850264.
* cmdline/apt-get.cc:
- ignore foreign architectures if we check if a provides has only one
resolver as it's basically the same for the user, so no need to choose
* cmdline/apt-config.cc:
- dump the APT::Compressor settings correctly and completely
* apt-pkg/contrib/fileutl.{h,cc}:
- implement a ModificationTime method for FileFd
- add a ReadLine method
- drop the explicit export of gz-compression handling
* apt-pkg/cdrom.cc:
- support InRelease files on cdrom
apt (0.8.16~exp8) experimental; urgency=low
[ David Kalnischkies ]
* algorithms.cc:
- show a debug why a package was kept by ResolveByKeep()
* apt-pkg/packagemanager.cc:
- do not fail on unpacked packages in SmartUnPack, just don't
shedule them for unpack, but do all checks and configure them
- do not enter an endless loop for (essential) pre-dependency loops
* apt-pkg/contrib/sha2_internal.cc:
- use a pointer-union to peace gcc strict-aliasing warning
* apt-pkg/deb/deblistparser.cc:
- M-A: foreign packages provide for other archs, too
apt (0.8.16~exp7) experimental; urgency=low
[ David Kalnischkies ]
* do not pollute namespace in the headers with using (Closes: #500198)
* use forward declaration in headers if possible instead of includes
* remove old APT_COMPATIBILITY ifdef's
* apt-pkg/deb/dpkgpm.cc:
- use std::vector instead of fixed size arrays to store args and
multiarch-packagename strings
- load the dpkg base arguments only one time and reuse them later
* cmdline/apt-get.cc:
- follow Provides in the evaluation of saving candidates, too, for
statisfying garbage package dependencies (Closes: #640590)
* apt-pkg/algorithms.cc:
- if a package is garbage, don't try to save it with FixByInstall
* apt-pkg/deb/debsrcrecords.cc:
- remove the limit of 400 Binaries for a source package (Closes: #622110)
* apt-pkg/deb/deblistparser.cc:
- fix crash when the dynamic mmap needs to be grown in
LoadReleaseInfo (LP: #854090)
* apt-pkg/deb/debmetaindex.cc:
- none is a separator, not a language: no need for Index (Closes: #624218)
* apt-pkg/aptconfiguration.cc:
- do not builtin languages only if none is forced (Closes: #643787)
* apt-pkg/pkgcachegen.cc:
- refactor MergeList by creating -Group, -Package and -Version specialist
- share description list between "same" versions (LP: #868977)
This also means that descriptions are shared across archives now.
- add implicit dependencies needed for Multi-Arch at the time a Version
struct is created and not at the end of the cache generation
* apt-pkg/pkgcache.cc:
- always prefer "en" over "" for "en"-language regardless of cache-order
[ Michael Vogt ]
* apt-pkg/contrib/configuration.cc:
- fix double delete (LP: #848907)
- ignore only the invalid regexp instead of all options
* apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc:
- fix fetching language information by adding OptionalSubIndexTarget
* methods/https.cc:
- cleanup broken downloads properly
[ Colin Watson ]
* ftparchive/cachedb.cc:
- fix buffersize in bytes2hex
apt (0.8.16~exp6) experimental; urgency=low
[ Christopher Baines ]
* enable APT in unpack/configure ordering to handle loops as well
as tight dependencies between immediate packages better
enabling also the possibility to mark all packages as immediate
(at least Closes: #353290, #540227, #559733, #621836, #639290)
[ David Kalnischkies ]
* [abi-break] Support large files in the complete toolset. Indexes of this
size are pretty unlikely for now, but we need it for deb
packages which could become bigger than 4GB now (LP: #815895)
* merged the debian-sid branch
[ Michael Vogt ]
* bump ABI version
apt (0.8.16~exp5ubuntu14.2.1) UNRELEASED; urgency=low
[ Daniel Hahler ]
* doc/apt-key.8.xml: Ubuntu specific documentation changes (LP: #445903)
-- Steve Langasek <steve.langasek at ubuntu.com> Sun, 29 Jan 2012 00:44:16 +0000
** Changed in: apt (Ubuntu)
Status: Confirmed => Fix Released
--
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” 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