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

Bug#178735: dpkg: broken debs can easily be installed

Package: dpkg
Version: 1.10.9
Severity: normal
File: /usr/bin/dpkg

I had an easy time installing this

# dpkg -i mplayer-k6_0.90rc3-0.0_i386.deb 
Selecting previously deselected package mplayer-k6.
(Reading database ... 170217 files and directories currently installed.)
Unpacking mplayer-k6 (from mplayer-k6_0.90rc3-0.0_i386.deb) ...
Setting up mplayer-k6 (0.90rc3-0.0) ...

even though
$ dpkg -c mplayer-k6_0.90rc3-0.0_i386.deb|grep -v /$|wc -l
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors
dpkg-deb: subprocess tar returned error exit status 2
     42 #taking out dirs
$ wc -l md5sums 
     53  md5sums

i.e. the md5sums weren't even apparently done, or if they were then
missing files aren't causes for error. i.e. bad md sum will be caught
but missing files wont?
Anyway, I'm startled how easy it is to only install 3/4 of a .deb and
dpkg doesn't prevent it!

Perhaps I corrupted my copy of this file, I will retry later, but that's not the point.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux debian 2.4.19-k7 #1 Sun Oct 6 20:29:56 EST 2002 i686
Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5

Versions of packages dpkg depends on:
ii  dselect                       1.10.9     a user tool to manage Debian packa
ii  libc6                         2.3.1-9    GNU C Library: Shared libraries an

-- no debconf information

Reply to: