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

symlinks with 2.1 kernels

I don't know how we should handle this, but it looks like the new 2.1
kernels (>2.1.80?) are going to break quite a few packages:

[1]wyvern:/zip/linux$ sudo dpkg -i tk8.0_8.0p2-2.deb
(Reading database ... 30375 files and directories currently installed.)
Unpacking tk8.0 (from tk8.0_8.0p2-2.deb) ...
dpkg: error processing tk8.0_8.0p2-2.deb (--install):
 error setting ownership of symlink usr/doc/tk8.0/changelog.gz': No such file or directory
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:

The problem (as I understand it) is that linux now traverses symlinks to
check the file permissions.  As the following extract from "dpkg-deb -c"
shows, it looks like the problem is that the link points to a non-existant

drwxr-xr-x root/root         0 1998-01-27 15:20 usr/doc/tk8.0/
lrwxrwxrwx root/root         0 1998-01-27 15:20 usr/doc/tk8.0/changelog.gz -> changes.gz
-rw-r--r-- root/root     60828 1998-01-27 15:20 usr/doc/tk8.0/changes.gz

I don't know if it is the best solution, but it looks like symlinking will
have to be done in the postinst/rm scripts.


email: adrian.bridgett@poboxes.com       | Debian Linux - www.debian.org
http://www.poboxes.com/adrian.bridgett   | Because bloated, unstable 
PGP key available on public key servers  | operating systems are from MS

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: