How do I reattach to Ubuntu Server's 'do-release-upgrade' process?Ubuntu Server upgrade over SSH hangUbuntu - upgrade distribution to specific releaseUbuntu: setting timeout value on do-release-upgrade?Ubuntu: remotely disable upgrade?do-release-upgrade -d Ubuntu 13.10 -> 14.04 failingDpkg: After comparing config files, how do I revert back to make my choice?do-release-upgrade skipped a version - how to specify a release?EC2 Ubuntu 12.04 refuses do-release-upgradeSo how do I force upgrade from Ubuntu LTS to the next LTS without waiting for the point release?about do-release-upgrade on ubuntu server ltsUbuntu 14.04 (on linode) not doing “do-release-upgrade”
In Dutch history two people are referred to as "William III"; are there any more cases where this happens?
Combining two Lorentz boosts
How to get all possible paths in 0/1 matrix better way?
FIFO data structure in pure C
What animals or plants were used to illustrate ideas of physics?
When did Britain learn about the American Declaration of Independence?
How would fantasy dwarves exist, realistically?
Is my company merging branches wrong?
on the truth quest vs in the quest for truth
Can I get the output of a command line program with TeX (using e.g. read18)?
How can sister protect herself from impulse purchases with a credit card?
Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?
Have GoT's showrunners reacted to the poor reception of the final season?
Error when running ((x++)) as root
Shortest amud or daf in Shas?
how to create an executable file for an AppleScript?
What do you call bracelets you wear around the legs?
Can I pay my credit card?
How do you cope with rejection?
Is it a good idea to teach algorithm courses using pseudocode?
Hotel booking: Why is Agoda much cheaper than booking.com?
Cathy’s Composite party is powered by three Prime Pals. Can you find them?
Windows reverting changes made by Linux to FAT32 partion
How do we explain the use of a software on a math paper?
How do I reattach to Ubuntu Server's 'do-release-upgrade' process?
Ubuntu Server upgrade over SSH hangUbuntu - upgrade distribution to specific releaseUbuntu: setting timeout value on do-release-upgrade?Ubuntu: remotely disable upgrade?do-release-upgrade -d Ubuntu 13.10 -> 14.04 failingDpkg: After comparing config files, how do I revert back to make my choice?do-release-upgrade skipped a version - how to specify a release?EC2 Ubuntu 12.04 refuses do-release-upgradeSo how do I force upgrade from Ubuntu LTS to the next LTS without waiting for the point release?about do-release-upgrade on ubuntu server ltsUbuntu 14.04 (on linode) not doing “do-release-upgrade”
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I accidentally pressed Ctrl+C during Ubuntu Server's do-release-upgrade
process. I'd dropped to a shell to compare a .conf file in /etc/. When I pressed Ctrl-C, it asked whether I wanted to try to reattach to the upgrade process, but it failed to do so.
So I quit, and now there's a hanging dpkg process which is holding onto the apt lock. This is a virtualised server with no GUI frontend...
Is it possible to recover the upgrade process, or do I have to kill the dpkg process and start again?
ubuntu upgrade
add a comment |
I accidentally pressed Ctrl+C during Ubuntu Server's do-release-upgrade
process. I'd dropped to a shell to compare a .conf file in /etc/. When I pressed Ctrl-C, it asked whether I wanted to try to reattach to the upgrade process, but it failed to do so.
So I quit, and now there's a hanging dpkg process which is holding onto the apt lock. This is a virtualised server with no GUI frontend...
Is it possible to recover the upgrade process, or do I have to kill the dpkg process and start again?
ubuntu upgrade
2
Does screen -list still list the upgrade process? If so, screen -r might reattach it again. What was the exact error when trying to reattach?
– arjarj
May 9 '12 at 18:50
I later triedscreen -RD
, but it didn't work. There wasn't any screen daemon running, so there was nothing to re-connect to. Exact error? I had a choice of 'r' or 'q' I think (reconnect or quit) at the bottom of a curses-like app. Sorry, I can't be more helpful than that. I was using VirtualBox, and without a tmux or screen session running I had no scrollback and the curses-like interface kept clearing the screen. Reconnect didn't work, so I just quit.
– Alex Leach
May 9 '12 at 20:46
1
I should add that I did tryscreen -R -D
as both sudo user and my normal user..
– Alex Leach
May 9 '12 at 20:48
possible duplicate of Ubuntu Server upgrade over SSH hang
– Michael Hampton♦
Sep 13 '12 at 9:52
2
Yes!dpkg configure -a
is the right answer. That happened to me and the really bad thing was that bind9 was not correctly setup (i.e. the Ctrl-C must have stopped that process and it couldn't start anymore!) Once I fixed bind9 then the apt-get update + upgrade + dist-upgrade ran like a charm and after that I rebooted and it all worked.
– Alexis Wilke
Oct 7 '12 at 16:34
add a comment |
I accidentally pressed Ctrl+C during Ubuntu Server's do-release-upgrade
process. I'd dropped to a shell to compare a .conf file in /etc/. When I pressed Ctrl-C, it asked whether I wanted to try to reattach to the upgrade process, but it failed to do so.
So I quit, and now there's a hanging dpkg process which is holding onto the apt lock. This is a virtualised server with no GUI frontend...
Is it possible to recover the upgrade process, or do I have to kill the dpkg process and start again?
ubuntu upgrade
I accidentally pressed Ctrl+C during Ubuntu Server's do-release-upgrade
process. I'd dropped to a shell to compare a .conf file in /etc/. When I pressed Ctrl-C, it asked whether I wanted to try to reattach to the upgrade process, but it failed to do so.
So I quit, and now there's a hanging dpkg process which is holding onto the apt lock. This is a virtualised server with no GUI frontend...
Is it possible to recover the upgrade process, or do I have to kill the dpkg process and start again?
ubuntu upgrade
ubuntu upgrade
edited Oct 14 '16 at 16:21
JonTheNiceGuy
77357
77357
asked May 9 '12 at 17:18
Alex LeachAlex Leach
7021813
7021813
2
Does screen -list still list the upgrade process? If so, screen -r might reattach it again. What was the exact error when trying to reattach?
– arjarj
May 9 '12 at 18:50
I later triedscreen -RD
, but it didn't work. There wasn't any screen daemon running, so there was nothing to re-connect to. Exact error? I had a choice of 'r' or 'q' I think (reconnect or quit) at the bottom of a curses-like app. Sorry, I can't be more helpful than that. I was using VirtualBox, and without a tmux or screen session running I had no scrollback and the curses-like interface kept clearing the screen. Reconnect didn't work, so I just quit.
– Alex Leach
May 9 '12 at 20:46
1
I should add that I did tryscreen -R -D
as both sudo user and my normal user..
– Alex Leach
May 9 '12 at 20:48
possible duplicate of Ubuntu Server upgrade over SSH hang
– Michael Hampton♦
Sep 13 '12 at 9:52
2
Yes!dpkg configure -a
is the right answer. That happened to me and the really bad thing was that bind9 was not correctly setup (i.e. the Ctrl-C must have stopped that process and it couldn't start anymore!) Once I fixed bind9 then the apt-get update + upgrade + dist-upgrade ran like a charm and after that I rebooted and it all worked.
– Alexis Wilke
Oct 7 '12 at 16:34
add a comment |
2
Does screen -list still list the upgrade process? If so, screen -r might reattach it again. What was the exact error when trying to reattach?
– arjarj
May 9 '12 at 18:50
I later triedscreen -RD
, but it didn't work. There wasn't any screen daemon running, so there was nothing to re-connect to. Exact error? I had a choice of 'r' or 'q' I think (reconnect or quit) at the bottom of a curses-like app. Sorry, I can't be more helpful than that. I was using VirtualBox, and without a tmux or screen session running I had no scrollback and the curses-like interface kept clearing the screen. Reconnect didn't work, so I just quit.
– Alex Leach
May 9 '12 at 20:46
1
I should add that I did tryscreen -R -D
as both sudo user and my normal user..
– Alex Leach
May 9 '12 at 20:48
possible duplicate of Ubuntu Server upgrade over SSH hang
– Michael Hampton♦
Sep 13 '12 at 9:52
2
Yes!dpkg configure -a
is the right answer. That happened to me and the really bad thing was that bind9 was not correctly setup (i.e. the Ctrl-C must have stopped that process and it couldn't start anymore!) Once I fixed bind9 then the apt-get update + upgrade + dist-upgrade ran like a charm and after that I rebooted and it all worked.
– Alexis Wilke
Oct 7 '12 at 16:34
2
2
Does screen -list still list the upgrade process? If so, screen -r might reattach it again. What was the exact error when trying to reattach?
– arjarj
May 9 '12 at 18:50
Does screen -list still list the upgrade process? If so, screen -r might reattach it again. What was the exact error when trying to reattach?
– arjarj
May 9 '12 at 18:50
I later tried
screen -RD
, but it didn't work. There wasn't any screen daemon running, so there was nothing to re-connect to. Exact error? I had a choice of 'r' or 'q' I think (reconnect or quit) at the bottom of a curses-like app. Sorry, I can't be more helpful than that. I was using VirtualBox, and without a tmux or screen session running I had no scrollback and the curses-like interface kept clearing the screen. Reconnect didn't work, so I just quit.– Alex Leach
May 9 '12 at 20:46
I later tried
screen -RD
, but it didn't work. There wasn't any screen daemon running, so there was nothing to re-connect to. Exact error? I had a choice of 'r' or 'q' I think (reconnect or quit) at the bottom of a curses-like app. Sorry, I can't be more helpful than that. I was using VirtualBox, and without a tmux or screen session running I had no scrollback and the curses-like interface kept clearing the screen. Reconnect didn't work, so I just quit.– Alex Leach
May 9 '12 at 20:46
1
1
I should add that I did try
screen -R -D
as both sudo user and my normal user..– Alex Leach
May 9 '12 at 20:48
I should add that I did try
screen -R -D
as both sudo user and my normal user..– Alex Leach
May 9 '12 at 20:48
possible duplicate of Ubuntu Server upgrade over SSH hang
– Michael Hampton♦
Sep 13 '12 at 9:52
possible duplicate of Ubuntu Server upgrade over SSH hang
– Michael Hampton♦
Sep 13 '12 at 9:52
2
2
Yes!
dpkg configure -a
is the right answer. That happened to me and the really bad thing was that bind9 was not correctly setup (i.e. the Ctrl-C must have stopped that process and it couldn't start anymore!) Once I fixed bind9 then the apt-get update + upgrade + dist-upgrade ran like a charm and after that I rebooted and it all worked.– Alexis Wilke
Oct 7 '12 at 16:34
Yes!
dpkg configure -a
is the right answer. That happened to me and the really bad thing was that bind9 was not correctly setup (i.e. the Ctrl-C must have stopped that process and it couldn't start anymore!) Once I fixed bind9 then the apt-get update + upgrade + dist-upgrade ran like a charm and after that I rebooted and it all worked.– Alexis Wilke
Oct 7 '12 at 16:34
add a comment |
3 Answers
3
active
oldest
votes
I usually do release upgrades over VPN, so I've tried this a few times. Whenever it updates my openvpn package I lose connection, so I reconnect afterwards.
do-release-upgrade
starts a backup SSH session on port 1022 and a backup screen session. If you do not have screen installed this will NOT be available.
You can get the screen session by running:
sudo screen -list
There is a screen on:
2953.ubuntu-release-upgrade-screen-window (09/13/2012 04:48:02 AM) (Detached)
1 Socket in /var/run/screen/S-root.
Then to reattach do:
sudo screen -d -r root/2953.ubuntu-release-upgrade-screen-window
Using the previously listed screen after root/
You should be back to where you lost connection.
I dont have screen installed... and i cannot install one with apt-get (file locked)
– inemanja
Apr 27 at 17:18
This is extremely helpful. It might be an even better answer if you just added short mention thatdo-release-upgrade
indeed automatically starts a screen session (you had me reread the question for a second to look for any mention of having started the upgrade process viascreen
)
– polynomial_donut
May 3 at 6:23
I'm amazed this question keeps getting +1s it's so old
– Alex R
May 6 at 8:39
add a comment |
I had the same issue while upgrading to quantal. Unfortunately for me, like the original poster, the screen was killed as well because of ctrl+c.
Killing the dpkg and restarting it with "--configure -a" solved the problem.
Thanks
Thank you thank you thank you. This worked for me.
– firebush
Apr 23 '18 at 19:45
add a comment |
I'm more of a CentOS / RHEL person myself but in my experience you're pretty much always better of killing and starting the process over. The downloads, syncs, etc should already be complete and not need to be redone. Since that is what takes the majority of time there shouldn't be much lost going this route.
Yea, there's not much else that can be done I think. I could probably have used reptyr to reattach to the pty/tty (I never know the difference), but it's easier starting from scratch. And you're right; it's much quicker the second time round!
– Alex Leach
May 9 '12 at 17:48
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f387547%2fhow-do-i-reattach-to-ubuntu-servers-do-release-upgrade-process%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I usually do release upgrades over VPN, so I've tried this a few times. Whenever it updates my openvpn package I lose connection, so I reconnect afterwards.
do-release-upgrade
starts a backup SSH session on port 1022 and a backup screen session. If you do not have screen installed this will NOT be available.
You can get the screen session by running:
sudo screen -list
There is a screen on:
2953.ubuntu-release-upgrade-screen-window (09/13/2012 04:48:02 AM) (Detached)
1 Socket in /var/run/screen/S-root.
Then to reattach do:
sudo screen -d -r root/2953.ubuntu-release-upgrade-screen-window
Using the previously listed screen after root/
You should be back to where you lost connection.
I dont have screen installed... and i cannot install one with apt-get (file locked)
– inemanja
Apr 27 at 17:18
This is extremely helpful. It might be an even better answer if you just added short mention thatdo-release-upgrade
indeed automatically starts a screen session (you had me reread the question for a second to look for any mention of having started the upgrade process viascreen
)
– polynomial_donut
May 3 at 6:23
I'm amazed this question keeps getting +1s it's so old
– Alex R
May 6 at 8:39
add a comment |
I usually do release upgrades over VPN, so I've tried this a few times. Whenever it updates my openvpn package I lose connection, so I reconnect afterwards.
do-release-upgrade
starts a backup SSH session on port 1022 and a backup screen session. If you do not have screen installed this will NOT be available.
You can get the screen session by running:
sudo screen -list
There is a screen on:
2953.ubuntu-release-upgrade-screen-window (09/13/2012 04:48:02 AM) (Detached)
1 Socket in /var/run/screen/S-root.
Then to reattach do:
sudo screen -d -r root/2953.ubuntu-release-upgrade-screen-window
Using the previously listed screen after root/
You should be back to where you lost connection.
I dont have screen installed... and i cannot install one with apt-get (file locked)
– inemanja
Apr 27 at 17:18
This is extremely helpful. It might be an even better answer if you just added short mention thatdo-release-upgrade
indeed automatically starts a screen session (you had me reread the question for a second to look for any mention of having started the upgrade process viascreen
)
– polynomial_donut
May 3 at 6:23
I'm amazed this question keeps getting +1s it's so old
– Alex R
May 6 at 8:39
add a comment |
I usually do release upgrades over VPN, so I've tried this a few times. Whenever it updates my openvpn package I lose connection, so I reconnect afterwards.
do-release-upgrade
starts a backup SSH session on port 1022 and a backup screen session. If you do not have screen installed this will NOT be available.
You can get the screen session by running:
sudo screen -list
There is a screen on:
2953.ubuntu-release-upgrade-screen-window (09/13/2012 04:48:02 AM) (Detached)
1 Socket in /var/run/screen/S-root.
Then to reattach do:
sudo screen -d -r root/2953.ubuntu-release-upgrade-screen-window
Using the previously listed screen after root/
You should be back to where you lost connection.
I usually do release upgrades over VPN, so I've tried this a few times. Whenever it updates my openvpn package I lose connection, so I reconnect afterwards.
do-release-upgrade
starts a backup SSH session on port 1022 and a backup screen session. If you do not have screen installed this will NOT be available.
You can get the screen session by running:
sudo screen -list
There is a screen on:
2953.ubuntu-release-upgrade-screen-window (09/13/2012 04:48:02 AM) (Detached)
1 Socket in /var/run/screen/S-root.
Then to reattach do:
sudo screen -d -r root/2953.ubuntu-release-upgrade-screen-window
Using the previously listed screen after root/
You should be back to where you lost connection.
edited May 6 at 8:45
answered Sep 13 '12 at 9:17
Alex RAlex R
1,41321214
1,41321214
I dont have screen installed... and i cannot install one with apt-get (file locked)
– inemanja
Apr 27 at 17:18
This is extremely helpful. It might be an even better answer if you just added short mention thatdo-release-upgrade
indeed automatically starts a screen session (you had me reread the question for a second to look for any mention of having started the upgrade process viascreen
)
– polynomial_donut
May 3 at 6:23
I'm amazed this question keeps getting +1s it's so old
– Alex R
May 6 at 8:39
add a comment |
I dont have screen installed... and i cannot install one with apt-get (file locked)
– inemanja
Apr 27 at 17:18
This is extremely helpful. It might be an even better answer if you just added short mention thatdo-release-upgrade
indeed automatically starts a screen session (you had me reread the question for a second to look for any mention of having started the upgrade process viascreen
)
– polynomial_donut
May 3 at 6:23
I'm amazed this question keeps getting +1s it's so old
– Alex R
May 6 at 8:39
I dont have screen installed... and i cannot install one with apt-get (file locked)
– inemanja
Apr 27 at 17:18
I dont have screen installed... and i cannot install one with apt-get (file locked)
– inemanja
Apr 27 at 17:18
This is extremely helpful. It might be an even better answer if you just added short mention that
do-release-upgrade
indeed automatically starts a screen session (you had me reread the question for a second to look for any mention of having started the upgrade process via screen
)– polynomial_donut
May 3 at 6:23
This is extremely helpful. It might be an even better answer if you just added short mention that
do-release-upgrade
indeed automatically starts a screen session (you had me reread the question for a second to look for any mention of having started the upgrade process via screen
)– polynomial_donut
May 3 at 6:23
I'm amazed this question keeps getting +1s it's so old
– Alex R
May 6 at 8:39
I'm amazed this question keeps getting +1s it's so old
– Alex R
May 6 at 8:39
add a comment |
I had the same issue while upgrading to quantal. Unfortunately for me, like the original poster, the screen was killed as well because of ctrl+c.
Killing the dpkg and restarting it with "--configure -a" solved the problem.
Thanks
Thank you thank you thank you. This worked for me.
– firebush
Apr 23 '18 at 19:45
add a comment |
I had the same issue while upgrading to quantal. Unfortunately for me, like the original poster, the screen was killed as well because of ctrl+c.
Killing the dpkg and restarting it with "--configure -a" solved the problem.
Thanks
Thank you thank you thank you. This worked for me.
– firebush
Apr 23 '18 at 19:45
add a comment |
I had the same issue while upgrading to quantal. Unfortunately for me, like the original poster, the screen was killed as well because of ctrl+c.
Killing the dpkg and restarting it with "--configure -a" solved the problem.
Thanks
I had the same issue while upgrading to quantal. Unfortunately for me, like the original poster, the screen was killed as well because of ctrl+c.
Killing the dpkg and restarting it with "--configure -a" solved the problem.
Thanks
answered Dec 3 '12 at 0:05
Arul SelvanArul Selvan
1,1101111
1,1101111
Thank you thank you thank you. This worked for me.
– firebush
Apr 23 '18 at 19:45
add a comment |
Thank you thank you thank you. This worked for me.
– firebush
Apr 23 '18 at 19:45
Thank you thank you thank you. This worked for me.
– firebush
Apr 23 '18 at 19:45
Thank you thank you thank you. This worked for me.
– firebush
Apr 23 '18 at 19:45
add a comment |
I'm more of a CentOS / RHEL person myself but in my experience you're pretty much always better of killing and starting the process over. The downloads, syncs, etc should already be complete and not need to be redone. Since that is what takes the majority of time there shouldn't be much lost going this route.
Yea, there's not much else that can be done I think. I could probably have used reptyr to reattach to the pty/tty (I never know the difference), but it's easier starting from scratch. And you're right; it's much quicker the second time round!
– Alex Leach
May 9 '12 at 17:48
add a comment |
I'm more of a CentOS / RHEL person myself but in my experience you're pretty much always better of killing and starting the process over. The downloads, syncs, etc should already be complete and not need to be redone. Since that is what takes the majority of time there shouldn't be much lost going this route.
Yea, there's not much else that can be done I think. I could probably have used reptyr to reattach to the pty/tty (I never know the difference), but it's easier starting from scratch. And you're right; it's much quicker the second time round!
– Alex Leach
May 9 '12 at 17:48
add a comment |
I'm more of a CentOS / RHEL person myself but in my experience you're pretty much always better of killing and starting the process over. The downloads, syncs, etc should already be complete and not need to be redone. Since that is what takes the majority of time there shouldn't be much lost going this route.
I'm more of a CentOS / RHEL person myself but in my experience you're pretty much always better of killing and starting the process over. The downloads, syncs, etc should already be complete and not need to be redone. Since that is what takes the majority of time there shouldn't be much lost going this route.
answered May 9 '12 at 17:43
Tim BrighamTim Brigham
13.5k75098
13.5k75098
Yea, there's not much else that can be done I think. I could probably have used reptyr to reattach to the pty/tty (I never know the difference), but it's easier starting from scratch. And you're right; it's much quicker the second time round!
– Alex Leach
May 9 '12 at 17:48
add a comment |
Yea, there's not much else that can be done I think. I could probably have used reptyr to reattach to the pty/tty (I never know the difference), but it's easier starting from scratch. And you're right; it's much quicker the second time round!
– Alex Leach
May 9 '12 at 17:48
Yea, there's not much else that can be done I think. I could probably have used reptyr to reattach to the pty/tty (I never know the difference), but it's easier starting from scratch. And you're right; it's much quicker the second time round!
– Alex Leach
May 9 '12 at 17:48
Yea, there's not much else that can be done I think. I could probably have used reptyr to reattach to the pty/tty (I never know the difference), but it's easier starting from scratch. And you're right; it's much quicker the second time round!
– Alex Leach
May 9 '12 at 17:48
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f387547%2fhow-do-i-reattach-to-ubuntu-servers-do-release-upgrade-process%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Does screen -list still list the upgrade process? If so, screen -r might reattach it again. What was the exact error when trying to reattach?
– arjarj
May 9 '12 at 18:50
I later tried
screen -RD
, but it didn't work. There wasn't any screen daemon running, so there was nothing to re-connect to. Exact error? I had a choice of 'r' or 'q' I think (reconnect or quit) at the bottom of a curses-like app. Sorry, I can't be more helpful than that. I was using VirtualBox, and without a tmux or screen session running I had no scrollback and the curses-like interface kept clearing the screen. Reconnect didn't work, so I just quit.– Alex Leach
May 9 '12 at 20:46
1
I should add that I did try
screen -R -D
as both sudo user and my normal user..– Alex Leach
May 9 '12 at 20:48
possible duplicate of Ubuntu Server upgrade over SSH hang
– Michael Hampton♦
Sep 13 '12 at 9:52
2
Yes!
dpkg configure -a
is the right answer. That happened to me and the really bad thing was that bind9 was not correctly setup (i.e. the Ctrl-C must have stopped that process and it couldn't start anymore!) Once I fixed bind9 then the apt-get update + upgrade + dist-upgrade ran like a charm and after that I rebooted and it all worked.– Alexis Wilke
Oct 7 '12 at 16:34