Score:1

do-release-upgrade how to continue after choosing D for "Remove obsolete packages?"

cn flag

I was on 20.04, commands I ran on terminal to upgrade :

sudo apt dist-upgrade
sudo apt update
sudo apt dist-upgrade
sudo apt-get install update-manager-core
sudo gedit /etc/update-manager/release-upgrades
do-release-upgrade
sudo apt dist-upgrade 
sudo apt-mark unhold   mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
sudo apt dist-upgrade
sudo apt full-upgrade  
do-release-upgrade

Was asked many questions ... wish we had a way to do a dry run, see all the questions, anwer them in a text file and then start this process, pinting to text file for answers (one line question, next line our answer, if any new questions, that were not found in the dry run - an option to auto default or prompt us)

Anyway was asked:

Reading state information... Done

Remove obsolete packages?

140 packages are going to be removed.

Removing the packages can take several hours.

Continue [yN] Details [d]d

Choose D. showed me the packages and then showed (END), see image

But after seeing the list, was not clear how to resume. Pressed Y (nothing happened), then pressed Esc, then pressed Ctrl-Z, it exited the install process.

Now lsb_release -a says I'm on Ubuntu 21.10 but how do i remove those files? And why did the process exit?

From usability perspective would have helped if it told me how to resume when it showed the choices ...

David avatar
cn flag
Personally i would not use the minus y so I could see what is going on.
tgkprog avatar
cn flag
Yes good observation @david
Score:2
cn flag

You press q to exit that display and continue the do-release-upgrade process.

Remove those orphaned packages using sudo apt autoremove.

You were on the final step of the do-release-upgrade process, so no further action to repair or continue is needed.

Here is the wrong place to make feature requests or complaints; we merely answer questions: File a proper bug about it in order to get the usability improved. Filing a bug takes about as much effort as asking a question here.

tgkprog avatar
cn flag
I agree, not the place bit sometimes get valuable pointers here. Thanks
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.