Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jan 12, 2010 9:08 pm 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
Was in the middle of an apt-get upgrade via SSH, specifically a PHP upgrade that was asking for input, when my internet dropped. I reconnected, but it reports that apt-get is locked, likely waiting for input.

Any suggestions on how to best handle this? I am leary of killing the upgrade thread, not sure what the best approach in a situation like this is.

Thanks!

paul


Top
   
 Post subject:
PostPosted: Wed Jan 13, 2010 5:11 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
Not sure what to do now that it has already happened, but this is why I always use screen when doing updates in the CLI.


Top
   
 Post subject:
PostPosted: Wed Jan 13, 2010 7:23 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
If it's doing configuration, that means the actual installation step is probably done. You can probably kill it (strange that it didn't die on its own, though).

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
 Post subject:
PostPosted: Thu Jan 14, 2010 3:45 am 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
My guessugestion?
Kill the dpkg process, wait a few moments, then kill apt-get or aptitude, whichever you used. Afterwards, dpkg --configure --pending .


Top
   
 Post subject: That did it
PostPosted: Fri Jan 15, 2010 7:18 pm 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
Problem resolved, thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group