Score:2

Problem with do-release-upgrade

nc flag

I am currently trying to upgrade from 20.04 LTS to 22.04 LTS, but when I issue the command "do-release-upgrade" I get this message:

"You have not rebooted after updating a package which requires a reboot. Please reboot before upgrading."

However I have rebooted, more than once since I first got the message, so I'm guessing that there must be a file or configuration file setting somewhere that was written but not removed afterwards. Would anyone know what that would happen to be?..

Organic Marble avatar
us flag
You can do `cat /var/run/reboot-required.pkgs` to see what it thinks requires a reboot
uz flag
Jos
@OrganicMarble I think the file is `/var/run/reboot-required` (without `.pkgs`)
Organic Marble avatar
us flag
@Jos what I wrote is what I do (20.04)
eltopo avatar
nc flag
That resolved it, thank you very much! both files exist. The reboot-required file is the one that prevents do-release-upgrade from running, the other one contains information on the packages that cause the reboot requirement.
pierrely avatar
cn flag
would be worth putting in as an answer?
I sit in a Tesla and translated this thread with Ai:

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.