Package: aptitude
Version: 0.2.15.9-2
Severity: normal

Hi, 

aptitude doesn't complain when the http fetcher downloads a corrupted package.
I find the affected packages in /var/cache/apt/archives/partial with a
'.FAILED' suffix appended, but aptitude says nothing about it. 

See this demo (with package files containing only zeros): 

,----[ Running aptitude ]
| penelope[root]# aptitude install xprint
| Reading Package Lists... Done
| Building Dependency Tree
| Reading extended state information
| Initializing package states... Done
| Reading task descriptions... Done
| The following NEW packages will be automatically installed:
|   xprint-common
| The following NEW packages will be installed:
|   xprint xprint-common
| 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
| Need to get 2126kB of archives. After unpacking 6337kB will be used.
| Do you want to continue? [Y/n/?]
| Writing extended state information... Done
| Get:1 http://tunichtgut sarge/main xprint-common 1:0.1.0.alpha1-10 [366kB]
| Get:2 http://tunichtgut sarge/main xprint 1:0.1.0.alpha1-10 [1760kB]
| Fetched 2126kB in 17s (119kB/s)
| Reading Package Lists... Done
| Building Dependency Tree
| Reading extended state information
| Initializing package states... Done
| Reading task descriptions... Done
`----

apt-get does this better: 

,----[ Running apt-get ]
| penelope[root]# apt-get install xprint
| Reading Package Lists... Done
| Building Dependency Tree... Done
| The following extra packages will be installed:
|   xprint-common
| The following NEW packages will be installed:
|   xprint xprint-common
| 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
| Need to get 2126kB of archives.
| After unpacking 6337kB of additional disk space will be used.
| Do you want to continue? [Y/n]
| Get:1 http://tunichtgut sarge/main xprint-common 1:0.1.0.alpha1-10 [366kB]
| Get:2 http://tunichtgut sarge/main xprint 1:0.1.0.alpha1-10 [1760kB]
| Fetched 2126kB in 17s (119kB/s)
| Failed to fetch 
http://tunichtgut:9999/debian/pool/main/x/xprint/xprint-common_0.1.0.alpha1-10_all.deb
  MD5Sum mismatch
| Failed to fetch 
http://tunichtgut:9999/debian/pool/main/x/xprint/xprint_0.1.0.alpha1-10_i386.deb
  MD5Sum mismatch
| E: Unable to fetch some archives, maybe run apt-get update or try with 
--fix-missing?
`----

That's much better. 

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-deb.150606
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6 0.5.28.6           Advanced front-end for dpkg
ii  libc6                 2.3.2.ds1-22sarge4 GNU C Library: Shared libraries an
ii  libgcc1               1:3.4.3-13sarge1   GCC support library
ii  libncurses5           5.4-4              Shared libraries for terminal hand
ii  libsigc++-1.2-5c102   1.2.5-4            type-safe Signal Framework for C++
ii  libstdc++5            1:3.3.5-13         The GNU Standard C++ Library v3

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to