Bug#3301: dselect: method/disk/install script does not set $binaryprefix for NFS
Package: dpkg
Version: 1.2.3elf
When when dselect and selsecting NFS as the access method, it runs
/usr/lib/dpkg/methods/disk/install, which eventually runs:
dpkg -iGROEB "$binaryprefix$this_binary"
unfortunately, $binaryprefix is unset at this point, so it fails.
Adding the assignment shown below (line 31 of install) solves the problem:
if [ -n "$p_nfs" ]
then
umount="$p_mountpoint"
mount -rt nfs "$p_nfs" -o nosuid,nodev "$p_mountpoint"
+ echo "Overriding binaryprefix (from $binaryprefix, to $p_mountpoint)"
+ binaryprefix=$p_mountpoint
fi
I would imagine that the same needs to be done the ``if [ -n "$p_blockdev" ]''
block just above this, as well.
I am using the Debian1.1-beta as of about a week ago with the 1.99.7 kernel
Cheers, Phil.
Reply to: