Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 514  / 2 Years ago, tue, march 22, 2022, 11:06:26

I am about to do a release upgrade on a 10.04 server to 12.04. I am going to need to do this over SSH, is it advisable to do this in a byobu / screen session in case of any unforeseen disconnects? or will doing this in a screen session bring in an extra layer of improbability?



Thanks.


More From » upgrade

 Answers
3

Okay I have learnt the hard way!, I did a release upgrade over Byobu, It all goes well until later on in the upgrade when the byoubu package itself gets upgraded and then its game over you lose the session.



However



I had to do a few of these upgrades so I ran up a 10.04 LTS VM and this time put byobu on hold via dpkg



# Put byobu on hold with dpkg
sudo su -
echo "byobu hold" | dpkg --set-selections
#check it is on hold
dpkg -l | grep byobu
byobu hold
exit


and ran the release upgrade again. The release upgrade honored the hold and left Byobu alone. afterwards when i was in my new 12.04 system I could release the hold



echo "byobu install" | dpkg --set-selections


and then just install the latest version of byobu



sudo apt-get update && sudo apt-get upgrade

[#33698] Tuesday, March 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
raldership

Total Points: 222
Total Questions: 115
Total Answers: 124

Location: North Korea
Member since Fri, Nov 4, 2022
2 Years ago
;