On Fri, 23 Jan 2009 10:29:50 +0000 (UTC) Erik Schanze <schanzi_usenet@gmx.de> wrote: > > 1. for some reason, when grip-config is unpacked, empty directories > > that exist in the package (not just in the postinst) are not created. > > /usr/share/info /usr/share/man/man1 and /usr/share/man/man8 > > are required. grip-config might have to have some pointless files in > > those directories. > > > I tried to setup a GRIP chroot via debootstrap with command: > sudo debootstrap lenny /opt/emdebian-grip/ http://www.emdebian.org/grip/ > > Firstly it failed because /usr/share/info didn't exists in the chroot. > I created the dir and the bootstrap went further, but broke again with > failure: The fix has exactly the same fix - create the missing directories - as in the item above, create /usr/share/man/man1 in the chroot and /usr/share/man/man8 for the same reasons. > sudo chroot /opt/emdebian-grip dpkg --force-depends --install > var/cache/apt/archives/mawk_1.3.3-11.1em1_i386.deb > update-alternatives: unable to make /usr/share/man/man1/nawk.1.gz.dpkg-tmp a > symlink to /etc/alternatives/nawk.1.gz: No such file or directory Check that you have grip-config properly installed - you can probably just mangle /usr/sbin/update-alternatives to exit(0) instead of exit(2) in the quit subfunction - this is the effect of what the grip-config replacement script does. > Could you please do a test on setup a GRIP chroot and provide > information how it could be reached successfully? See the rest of this thread, my prior messages indicate that things are a little unstable in Grip right now and I won't have time to put a complete fix into place until some time next week. Take a look at the grip-config package and try to force what the package should normally do until such time as I can sort it out properly by updating grip-config. Also, take a look at balloon3-config (via the Emdebian repositories) as a source package - it's the predecessor of grip-config but a little too specialised for the balloon3 board for general usage, hence grip-config. (Don't install balloon3-config on machines that are not actually a balloon3. This was a problem in original debootstraps from Grip.) -- Neil Williams ============= http://www.data-freedom.org/ http://www.linux.codehelp.co.uk/ http://e-mail.is-not-s.ms/
Attachment:
pgpa4eD2nwSI7.pgp
Description: PGP signature