Re: [DNG] Postgresql problem

2018-06-10 Thread J. Fahrner

Am 2018-06-10 21:12, schrieb Steve Litt:

If the error is being thrown by something Debian added, well, it's
Holloween code, and we can take it out.


Looks like it is some Debian script:

# print a list of PostgreSQL versions that are supported for the 
platform this

# script runs on.
# Note: Newer installed versions than the highest one listed here are 
always
# considered supported, so that backports will not cause an "obsolete" 
warning.

#
# /usr/share/postgresql-common/supported-versions decides which 
PostgreSQL

# server versions are supported. This information is used
# 1) for notifying users of obsolete versions, suggesting to upgrade
# 2) by postgresql-common itself (in debian/rules) to determine the
#dependencies of the postgresql meta packages (default version), and 
to

#generate the list of postgresql-server-dev-* packages
#postgresql-server-dev-all depends on
# 3) by the pg_buildext tool to decide which server versions to build 
extension

#modules for
#
# The *last* version returned here will be considered the default 
version, the

# remaining lines list other supported versions in an undefined order.
#
# * PG_SUPPORTED_VERSIONS
# * DEB_PG_SUPPORTED_VERSIONS
# * ~/.pg_supported_versions
# * /etc/postgresql-common/supported_versions
# (in that order) can be used to override the defaults. (Tokens 
separated by

# newlines.)
#
# Recognized tokens:
# default: use the appropiate defaults for the current distribution and 
release

#  (as determined by os-release or lsb_release)
# debian [release]: use Debian defaults
# debian-backports [release]: use Debian Backports defaults
# ubuntu [release]: use Ubuntu defaults
# pgdg [release]: use defaults for apt.postgresql.org
# installed: consider all installed versions supported (determined by
#postgresql-server-dev-X.Y packages)
# X.Y: consider this version supported
#
# (C) 2005-2016 Martin Pitt 
# (C) 2012-2017 Christoph Berg 

I don't know what it's purpose is. I think it is called by some 
installation script and influences creation of config files.

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Postgresql problem

2018-06-10 Thread Steve Litt
On Sun, 10 Jun 2018 10:40:44 +0200
"J. Fahrner"  wrote:

> Am 2018-06-10 09:26, schrieb Ralph Ronnquist:
> > The first google match suggests adding
> > ID_LIKE=Debian
> > to /etc/os-release
> > 
> > Worth a try perhaps?  
> 
> Sounds good.
> Before:
> -
> supported-versions: WARNING! Unknown distribution: devuan
> /usr/share/postgresql-common/supported-versions: 66: 
> /usr/share/postgresql-common/supported-versions: ID_LIKE: parameter
> not set
> /usr/share/postgresql-common/supported-versions: 69: 
> /usr/share/postgresql-common/supported-versions: ID_LIKE: parameter
> not set
> Please submit this as a bug report to your distribution.
> --
> 
> After (ID_LIKE=Debian):
> --
> supported-versions: WARNING! Unknown distribution: devuan
> Please submit this as a bug report to your distribution.
> --
> 
> After (ID_LIKE=debian):
> --
> supported-versions: WARNING! Unknown distribution: devuan
> debian found in ID_LIKE, treating as Debian
> --
> 
> Looks like debian must be written in lower case.
> Would be nice if Devuan could add this in base-files package.

Why is the distro one is using Postgres' business? I'd imagine if I
want to run Postgres on Steve's Midnight Escape distribution, I should
be able to, without an error message. If this error is thown by
Postgres itself, I think it should be submitted as a bug report to
Postgres. If it's not a bug, it sounds like a poor design decision.

If the error is being thrown by something Debian added, well, it's
Holloween code, and we can take it out.

SteveT

Steve Litt 
June 2018 featured book: Twenty Eight Tales of Troubleshooting
http://www.troubleshooters.com/28


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Postgresql problem

2018-06-10 Thread KatolaZ
On Sun, Jun 10, 2018 at 10:40:44AM +0200, J. Fahrner wrote:

[cut]

> 
> After (ID_LIKE=debian):
> --
> supported-versions: WARNING! Unknown distribution: devuan
> debian found in ID_LIKE, treating as Debian
> --
> 
> Looks like debian must be written in lower case.
> Would be nice if Devuan could add this in base-files package.
> 

Just fixed in base-files 9.9+devuan2.5. Already available from the
repos. Please update.

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[ "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[   @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[ @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]


signature.asc
Description: PGP signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Postgresql problem

2018-06-10 Thread J. Fahrner

Am 2018-06-10 09:26, schrieb Ralph Ronnquist:

The first google match suggests adding
ID_LIKE=Debian
to /etc/os-release

Worth a try perhaps?


Sounds good.
Before:
-
supported-versions: WARNING! Unknown distribution: devuan
/usr/share/postgresql-common/supported-versions: 66: 
/usr/share/postgresql-common/supported-versions: ID_LIKE: parameter not 
set
/usr/share/postgresql-common/supported-versions: 69: 
/usr/share/postgresql-common/supported-versions: ID_LIKE: parameter not 
set

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

After (ID_LIKE=Debian):
--
supported-versions: WARNING! Unknown distribution: devuan
Please submit this as a bug report to your distribution.
--

After (ID_LIKE=debian):
--
supported-versions: WARNING! Unknown distribution: devuan
debian found in ID_LIKE, treating as Debian
--

Looks like debian must be written in lower case.
Would be nice if Devuan could add this in base-files package.

Jochen
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Postgresql problem

2018-06-10 Thread Ralph Ronnquist



J. Fahrner wrote on 10/06/18 17:20:

Hi,
when installing/upgrading postgresql packages, there is the following 
warning:


supported-versions: WARNING! Unknown distribution: devuan
/usr/share/postgresql-common/supported-versions: 66: 
/usr/share/postgresql-common/supported-versions: ID_LIKE: parameter not set
/usr/share/postgresql-common/supported-versions: 69: 
/usr/share/postgresql-common/supported-versions: ID_LIKE: parameter not set

Please submit this as a bug report to your distribution.

Any ideas where to fix this?


The first google match suggests adding
ID_LIKE=Debian
to /etc/os-release

Worth a try perhaps?

Ralph.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Postgresql problem

2018-06-10 Thread J. Fahrner

Hi,
when installing/upgrading postgresql packages, there is the following 
warning:


supported-versions: WARNING! Unknown distribution: devuan
/usr/share/postgresql-common/supported-versions: 66: 
/usr/share/postgresql-common/supported-versions: ID_LIKE: parameter not 
set
/usr/share/postgresql-common/supported-versions: 69: 
/usr/share/postgresql-common/supported-versions: ID_LIKE: parameter not 
set

Please submit this as a bug report to your distribution.

Any ideas where to fix this?

Regards
Jochen


___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng