Bug 2085306 - pg_upgrade fails unable to find "$libdir/postgis-3"
Summary: pg_upgrade fails unable to find "$libdir/postgis-3"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: postgis
Version: 36
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-13 00:13 UTC by clifford snow
Modified: 2022-08-15 01:10 UTC (History)
13 users (show)

Fixed In Version: postgis-3.2.2-1.fc36
Clone Of:
Environment:
Last Closed: 2022-08-15 01:10:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
error log (2.55 KB, text/plain)
2022-05-13 00:13 UTC, clifford snow
no flags Details

Description clifford snow 2022-05-13 00:13:55 UTC
Created attachment 1879244 [details]
error log

Description of problem:
Updated from Fedora 35 to 36. Postgresql failed to upgraded. pg_dump could not access file "$libdir/postgis-3": No such file or directory. Postgis-3.2.1-1.fc36 installed.

Version-Release number of selected component (if applicable):
postgresql.x86-64 14.1-3.fc36

How reproducible:
run postgresql-setup upgrade

Steps to Reproduce:
1.run postgresql-setup upgrade
2.
3.

Actual results:
Received the following error message 
pg_upgrade tool failed

Expected results:
system upgraded from 13 to 14
Additional info:

Comment 1 Roy A. Gilmore 2022-06-01 05:30:35 UTC
I have the same issue. I think it's because postgis isn't included in /usr/lib64/pgsql/postgresql-13 that's included with postgresql-upgrade

Comment 2 Pavel Raiskup 2022-06-06 14:45:21 UTC
See seem to be missing the `postgis-upgrade` package, which is currently disabled:
https://pkgs.fedoraproject.org/rpms/postgis/blob/31f5a2dabc983596ff3d37fa8373086e542aef21/f/postgis.spec#_4

Comment 3 Fedora Update System 2022-08-06 12:44:56 UTC
FEDORA-2022-fdcc12fc69 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-fdcc12fc69

Comment 4 Fedora Update System 2022-08-07 04:04:51 UTC
FEDORA-2022-fdcc12fc69 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-fdcc12fc69`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-fdcc12fc69

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-08-15 01:10:58 UTC
FEDORA-2022-fdcc12fc69 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.