Devuan bug report logs - #575
postgresql-common packaging not handling Devuan version number

version graph

Package: postgresql-common; Maintainer for postgresql-common is (unknown); Source for postgresql-common is src:postgresql-common.

Reported by: Stephen Lyons <slysven@virginmedia.com>

Date: Sat, 17 Apr 2021 18:48:01 UTC

Severity: wishlist

Tags: debian

Found in version 200+deb10u4

Fixed in version 243

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#575; Package postgresql-common. (Sat, 17 Apr 2021 18:48:01 GMT) (full text, mbox, link).


Acknowledgement sent to Stephen Lyons <slysven@virginmedia.com>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. (Sat, 17 Apr 2021 18:48:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Stephen Lyons <slysven@virginmedia.com>
To: submit@bugs.devuan.org
Subject: postgresql-common packaging not handling Devuan version number
Date: Sat, 17 Apr 2021 19:34:54 +0100
[Message part 1 (text/plain, inline)]
Package: postgresql-common
Version: 200+deb10u4

I was doing a routine upgrade of the packages in my Devuan "Beowulf"
install, during the "apt upgrade" process I saw and captured the
following error(?) messages:

======================
Processing triggers for postgresql-common (200+deb10u4) ...
supported-versions: WARNING! Unknown distribution: devuan
debian found in ID_LIKE, treating as Debian
supported-versions: WARNING: Unknown Debian release: 3
Building PostgreSQL dictionaries from installed myspell/hunspell packages...
  da_dk
  de_de
  en_ca
  en_gb
  en_us
  es_es
  et_ee
  fr
  hy_am
  ko
  ru_ru
Removing obsolete dictionary files:
======================

This was a part of the output which I captured and include as an attachment.

I do not actively (or at least consciously) use Postgresql on this
system (and there is no other real life user) so I cannot tell if this
was in fact harmful. However it doesn't take a genius to realise that
the (presumably) upstream script (trigger) involved is expecting a
Debian version number - probably greater than, say, 4 or 5, certainly
more than 3 - and is unhappy about seeing a 3. Somehow it needs to be
told that Devuan "3" is like Debian "10" - except when it isn't!

I wonder whether this is linked to - or rather follows on from:
https://bugs.devuan.org/cgi/bugreport.cgi?bug=159 ?

My "uname -a" output (for a machine called "rachel") is:
Linux rachel 4.19.0-14-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.171-2
(2021-01-30) x86_64 GNU/Linux

Regards

Stephen
[Devuan_postgressql_upgrade_bug.txt (text/plain, attachment)]

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#575; Package postgresql-common. (Thu, 16 Feb 2023 09:46:02 GMT) (full text, mbox, link).


Message #8 received at 575@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Stephen Lyons <slysven@virginmedia.com>, 575@bugs.devuan.org
Subject: Re: bug#575: postgresql-common packaging not handling Devuan version number
Date: Thu, 16 Feb 2023 09:44:13 +0000
Control: tags -1 debian
Control: fixed -1 243
Control: severity -1 wishlist

Stephen

On Sat, Apr 17, 2021 at 07:34:54PM +0100, Stephen Lyons wrote:
> Package: postgresql-common
> Version: 200+deb10u4
> 
> I was doing a routine upgrade of the packages in my Devuan "Beowulf"
> install, during the "apt upgrade" process I saw and captured the
> following error(?) messages:

Thanks for this.

Fortunately Debian has changed its handling of this and now
/usr/share/postgresql-common/supported-versions produces:

supported-versions: WARNING! Unknown distribution ID in /etc/os-release: devuan
debian found in ID_LIKE, treating as Debian
15

Which is sane. The warning is harmless. We will need to send a patch to Debian
to remove that completely, but functionally there will be no change. So,
lowering the severity to wishlist.

Mark

Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 575-submit@bugs.devuan.org. (Thu, 16 Feb 2023 09:46:09 GMT) (full text, mbox, link).


Marked as fixed in versions 243. Request was from Mark Hindley <mark@hindley.org.uk> to 575-submit@bugs.devuan.org. (Thu, 16 Feb 2023 09:46:09 GMT) (full text, mbox, link).


Severity set to 'wishlist' from 'normal' Request was from Mark Hindley <mark@hindley.org.uk> to 575-submit@bugs.devuan.org. (Thu, 16 Feb 2023 09:46:43 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Dec 26 04:40:40 2024;