[plug] dpkg --configure errors in post-install scripts

Bernard Blackham bernard at blackham.com.au
Sun Oct 5 18:59:28 WST 2003


On Sun, Oct 05, 2003 at 06:38:30PM +0800, Anne Busby wrote:
> How do I find out why install-keymap does not work (returns 2) with a
> keymap or KERNEL ?

It's a sh script, so you can run it using:
    bash -x /usr/sbin/install-keymap <params>

and it will detail out for you exactly what it does.

The set -e up the top of the script means that it will exit as soon
as it encounters an error, so the exit code of 2 is coming from one
of the commands called within. running it with bash -x will tell you
which.

HTH,

Bernard.

-- 
 Bernard Blackham 
 bernard at blackham dot com dot au
_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list