Bug#1846: dselect "disk" access method doesn't like symbolic links
Package: dpkg
I created a symbolic link on my CD /binary -> /debian/debian-0.93/binary
so that "dselect" would be able to find the binary directory as soon as
it started. Unfortunately, the "disk" access method says there are no
packages in "/binary", but it finds packages in "/binary/." . To fix that,
change the "find" invocation in /usr/lib/dpkg/methods/disk/setup to look
like this one:
elif find "$mountpoint$response" -follow -noleaf -name '*.deb' 2>/dev/null | grep . >/dev/null
That is, add the "-follow and -noleaf" flags.
Thanks
Bruce
Reply to: