Forum: 

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.

Thanks,

noamcb
 

Alon Swartz's picture

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

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