dist-upgrade failed in many unpredictabl ways
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
I haven't find a better place to report my experience, without any doubts the worst dist-upgrade since 8 years. I have finally fixed everything but it was a real pain. I will describe here what went wrong, in the hope that the next dist-upgrade will be better.
- I have launched the upgrade from command line apt dist-upgrade as the GUI tool was not doing nothing, not event reporting a message. There was a packet holding back, I have uninstalled it with synaptic and then apt dist-upgrade started
- The boot failed. I have looked in the log and an apparmor profile was blocking the boot, because one file could not be parsed. The error was in the mysql file that can not be parsed. I have moved this in another folder and this error message was gone.
- Still the boot did not start. I was thinking that maybe some package is misconfigured, I have run apt update but there was no internet connection, and ifconfig was telling me that net-tools were not installed. I have entered rescue mode, I have re-anabled the networking, then check the dependency, and then the boot started.
- But still, the computer was booting just in rescue mode. I have looked into the logs (because the journalctl command was not reporting any failure) and I have seen that a partition could not be found. It was an nfts partition that I have created to share data between ubuntu and windows (I have a dual boot installation). I have commented out that line in /etc/fstab and it worked. But stil I did not understand why it can not be read anymore. ntfs-3g and fuse are installed, it should work as before.
Anyway, to recap:
1) graphical upgrade tool was not able to report which package was holding back the upgrade process
2)the mysql file in snap can not be parsed and that blocked the boot, measure a bit too excessive IMHO
3)network was unreacheable because some basic programs were uninstalled
4)NFTS partition was unreadable and the journalctl command, was not reporting the name of the failed partition
Now everything works again and looks good, except the nfts partition. I do not think this is the right place were to report my upgrade experience, but I think it might be helpful to improve our beloved Ubuntu.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.15.0-58-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 16 09:52:14 2023
InstallationDate: Installed on 2017-12-02 (1870 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
PackageArchitec
SourcePackage: ubuntu-
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
VarLogDistupgra
Start-Date: 2023-01-13 17:04:34
Install: libgc1:amd64 (1:8.0.6-1.1build1, automatic)
Upgrade: guile-2.
Remove: libgc1c2:amd64 (1:7.6.
End-Date: 2023-01-13 17:04:36

Thank you for taking the time to report this bug and helping to make Ubuntu better. I think it would be more helpful if you created separate bugs for each of the problems you experienced, each assigned to the appropriate package. As it stands, this is not an actionable bug report. Please see https:/ /help.ubuntu. com/community/ ReportingBugs for more information.