Postgres upgrade says warning unknown distribution NEON
Bug #1853468 reported by
Eddie Dunckley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql-common (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Setting up postgresql-common (190ubuntu0.1) ...
supported-versions: WARNING! Unknown distribution: neon
urgh, though Linux KDE NEON is a well known distribution.
To post a comment you must log in.
Hi Eddie,
190ubuntu0.1 suggests that you are on Ubuntu bionic or something derived from that.
The package needs to know where it runs, and it does so via /etc/os-release
# we have /etc/os-release, use it
DISTRO= "${ID:- unknown} "
RELEASE= "${VERSION_ ID:-unstable} " # unstable doesn't have this field
if [ -r /etc/os-release ]; then
. /etc/os-release
Based on that in /usr/share/ postgresql- common/ supported- versions there is a mapping which default now applies.
That could for example be
DISTRO=Ubuntu
RELEASE=18.04
Which would map to postgresql 10.
In your case that isn't true. You are not running Ubuntu but a derivative.
If that decides to change these values then packages might stumble over that.
There is nothing to fix here, it is part of KDE-Neon as a downstream to maintain a Delta for this just as Ubuntu does to Debian and Debian does to upstream.