hi there-- On 10/08/2014 05:25 PM, jhcha54008 wrote: > Package: debirf > Version: 0.34 > Severity: normal > > Dear Maintainer, > > Installing gpm in a debirf instance results in an error : > > $ debirf make minimal > [ ... ] > $ debirf enter minimal > # apt-get update > # apt-get install gpm > [ ... ] > Unpacking gpm (1.20.4-6.1) ... > E: Sub-process /usr/bin/dpkg returned an error code (1) > > The postinst script tries to set up a link under /dev (lines 51-55 > - gpm version 1.20.4-6.1) : > if [ -n "$repeat_type" ] && [ "$repeat_type" != "none" ]; then > ln -s gpmdata /dev/mouse > else > ln -s ${device#/dev/} /dev/mouse > fi
This strikes me as a bug in gpm more than anything else. almost all systems have a dynamic /dev these days, and creating a new symlink in the postinst script isn't guaranteed to make anything work in the future. gpm will have to be cleverer than that, and it really shouldn't fail to install just because /dev isn't writable at package installation time. Have you tested with debootstrap --fakechroot ? --dkg
signature.asc
Description: OpenPGP digital signature