Upgrading from lunar to mantic fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When trying to upgrade from lunar to mantic, I originally got the following error message:
> An unresolvable problem occurred while calculating the upgrade.
>
> This was likely caused by:
> * Unofficial software packages not provided by Ubuntu
> Please use the tool 'ppa-purge' from the ppa-purge
> package to remove software from a Launchpad PPA and
> try the upgrade again.
>
> If none of this applies, then please report this bug using the command
> 'ubuntu-bug ubuntu-
> investigate this yourself the log files in '/var/log/
> contain details about the upgrade. Specifically, look at 'main.log' and
> 'apt.log'.
I tried the following steps to fix the issue:
- made sure my apt sources didn't contain PPA packages or external sources:
egrep -v '^#|^ *$' /etc/apt/
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
/etc/
- made sure I didn't have any foreign repositories installed:
grep Foreign /var/log/
2023-11-25 19:10:41,959 DEBUG Foreign:
- I remembered that `sudo apt upgrade` had shown some "held back"
packages, so I installed all of them with
`sudo apt-get --with-new-pkgs upgrade <list of held-back packages>`.
Afterwards, `sudo apt upgrade` no longer showed any held-back packages.
When I now try to update to mantic, I get a slightly shorter error message:
> Could not calculate the upgrade
>
> An unresolvable problem occurred while calculating the upgrade.
>
> If none of this applies, then please report this bug using the command
> 'ubuntu-bug ubuntu-
> investigate this yourself the log files in '/var/log/
> contain details about the upgrade. Specifically, look at 'main.log' and
> 'apt.log'.
(including the space at the beginning of the last paragraph (before "If none of this ..."), which indicates to me that may there be should have been a list of possible reasons here but it just happens to be empty in my case)
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 6.2.0-37-generic x86_64
ApportVersion: 2.26.1-0ubuntu2.1
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CrashReports:
640:0:
644:0:
600:116:
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 25 18:56:36 2023
InstallationDate: Installed on 2022-03-10 (625 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to lunar on 2023-11-25 (0 days ago)
VarLogDistupgra
Status changed to 'Confirmed' because the bug affects multiple users.