From: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
---|---|
To: | pgsql-pkg-yum(at)postgresql(dot)org |
Subject: | pg12b1 and version sorting |
Date: | 2019-05-23 14:55:00 |
Message-ID: | 20190523145500.GA1728@telsasoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-yum |
I'm wondering how versioning on PGDG RPMs is intended to work.
Yum seems to thinks that the "nightly builds" are of higher version number than
beta.
[pryzbyj(at)dev ~]$ yum list --enablerepo='pgdg12-updates-testing' --showdu postgresql12
...
Installed Packages
postgresql12.x86_64 12.0-devel_20190502_1PGDG.rhel7 @pgdg12-updates-testing
Available Packages
postgresql12.x86_64 12beta1-1PGDG.rhel7 pgdg12-updates-testing
[pryzbyj(at)dev ~]$ sudo yum --enablerepo=pgdg12-updates-testing install postgresql12{-server,-debuginfo,-contrib} #12beta1-1PGDG.rhel7.x86_64
Package matching postgresql12-server-12beta1-1PGDG.rhel7.x86_64 already installed. Checking for update.
Package matching postgresql12-debuginfo-12beta1-1PGDG.rhel7.x86_64 already installed. Checking for update.
Package matching postgresql12-contrib-12beta1-1PGDG.rhel7.x86_64 already installed. Checking for update.
Nothing to do
I made it work like this:
[pryzbyj(at)dev ~]$ sudo yum --enablerepo=pgdg12-updates-testing downgrade postgresql12{,-libs,-server,-debuginfo,-contrib}-12beta1-1PGDG.rhel7.x86_64
..which seems to prove that's what's going on.
I recall that debian handles that using "~", like 12~beta1.
At least, it should be called 12devel and 12beta1 for consistency? Or
12.0devel and 12.0beta1.
Justin
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Clough | 2019-05-23 15:01:03 | PostgreSQL v12 beta? |
Previous Message | Jehan-Guillaume de Rorthais | 2019-05-17 16:15:40 | PAF resource agent missing from pgdg11 |