TurnKey Linux Virtual Appliance Library

Update fails/stalls

noamcb's picture

First and foremost, thanks for the great service, huge timesaver :)

I installed the Trac on vps and I am unable to update or upgrade using apt-get.

This is the output on my machine:

root@kb:~# apt-get update
Hit http://archive.ubuntu.com hardy-security Release.gpg
Hit http://archive.ubuntu.com hardy Release.gpg                                                                       
Hit http://archive.ubuntu.com hardy-updates Release.gpg                                                               
Hit http://archive.ubuntu.com hardy-security Release                                                                  
Hit http://archive.ubuntu.com hardy Release                                                                           
Hit http://archive.ubuntu.com hardy-updates Release                                                                                        
Hit http://archive.ubuntu.com hardy-security/main Packages                                                                                 
Hit http://archive.ubuntu.com hardy-security/universe Packages                                                        
Hit http://archive.ubuntu.com hardy/main Packages                                               
Hit http://archive.ubuntu.com hardy/universe Packages                                           
Hit http://archive.ubuntu.com hardy-updates/main Packages                                       
Hit http://archive.ubuntu.com hardy-updates/universe Packages                                                         
Hit http://archive.turnkeylinux.org hardy-security Release.gpg                                                        
Hit http://archive.turnkeylinux.org hardy Release.gpg                                           
Hit http://security.debian.org lenny/updates Release.gpg                                        
Hit http://security.debian.org lenny/updates Release        
Hit http://security.debian.org lenny/updates/main Packages  
Hit http://archive.turnkeylinux.org hardy-security Release
Hit http://archive.turnkeylinux.org hardy Release                               
Hit http://archive.turnkeylinux.org hardy-security/main Packages                
Hit http://archive.turnkeylinux.org hardy-security/universe Packages
Hit http://archive.turnkeylinux.org hardy/main Packages     
Hit http://archive.turnkeylinux.org hardy/universe Packages
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

  When calling dpkg --configure -a:

root@kb:~#  dpkg --configure -a
Setting up webmin (1.490-turnkey+1+ga06198f) ...

And the terminal freezes...

Any suggestions would be appreciated.



Alon Swartz's picture

I cannot reproduce this

I just installed a clean trac-2009.10 from iso, and issued the below commands. Both the update and upgrade succeed. Did you issue a ctrl-c during the upgrade?
apt-get update
apt-get -y upgrade
NoamCB's picture

Re-installed the node

Since the machine was virtually clean, I reinstalled the node and the update worked fine.

Upgrade on the other hand is stuck on update-initramfs (over 2 hours)

Could this be due to low system resources (one vps.net node)?

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)