Package: dpkg
Version: 1.13.25
Severity: grave

Hello,

during a class explaining to the participants how important the
consistent state of a system is, dpkg happily installed a broken
Debian package, which was corrupted during transmission from a
mirror. Attached is a type script of the installation, the corrupt
package in question can be downloaded from http://scratch.spiney.org/
for further investigation (the file with the .ok extension is the same
file without the corruption).

Basically this seems to be the same as #178735 which is over 4 years old
and is still not fixed, hence I submit a new bugreport with severity
grave.

Kind regards
WK
etch:/home# dpkg -i mysql-server-5.0_5.0.32-7etch1_i386.deb
Selecting previously deselected package mysql-server-5.0.
(Reading database ... 18792 files and directories currently installed.)
Unpacking mysql-server-5.0 (from mysql-server-5.0_5.0.32-7etch1_i386.deb) ...
Setting up mysql-server-5.0 (5.0.32-7etch1) ...
chown: cannot access `/usr/share/mysql': No such file or directory
chown: cannot access `/var/run/mysqld': No such file or directory

etch:/home# dpkg -c mysql-server-5.0_5.0.32-7etch1_i386.deb
drwxr-xr-x root/root         0 2007-03-18 22:05 ./
drwxr-xr-x root/root         0 2007-03-18 22:05 ./etc/
drwxr-xr-x root/root         0 2007-03-18 22:05 ./etc/init.d/
-rwxr-xr-x root/root      1931 2007-03-18 21:51 ./etc/init.d/mysql-ndb-mgm
-rwxr-xr-x root/root      2547 2007-03-18 21:51 ./etc/init.d/mysql-ndb
-rwxr-xr-x root/root      6127 2007-03-18 21:51 ./etc/init.d/mysql
drwxr-xr-x root/root         0 2007-03-18 22:05 ./etc/logrotate.d/
-rw-r--r-- root/root       869 2007-03-18 22:05 ./etc/logrotate.d/mysql-server
drwxr-xr-x root/root         0 2007-03-18 22:05 ./etc/mysql/
-rwxr-xr-x root/root      1114 2007-03-18 22:05 ./etc/mysql/debian-start
drwxr-xr-x root/root         0 2007-03-18 22:05 ./etc/logcheck/
drwxr-xr-x root/root         0 2007-03-18 22:05 
./etc/logcheck/ignore.d.workstation/
-rw-r--r-- root/root      2244 2007-03-18 22:05 
./etc/logcheck/ignore.d.workstation/mysql-server-5_0
drwxr-xr-x root/root         0 2007-03-18 22:05 ./etc/logcheck/ignore.d.server/
-rw-r--r-- root/root      2244 2007-03-18 22:05 
./etc/logcheck/ignore.d.server/mysql-server-5_0
drwxr-xr-x root/root         0 2007-03-18 22:05 
./etc/logcheck/ignore.d.paranoid/
-rw-r--r-- root/root       889 2007-03-18 22:05 
./etc/logcheck/ignore.d.paranoid/mysql-server-5_0
drwxr-xr-x root/root         0 2007-03-18 22:05 ./usr/
drwxr-xr-x root/root         0 2007-03-18 22:05 ./usr/bin/
-rwxr-xr-x root/root   1258556 2007-03-18 22:05 ./usr/bin/comp_err
-rwxr-xr-x root/root      7576 2007-03-18 22:05 ./usr/bin/innochecksum
-rwxr-xr-x root/root      1462 2007-03-18 22:05 ./usr/bin/msql2mysql
-rwxr-xr-x root/root   1586012 2007-03-18 22:05 ./usr/bin/myisamchk
-rwxr-xr-x root/root   1481596 2007-03-18 22:05 ./usr/bin/myisamlog
-rwxr-xr-x root/root   1503132 2007-03-18 22:05 ./usr/bin/myisampack
-rwxr-xr-x root/root   1259068 2007-03-18 22:05 ./usr/bin/my_print_defaults
-rwxr-xr-x root/root     85796 2007-03-18 22:05 ./usr/bin/mysqlbinlog
-rwxr-xr-x root/root      3098 2007-03-18 22:05 
./usr/bin/mysql_convert_table_format
-rwxr-xr-x root/root     35544 2007-03-18 22:05 
./usr/bin/mysql_create_system_tables
-rwxr-xr-x root/root     23232 2007-03-18 22:05 ./usr/bin/mysqld_multi
-rwxr-xr-x root/root     12991 2007-03-18 22:05 ./usr/bin/mysqld_safe
-rwxr-xr-x root/root      5357 2007-03-18 22:05 
./usr/bin/mysql_fix_privilege_tables
-rwxr-xr-x root/root     33225 2007-03-18 22:05 ./usr/bin/mysqlhotcopy
-rwxr-xr-x root/root      8922 2007-03-18 22:05 ./usr/bin/mysql_install_db
-rwxr-xr-x root/root      6308 2007-03-18 22:05 
./usr/bin/mysql_secure_installation
-rwxr-xr-x root/root     17446 2007-03-18 22:05 ./usr/bin/mysql_setpermission
-rwxr-xr-x root/root    116892 2007-03-18 22:05 ./usr/bin/mysqltest
-rwxr-xr-x root/root   1245256 2007-03-18 22:05 ./usr/bin/mysql_tzinfo_to_sql
-rwxr-xr-x root/root     15756 2007-03-18 22:05 ./usr/bin/mysql_upgrade
-rwxr-xr-x root/root      5386 2007-03-18 22:05 ./usr/bin/mysql_upgrade_shell
-rwxr-xr-x root/root      3118 2007-03-18 22:05 ./usr/bin/mysql_zap
-rwxr-xr-x root/root   1451036 2007-03-18 22:05 ./usr/bin/ndb_config
-rwxr-xr-x root/root   1908828 2007-03-18 22:05 ./usr/bin/ndb_delete_all
-rwxr-xr-x root/root   1908604 2007-03-18 22:05 ./usr/bin/ndb_desc
-rwxr-xr-x root/root   1906172 2007-03-18 22:05 ./usr/bin/ndb_drop_index
-rwxr-xr-x root/root   1906204 2007-03-18 22:05 ./usr/bin/ndb_drop_table
-rwxr-xr-x root/root      2455 2007-03-18 22:05 ./usr/bin/ndb_error_reporter
-rwxr-xr-x root/root   1430844 2007-03-18 22:05 ./usr/bin/ndb_mgm
-rwxr-xr-x root/root   1954236 2007-03-18 22:05 ./usr/bin/ndb_restore
-rwxr-xr-x root/root   1913084 2007-03-18 22:05 ./usr/bin/ndb_select_all
-rwxr-xr-x root/root   1908668 2007-03-18 22:05 ./usr/bin/ndb_select_count
-rwxr-xr-x root/root   1908700 2007-03-18 22:05 ./usr/bin/ndb_show_tables
-rwxr-xr-x root/root     10793 2007-03-18 22:05 ./usr/bin/ndb_size
-rwxr-xr-x root/root     13440 2007-03-18 22:05 ./usr/bin/ndb_test_platform
-rwxr-xr-x root/root   1910140 2007-03-18 22:05 ./usr/bin/ndb_waiter
-rwxr-xr-x root/root   1272220 2007-03-18 22:05 ./usr/bin/perror
-rwxr-xr-x root/root   1253532 2007-03-18 22:05 ./usr/bin/replace
tar: Skipping to next header
tar: Error exit delayed from previous errors
dpkg-deb: subprocess tar returned error exit status 2
etch:/home# 

Reply via email to