Trying to upgrade to 20.04, but seems to get hung up
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| ubuntu-release-upgrader (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Bug Description
I am guessing there is some circular dependency references by looking at the apt.log
Broken gdal-data:amd64 Breaks on libgdal20:amd64 < 2.2.3+dfsg-2 @ii mK > (< 2.5.0~)
Considering libgdal20:amd64 -1 as a solution to gdal-data:amd64 1
Added libgdal20:amd64 to the remove list
Fixing gdal-data:amd64 via remove of libgdal20:amd64
MarkDelete libgdal20:amd64 < 2.2.3+dfsg-2 @ii mK > FU=0
Investigating (1) postgresql-
Broken postgresql-
Considering libgdal20:amd64 -1 as a solution to postgresql-
Added libgdal20:amd64 to the remove list
Fixing postgresql-
MarkKeep libgdal20:amd64 < 2.2.3+dfsg-2 @ii mR > FU=0
Investigating (2) gdal-data:amd64 < 2.2.3+dfsg-2 -> 3.0.4+dfsg-1build3 @ii umU Ib >
Broken gdal-data:amd64 Breaks on libgdal20:amd64 < 2.2.3+dfsg-2 @ii mK > (< 2.5.0~)
Considering libgdal20:amd64 -1 as a solution to gdal-data:amd64 1
Added libgdal20:amd64 to the remove list
Fixing gdal-data:amd64 via remove of libgdal20:amd64
MarkDelete libgdal20:amd64 < 2.2.3+dfsg-2 @ii mK > FU=0
Investigating (2) postgresql-
Broken postgresql-
Considering libgdal20:amd64 1 as a solution to postgresql-
Removing postgresql-
MarkDelete postgresql-
Investigating (2) postgresql-
Broken postgresql-
Considering postgresql-
Removing postgresql-
MarkDelete postgresql-
Investigating (2) postgis:amd64 < 3.0.2+dfsg-
Broken postgis:amd64 Depends on libgdal20:amd64 < 2.2.3+dfsg-2 @ii mR > (>= 2.0.1)
Considering libgdal20:amd64 1 as a solution to postgis:amd64 -2
Removing postgis:amd64 rather than change libgdal20:amd64
MarkDelete postgis:amd64 < 3.0.2+dfsg-
Done
Log time: 2020-09-15 02:27:23.395710
lsb_release -rd
Description: Ubuntu 18.04.5 LTS
Release: 18.04
=======
apt-cache policy
Package files:
100 /var/lib/
release a=now
500 http://
release v=18.04,
origin ppa.launchpad.net
500 http://
release o=apt.postgresq
origin apt.postgresql.org
500 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
100 http://
release v=18.04,
origin us.archive.
100 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
500 http://
release v=18.04,
origin us.archive.
Pinned packages:
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 4.15.0-117-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
CrashDB: ubuntu
Date: Tue Sep 15 02:35:38 2020
InstallationDate: Installed on 2020-03-09 (189 days ago)
InstallationMedia: Ubuntu-Server 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
UpgradeStatus: Upgraded to bionic on 2020-09-15 (0 days ago)

The upgrade was not attempted due to you having postgres installed and the possibility of you losing your database(s).
2020-09-15 02:34:45,430 DEBUG blacklist expr '^postgresql- .*[0-9] [0-9].* ' matches 'postgresql- 12-pgrouting' 12-pgrouting' is marked for removal but it's in the removal blacklist 12-pgrouting' is marked for removal but it is in the removal blacklist.'
2020-09-15 02:34:45,430 DEBUG The package 'postgresql-
2020-09-15 02:34:45,445 ERROR Dist-upgrade failed: 'The package 'postgresql-
2020-09-15 02:34:45,446 DEBUG abort called