help!!! apt-get dist-upgrade
Hi Everyone,
I'm not having much luck finding a solution to this problem.
I kicked off apt-get update then apt-get dist-upgrade, however I was ssh'ed into the box when I did this. Becuase the connect is flakey, the ssh connection reset, so the last thing apt-get dist-upgrade has showing was a prompt.
Now I have ssh'ed back to the box. How can I basically reconnect to the process and issue the Y to go ahead and complete the upgrade?
I'd rather not kill it unless it's safe to do so.
A ps aux | grep apt shows the process still there.
Thanks,
Pete.
Signature · 3 lines
Due to a lack of imagination, this signature will remain under construction indefinitely.
Quoted 2 lines · Peter Lavender
Now I have ssh'ed back to the box. How can I basically reconnect to the process and issue the Y to go ahead and complete the upgrade?
You can't really. Next time, after you login, run "screen". Then, when something like this happens, use "screen -D -r" to logout the old session and reattach it to your current terminal.
Quoted 1 line
I'd rather not kill it unless it's safe to do so.
It should be. Apt is very good about just picking up where it left off on the next run.
Steve
Signature · 3 lines
[email protected] | Southern Illinois Linux Users Group (618)398-7360 | See web site for meeting details. Steven Pritchard | http://www.silug.org/
Quoted 7 lines · * Steven Pritchard ([email protected]) wrote:
Quoted 2 lines · Peter Lavender
Now I have ssh'ed back to the box. How can I basically reconnect to the process and issue the Y to go ahead and complete the upgrade?
You can't really. Next time, after you login, run "screen". Then, when something like this happens, use "screen -D -r" to logout the old session and reattach it to your current terminal.
Belive it or not, but I usually use screen, however this time I just logged in a start the apt processes.
Quoted 4 lines
Quoted 1 line
I'd rather not kill it unless it's safe to do so.
It should be. Apt is very good about just picking up where it left off on the next run.
Where is what I ended up doing and apt did the irght thing. Very encouraging. :)
Thanks.
Regards,
Pete.
Signature · 3 lines
Due to a lack of imagination, this signature will remain under construction indefinitely.