Re: pg12b1 and version sorting

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: pg12b1 and version sorting
Date: 2019-06-06 10:15:58
Message-ID: 418dbe1bd8360600151ac542dcf73771ec10f086.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-yum


Hi,

Oops, I did it again :-( Let's review this once we start releasing 13 devel
RPMs after summer.

Regards, Devrim

On Thu, 2019-05-23 at 09:55 -0500, Justin Pryzby wrote:
> 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 1
> 2.0-
> 1devel_20190502_1PGDG.rhel7
> @pgdg12-updates-testing
> Available Packages
> postgresql12.x86_64 1
> 2beta1-
> 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
>
>

--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Responses

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Christoph Berg 2019-06-06 11:06:32 Re: pg12b1 and version sorting
Previous Message Jehan-Guillaume de Rorthais 2019-06-05 10:46:27 Re: RHEL 8: Repo issues