unable to upgrade to 24.04 because of postgis installation

Bug #2080956 reported by John Esterly
12
This bug affects 2 people
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-16-postgis-3' is marked for removal but it is in the removal deny list.

If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If you want to investigate this yourself the log files in '/var/log/dist-upgrade' will contain details about the upgrade. Specifically, look at 'main.log' and 'apt.log'.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.20
ProcVersionSignature: Ubuntu 6.8.0-40.40~22.04.3-generic 6.8.12
Uname: Linux 6.8.0-40-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: pass
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)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to jammy on 2024-09-17 (0 days ago)
VarLogDistupgradeTermlog:

Revision history for this message
John Esterly (benwaggroup) wrote :
Revision history for this message
Christian Oelschlegel (oelison) wrote :

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.
log:
2024-10-20 17:27:30,369 DEBUG denylist expr '^postgresql-.*[0-9][0-9].*' matches 'postgresql-15'
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

Revision history for this message
Christian Oelschlegel (oelison) wrote (last edit ):
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.