apt can't handle installing more than 4 Gb of packages at once
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: apt
I've been seeing this in Jaunty, Karmic and now Lucid alpha 2 so it must be a long standing problem.
`apt-get install package1 package2`, where those 2 packages exceed 4 Gb halts with the following error:
"Failed to fetch http://
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"
If I try the installation separately, `apt-get install package1` and later `apt-get install package2` it works fine (of course if each one of them is less than 4 Gb).
It also works fine if I try the command twice (see the attached file): the first time it downloads 4 Gb of packages, and it fails, and the second time it downloads the rest Gb, and it succeeds.
To reproduce the problem, just install a whole lot of packages *that you do not already have in your apt cache* at once from the Ubuntu repositories.
I'm attaching the output I get while trying to install 5 Gb of some Greek educational packages.
I also tried with aptitude and on a different web server, see the attached file.
Thanks for your bugreport.
Can you please attach the output of: acquire: :http=true
$ sudo apt-get install package1 package -o Debug::
that should include the http headers so that we can diagnose the problem.