Mailinglist Archive: opensuse-support (220 mails)

< Previous Next >
Re: [opensuse-support] Broken "pin" command in 15.0

Am Donnerstag, 24. Januar 2019, 23:05:50 CET schrieb Carlos E. R.:
On 24/01/2019 22.46, Christian Boltz wrote:
Hint: /etc/os-release has VERSION_ID=..., not VERSION=... so you
have to use $VERSION_ID, not $VERSION.

Oh. :-(
I thought that the tokens in that file were fixed in Law somewhere.

I'm quite sure the format of /etc/os-release is specified somewhere -
but you still have to use the correct variable ;-)

From checking a few /etc/os-release files from different openSUSE
versions, it looks like
- VERSION can be a "pretty name", for example VERSION="13.1 (Bottle)"
- also, VERSION seems to be optional - it's commented out in Tumbleweed
- VERSION_ID is the "machine readable" version and contains only the
version number ("15.0" in Leap, "20190115" in Tumbleweed)
- in Leap, VERSION and VERSION_ID both have only the "machine readable"
version number ("15.0"), which might explain why VERSION instead of
VERSION_ID was chosen in pin


Christian Boltz
Years ago, the installation of some packages sent emails to root [...]
This is not done any more. Why? :-?
Because you didn't reply to them, the installation process then decided
that it was a waste of time sending you e-mails and so......stopped
sending them to you.
[> Carlos E. R. and Basil Chupin in opensuse-factory]

To unsubscribe, e-mail: opensuse-support+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-support+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups