Hello, Jamie!
I was installing webmin today in a chroot, and noticed the postinst script would never end. Searching more deeply, I found that run-postinstalls.pl is the one that freezes.
By saying "freeze", I mean the script just stays there without doing anything. Then I kill it and dpkg returns an error.
I have put "-W" in the perl shebang to see where it freezes. So, attached is the output of run-postinstalls.pl, and the last line is where it sits without doing anything.
Best regards!
Teresa e Junior
Forgot the magic words: webmin_1.550_all.deb on Debian Squeeze (stable)
Same problem here with webmin 1.550 on debian 5.08
Perl -W isn't showing too much useful information, only compile-time warnings.
Could you install attach the output from the command pstree -l -p when postinstall.pl is running? That will show what sub-process it is waiting on ..
Hello, Jamie!
I left the postins and went for a coffee. When I returned Webmin was successfully installed..!
I've attached the output of pstree as requested. The first attachment is from running `dpkg --configure -a'. The other is from `( cd /usr/share/webmin; WEBMIN_CONFIG=/etc/webmin WEBMIN_VAR=/var/webmin /usr/share/webmin/run-postinstalls.pl )'
Thank you!
dpkg --reconfigure -a
( cd /usr/share/webmin; WEBMIN_CONFIG=/etc/webmin WEBMIN_VAR=/var/webmin /usr/share/webmin/run-postinstalls.pl )
Interesting, looks like it was taking a long time to run something like "apt-get update" to refresh the list of available packages. This isn't surprising actually ..