unable to upgrade to 24.04 because of postgis installation
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
An unresolvable problem occurred while calculating the upgrade.
The package 'postgresql-
If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 6.8.0-40-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 17 09:32:54 2024
InstallationDate: Installed on 2024-05-20 (119 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to jammy on 2024-09-17 (0 days ago)
VarLogDistupgra

I have the same with postgresql-15. Deinstallation will help, but then the migration from 15 to 16 is more complicated. There is an overlap from 15 and 16 needed. .*[0-9] [0-9].* ' matches 'postgresql-15'
log:
2024-10-20 17:27:30,369 DEBUG denylist expr '^postgresql-
2024-10-20 17:27:30,369 DEBUG The package 'postgresql-15' is marked for removal but it's in the removal deny list
2024-10-20 17:27:30,378 ERROR Dist-upgrade failed: 'Das Paket 'postgresql-15' ist zum Entfernen markiert, aber es befindet sich in der Ausnahmeliste zum Entfernen.
To prevent data loss, postgresql packages are not removed automatically during the upgrade. If you are certain you no longer need postgresql-15, you can manually remove it and try the upgrade
again.'
2024-10-20 17:27:30,390 DEBUG abort called
2024-10-20 17:27:30,391 DEBUG openCache()
2024-10-20 17:27:33,739 DEBUG Comparing 5.15.0-121 with
2024-10-20 17:27:33,739 DEBUG Comparing 5.15.0-124 with 5.15.0-121