I have suddenly got problems updating, erasing and instaling RPM-packages on my Fedora 8.
It just hangs there and the only way to release it, is by killing the process from another console or Ctrl-Z.
This problem only seems to occur on RPM-packages that has builtin post-, preinstall/uninstall scripts.
bash# rpm -U -vvvv at-3.1.10-19.fc8.i386.rpm
D: install: %post(at-3.1.10-19.fc8.i386) synchronous scriptlet start
D: install: %post(at-3.1.10-19.fc8.i386) execv(/bin/sh) pid 3257
+ touch /var/spool/at/.SEQ
+ chmod 600 /var/spool/at/.SEQ
+ chown daemon:daemon /var/spool/at/.SEQ
+ /sbin/chkconfig --add atd
This seems to happen on all RPMs that have scripts included. It just sits there, doing nothing..
I have tried to
rm -f /var/lib/rpm/__db*; rpm --rebuilddb
a couple of times, without success.
Running strace on the pid of my hanging rpm process, shows this:
bash# strace -p 3353
Process 3353 attached - interrupt to quit
--- SIG_0 (Unknown signal 0) @ 0 (0) ---
futex(0x9307134, FUTEX_WAIT_PRIVATE, 2,NULL
I've been googling around a lot, but can't find any solution..