Subject: Devuan not known distribution in postgresql-common

From: Angelo Fuchs <[email-masked]>
Date: Tue, 14 Nov 2017 10:37:25 +0100

Package: postgresql-common
Version: 165+deb8u3

While upgrading postgresql-common the following message was shown:

> supported-versions: WARNING! Unknown distribution: devuan

> /usr/share/postgresql-common/supported-versions:
> 64: /usr/share/postgresql-common/supported-versions: ID_LIKE:
> parameter not set

> /usr/share/postgresql-common/supported-versions:
> 67: /usr/share/postgresql-common/supported-versions: ID_LIKE:
> parameter not set

> Please submit this as a bug report to your distribution.

My System:
2.6.32-042stab124.2 #1 SMP Fri Sep 1 16:20:42 MSK 2017 i686 GNU/Linux

# cat /etc/debian_version 
8.8
# cat /etc/devuan_version 
jessie

# dpkg -l | grep postgres
rc  postgresql-8.3                8.3.14-0lenny1
i386         object-relational SQL database, version 8.3 server rc
postgresql-8.4                8.4.21-0squeeze1
i386         object-relational SQL database, version 8.4 server ii
postgresql-9.4                9.4.15-0+deb8u1
i386         object-relational SQL database, version 9.4 server ii
postgresql-client-8.4         8.4.21-0squeeze1
i386         front-end programs for PostgreSQL 8.4 ii
postgresql-client-9.4         9.4.15-0+deb8u1
i386         front-end programs for PostgreSQL 9.4 ii
postgresql-client-common      165+deb8u3
all          manager for multiple PostgreSQL client versions ii
postgresql-common             165+deb8u3 all          PostgreSQL
database-cluster manager

Have a very nice day

Angelo Fuchs

... - . .- -- -. . -
SteamNet GbR
IT-Beratung • Programmierung • Design
Entwickler • Joomla • Wordpress • CMS

Glottertalstraße 7
D - 79271 St. Peter

Telefon: +49 (7660) 9414913
Mobil: +49 (163) 4808557

E-Mail:[email-masked]
Web:www.steamnet.de

---

From: OmegaPhil <[email-masked]>
Date: Sun, 18 Feb 2018 22:01:28 +0000

Just looking at this one, pgcommon.sh is fetching Devuan release
information from /etc/os-release, the locale_gen function needs to be
updated here to allow 'devuan' to be treated the same as 'debian'.

debian/supported-versions goes further to try to determine a Debian
version number, so this'll need to be updated too. Shall I make a
feature request upstream?

For reference I know of postgresql but I don't yet use it personally.