[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#309993: apt: Single package installations doesn't count bytes already downloaded



Package: apt
Version: 0.5.28.6
Severity: normal

cane:/home/pryzbyj# apt-get install bbappconf
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
  bbappconf
1 upgraded, 0 newly installed, 0 to remove and 259 not upgraded.
Need to get 39.1kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://http.us.debian.org sarge/main bbappconf 0.0.2-5 [39.1kB]
51% [1 bbappconf 19976/39.1kB 51%]                                   2406B/s 7s
cane:/home/pryzbyj# apt-get install bbappconf
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded:
  bbappconf
1 upgraded, 0 newly installed, 0 to remove and 259 not upgraded.
Need to get 39.1kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://http.us.debian.org sarge/main bbappconf 0.0.2-5 [39.1kB]
54% [1 bbappconf 21423/39.1kB 54%]

There are 2 problems, probably unrelated.

1. "...0B of additional disk space..." is clearly wrong.
2. After resuming the downloaded file, apt still reports "Need to get
39.1kB".


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

#deb cdrom:[Debian GNU/Linux 3.0 r1 _Woody_ - Official i386 Binary-1 (20021218)]/ unstable contrib main non-US/contrib non-US/main
deb http://http.us.debian.org/debian sarge main
deb http://www.justinpryzby.com/debian/ ./

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.18-bf2.4
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                  2.3.2.ds1-21      GNU C Library: Shared libraries an
ii  libgcc1                1:3.4.1-4sarge1   GCC support library
ii  libstdc++5             1:3.3.4-6sarge1.2 The GNU Standard C++ Library v3

-- no debconf information



Reply to: