Check installed version and errata in CLI

Time for wishlists…

I have addressed this question already in Ucs 5.0 distro / release label missing in byobu

Everything is working as expected with lsb_release in UCS4.4:

root@ucs-sl01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Univention
Description:    Univention Corporate Server 4.4-8 errata1128 (Blumenthal)
Release:        4.4-8 errata1128
Codename:       Blumenthal

and in UCS5.0:

root@ucs-01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Univention
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

Byobu just takes the release-tag.

Do you know a simple way to get this information? Or would I have to script something from the latest updater.log:

root@ucs-01:~# tail -n 5 /var/log/univention/updater.log
Starting univention-upgrade. Current UCS version is 5.0-1 errata176

Checking for package updates:                           none
Checking for app updates:                               none
Checking for release updates:                           none

I already didn’t like that debian left the info on point-releases in version 10.

Best,
Bernd

ucr search --brief ^version/ gives you that information.

PS: lsb_release is deprecated and got replaced by /etc/os-release, but this was ever adapted for UCS Bug #50634

1 Like
Mastodon