Well, what I can see is that setup.exe is leaving dead bash and sh processes around if you cancel this. The post-install and pre-remove scripts both work fine if run from a bash prompt.
I changed /etc/postinstall/XFree86-bin-icons.sh to pass '-x' to sh and looked at the log file in /var/log/, which I have been asked to do. It contained exactly the following:
+ /usr/X11R6/bin/XFree86-bin-icons.sh
/etc/postinstall/XFree86-bin-icons.sh isn't all that complex either (the following differs from the official package, I have stripped the comment line, just in case it was causing a problem):
#!/bin/sh -x
/usr/X11R6/bin/XFree86-bin-icons.sh
Setup still borked on the above script. Note that /usr/X11R6/bin/XFree86-bin-icons.sh does have execute permissions and /var/log/setup.log.full.
I have tried changing the postinstall script to the following, just in case there was some sort of side-effect of running our bash script from an sh-launched bash shell (not likely, but wanted to rule it out):
#!/bin/bash -x
bash -c /usr/X11R6/bin/XFree86-bin-icons.sh
I guess the next step is that I am going to add some print-outs to /usr/X11R6/bin/XFree86-bin-icons.sh so that I can figure out if it is looping endlessly or trying to return.
Harold
Chris January wrote:
Setup (2.415) hangs when uninstalling XFree86-bin-icons. What can I do to find out why?
Chris
-- http://www.atomice.com
