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

Bug#245322: dpkg: Can't handle installing packages with a diverted hardlink



Package: dpkg
Version: 1.10.20
Severity: normal

I've got this on my system:

root@nevyn:/home/drow# dpkg-divert --list|grep mk
local diversion of /sbin/mkreiserfs to /sbin/mkreiserfs.distrib
local diversion of /sbin/mkfs.reiserfs to /sbin/mkfs.reiserfs.distrib

When I try to update reiserfs, I get:
dpkg: error processing /var/cache/apt/archives/reiserfsprogs_1%3a3.6.14-3_i386.deb (--unpack):
 error creating hard link `./sbin/mkreiserfs': No such file or directory

The package has both in it, but dpkg doesn't account for the renamed
hardlink.

-rwxr-xr-x root/root    141644 2004-04-20 05:37:57 ./sbin/mkfs.reiserfs
hrwxr-xr-x root/root         0 2004-04-20 05:37:57 ./sbin/mkreiserfs link to ./sbin/mkfs.reiserfs


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-nevyn
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages dpkg depends on:
ii  dselect                     1.10.20      a user tool to manage Debian packa
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared libraries an

-- no debconf information

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: