Apt reporting wrong package size for large packages

Bug #862881 reported by Sean Crosby
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Bug #815895 and #250909 deal with the same kind of problem, but in a different manner. #250909 has solved the error of being able to download and install large packages, but during the download there still seems to be a remnant of the error

$ sudo apt-get install matlab-2011b-uomph

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  matlab-2011b-uomph
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,330 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://lai.ph.unimelb.edu.au/ubuntu/ main/main matlab-2011b-uomph all 7.13.0-r2011b-6 [2,330 MB]
75% [1 matlab-2011b-uomph 1,765 MB/18.4 EB 0%] 39.2 MB/s 14s^

Notice how the left percentage is at 75% (which is correct), but the middle percentage is stuck at zero, and it calculates the size as 18.4 EB.

I am unaware of how apt works though. Is the 18.4 EB coming from the server, or is it coming from the apt client itself?

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apt 0.8.16~exp5ubuntu12
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
Date: Fri Sep 30 09:38:15 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2)
ProcEnviron:
 LANGUAGE=en_AU:en
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sean Crosby (richardnixonshead) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt (Ubuntu):
status: New → Confirmed
Revision history for this message
dino99 (9d9) wrote :

Oneiric is no more maintained; and that issue is not known with more recent package

Changed in apt (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.