[Bug 2080636] Re: upgrade script from 22.04 to 24.04 fails due to package 'postgresql-13-postgis-3'

James Howe 2080636 at bugs.launchpad.net
Thu Nov 7 13:33:29 UTC 2024


> remove postgres, upgrade and then install the latest packaged version.

That is not how it has worked on any previous upgrade, nor how it still
works if you don't have postgis installed.

The upgrade should add the new postgres version while leaving the old
packages installed and the service running.

That's why Debian has gone to all the trouble of supporting multiple
different postgres versions installed and running simultaneously on the
same system.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2080636

Title:
  upgrade script from 22.04 to 24.04  fails due to package
  'postgresql-13-postgis-3'

Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid

Bug description:
  Updating repository information

  Third party sources disabled

  Some third party entries in your sources.list were disabled. You can 
  re-enable them after the upgrade with the 'software-properties' tool 
  or your package manager. 

  To continue please press [ENTER]

  Get:1 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]                
  Hit https://updates.signal.org/desktop/apt xenial InRelease                    
  Hit https://pkg.cloudflareclient.com jammy InRelease                           
  Hit https://apt.releases.hashicorp.com jammy InRelease                         
  Hit https://linux.teamviewer.com/deb stable InRelease                          
  Hit https://download.docker.com/linux/ubuntu jammy InRelease                   
  Hit https://packages.ntop.org/apt-stable/22.04 x64/ InRelease                  
  Hit https://apt.repos.intel.com/oneapi all InRelease                           
  Hit https://packages.ntop.org/apt-stable/22.04 all/ InRelease                  
  Hit https://packages.kopia.io/apt stable InRelease                             
  Get:2 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease [7,529 B]
  Get:3 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease [7,462 B]
  Get:4 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1,401 kB]    
  Get:5 https://esm.ubuntu.com/apps/ubuntu noble-apps-security/main amd64 Packages [12.7 kB]
  Get:6 https://esm.ubuntu.com/apps/ubuntu noble-apps-security/main i386 Packages [9,139 B]
  Get:7 https://esm.ubuntu.com/infra/ubuntu noble-infra-security/main amd64 Packages [658 B]
  Get:8 http://archive.ubuntu.com/ubuntu noble/main i386 Packages [1,041 kB]     
  Get:9 http://archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]      
  Get:10 http://archive.ubuntu.com/ubuntu noble/main amd64 DEP-11 Metadata [464 kB]
  Get:11 http://archive.ubuntu.com/ubuntu noble/main DEP-11 48x48 Icons [106 kB] 
  Get:12 http://archive.ubuntu.com/ubuntu noble/main DEP-11 64x64 Icons [156 kB] 
  Get:13 http://archive.ubuntu.com/ubuntu noble/main DEP-11 64x64 at 2 Icons [21.8 kB]
  Get:14 http://archive.ubuntu.com/ubuntu noble i386 Contents (deb) [40.3 MB]    
  Get:15 http://archive.ubuntu.com/ubuntu noble amd64 Contents (deb) [51.3 MB]   
  Get:16 http://archive.ubuntu.com/ubuntu noble/main amd64 c-n-f Metadata [30.5 kB]
  Get:17 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15.0 MB]
  Get:18 http://archive.ubuntu.com/ubuntu noble/universe i386 Packages [8,514 kB]
  Get:19 http://archive.ubuntu.com/ubuntu noble/universe Translation-en [5,982 kB]
  Get:20 http://archive.ubuntu.com/ubuntu noble/universe amd64 DEP-11 Metadata [3,871 kB]
  Get:21 http://archive.ubuntu.com/ubuntu noble/universe DEP-11 48x48 Icons [3,717 kB]
  Get:22 http://archive.ubuntu.com/ubuntu noble/universe DEP-11 64x64 Icons [7,747 kB]
  Get:23 http://archive.ubuntu.com/ubuntu noble/universe DEP-11 64x64 at 2 Icons [75.0 kB]
  Get:24 http://archive.ubuntu.com/ubuntu noble/universe amd64 c-n-f Metadata [301 kB]
  Get:25 http://archive.ubuntu.com/ubuntu noble/restricted i386 Packages [14.7 kB]
  Get:26 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [93.9 kB]
  Get:27 http://archive.ubuntu.com/ubuntu noble/restricted Translation-en [18.7 kB]
  Get:28 http://archive.ubuntu.com/ubuntu noble/restricted amd64 c-n-f Metadata [416 B]
  Get:29 http://archive.ubuntu.com/ubuntu noble/multiverse i386 Packages [126 kB]
  Get:30 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [269 kB]
  Get:31 http://archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB]
  Get:32 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 DEP-11 Metadata [35.0 kB]
  Get:33 http://archive.ubuntu.com/ubuntu noble/multiverse DEP-11 48x48 Icons [56.1 kB]
  Get:34 http://archive.ubuntu.com/ubuntu noble/multiverse DEP-11 64x64 Icons [186 kB]
  Get:35 http://archive.ubuntu.com/ubuntu noble/multiverse DEP-11 64x64 at 2 Icons [904 B]
  Get:36 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 c-n-f Metadata [8,328 B]
  Fetched 142 MB in 6s (2,769 kB/s)                                              

  
  Checking package manager
  Reading package lists... Done    
  Building dependency tree... Done 
  Reading state information... Done

  Calculating the changes

  Calculating the changes

  Could not calculate the upgrade

  An unresolvable problem occurred while calculating the upgrade.

  The package 'postgresql-13-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'. 

  
  Restoring original system state

  Aborting
  Reading package lists... Done    
  Building dependency tree... Done 
  Reading state information... Done

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.16 [origin: unknown]
  ProcVersionSignature: Ubuntu 5.15.0-75.82-generic 5.15.99
  Uname: Linux 5.15.0-75-generic x86_64
  NonfreeKernelModules: lkp_Ubuntu_5_15_0_75_82_generic_105 nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CrashReports:
   640:0:117:160802:2024-09-12 08:27:03.719476552 +0300:2024-09-12 08:27:03.759468550 +0300:/var/crash/_usr_bin_landscape-manager.0.crash
   644:0:117:0:2024-09-12 08:27:03.719476552 +0300:2024-09-12 08:27:03.719476552 +0300:/var/crash/_usr_bin_landscape-manager.0.upload
   600:112:117:37:2024-09-12 08:27:44.553074213 +0300:2024-09-12 08:27:44.553074213 +0300:/var/crash/_usr_bin_landscape-manager.0.uploaded
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Sep 13 15:12:39 2024
  InstallationDate: Installed on 2020-01-09 (1709 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to jammy on 2024-09-13 (0 days ago)
  VarLogDistupgradeAptHistorylog:
   Start-Date: 2024-09-13  15:08:32
   Requested-By: mtm (1000)
   End-Date: 2024-09-13  15:08:32
  VarLogDistupgradeApttermlog:
   Log started: 2024-09-13  15:08:32
   Log ended: 2024-09-13  15:08:32

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2080636/+subscriptions




More information about the foundations-bugs mailing list