Menu

#3904 Debian postinst freezes

open
nobody
None
5
2011-05-02
2011-05-02
No

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

Discussion

  • Teresa e Junior

    Teresa e Junior - 2011-05-02
     
  • Teresa e Junior

    Teresa e Junior - 2011-05-02

    Forgot the magic words: webmin_1.550_all.deb on Debian Squeeze (stable)

     
  • Nobody/Anonymous

    Same problem here with webmin 1.550 on debian 5.08

     
  • Jamie Cameron

    Jamie Cameron - 2011-05-02

    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 ..

     
  • Teresa e Junior

    Teresa e Junior - 2011-05-04

    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!

     
  • Teresa e Junior

    Teresa e Junior - 2011-05-04

    dpkg --reconfigure -a

     
  • Teresa e Junior

    Teresa e Junior - 2011-05-04

    ( cd /usr/share/webmin; WEBMIN_CONFIG=/etc/webmin WEBMIN_VAR=/var/webmin /usr/share/webmin/run-postinstalls.pl )

     
  • Jamie Cameron

    Jamie Cameron - 2011-05-04

    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 ..

     

Log in to post a comment.

Auth0 Logo