reopen 418473 retitle 418473 cdrecord: improper migration of directory to a symlink tags 418473 etch thanks
On Mon, Apr 09, 2007 at 09:59:52PM -0700, Josh Triplett wrote: > >> Since cdrecord depends on wodim, from the same source package, it can > >> simply ship a symlink from /usr/share/doc/cdrecord to wodim. > > > > That's precisely what it does. > > Hmmmm. Looking at the contents of a freshly-downloaded cdrecord deb, it > does appear to ship a symlink. However, on my system, I have: > > $ ls -ld /usr/share/doc/cdrecord > drwxr-xr-x 2 root root 4096 2006-09-07 21:01 /usr/share/doc/cdrecord > > The same appears to hold true for the doc directories in the couple of > other packages I filed bugs on. > I have not done anything unusual here. I had the non-dummy packages installed > at one point, and later upgraded to the dummy packages. Have I perhaps run > afoul of some bug concerning the replacement of a directory with a symlink? Yes, the cdrecord package previously shipped /usr/share/doc/cdrecord as a directory, and does not correctly handle the upgrade -- which IIRC involves rm -rf'ing the directory in the preinst of the new package version, so that the symlink can be correctly created in the unpack stage. Cheers, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]