On Wed, 2008-08-13 at 09:08 +0200, Aniruddha wrote: > Thanks, I'm beginning to understand now. To make it more concrete I've > written down what I think is the correct procedure to check deb files: > > 1) Run 'dpkg-deb -e *.deb' and read postinst, postrm, preinst, prerm to > check if it contains the sentence '/etc'. > > 2) Run 'dpkg-deb -x *.deb' and check if doesn't overwrite anything in > ' /etc' (or other important locations). > > Is this correct? Thanks! >
I've also tried the dpkg --instdir= and --root=/ options in combination with fakeroot but this didn't work :( > # dpkg --instdir=/home/aniruddha/Programs -i nerolinux-3.5.1.0-x86.deb > dpkg: `ldconfig' not found on PATH. > dpkg: `start-stop-daemon' not found on PATH. > dpkg: `install-info' not found on PATH. > dpkg: `update-rc.d' not found on PATH. > dpkg: 4 expected program(s) not found on PATH. > NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. -- Regards, Aniruddha -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]