Is there a way to verify the sanity/consistency/integrity of an Ubuntu system after a release upgrade, particularly if the upgrade process did not go smoothly or did not follow standard/recommended procedure?
1 Answer
particularly if the upgrade process did not go smoothly
Either the upgrade is completed correctly or it will stop with a notice. So no, there is no post upgrade sanity check except for the normal error notice that the upgrade failed.
If you can update your system after the upgrade all can be considered well.
did not follow standard/recommended procedure?
There is no "not follow standard/recommended procedure?".
The method to upgrade from an officially released version to the next officially released version in do-release-upgrade
(or if you do it prior to the official release of the new version it is do-release-upgrade -d
).
-
What if the
do-relase-update
command was interrupted? Do you rerun from the start? is it idempotent? How do you avoid having a franken install that pulls some packages from old repos and some from new ones? Jun 7, 2018 at 12:32 -
"How do you avoid having a franken install that pulls some packages from old repos and some from new ones?" Ehm impossible. The system will refuse to pull in packages from 2 different versions. That is the "broken dependency" error notice you might have seen before. Fixing that error alway includes updating to the newer version. I always do a reinstall en add my personal partition since that is a lot quicker (takes 16m to do a full reinstall. 4m more to install the software I use that is not in the base install ;) )– RinzwindJun 7, 2018 at 13:50
-
What is your procedure for that. I currently have a bunch of files in /etc/apt that still seem set up for zesty Jun 7, 2018 at 15:46
lsb_release -a
, then runsudo apt update && sudo apt upgrade
. Post any errors you get. Beyond that what sort of sanity check do you envision ?