Re: lsb_release -a output and debian 10.1
Hi.
On Mon, Sep 09, 2019 at 09:07:36AM +0100, Paul Sutton wrote:
> After updating from 10.0 to 10.0 should lsb_release -a report me using
> 10.1?
>
> I have run apt update then apt upgrade and updated quite a few packages,
> but lsb_release -a still reports 10
>
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description: Debian GNU/Linux 10 (buster)
> Release: 10
> Codename: buster
>
>
> Am I missing something in the update process ?
Yes you do, as it should not reflect point release version anymore.
/usr/share/doc/base-files/changelog.gz says:
base-files (10.3+deb10u1) buster; urgency=medium
* Change /etc/debian_version to 10.1, for Debian 10.1 point release.
-- Santiago Vila <sanvila@debian.org> Fri, 30 Aug 2019 14:31:26 +0200
...
base-files (10.2) unstable; urgency=medium
* Release candidate for buster as stable:
- Use "10" as version in /etc/issue and /etc/issue.net.
(never expected to change after buster is released)
- Use 10.0 as version in /etc/debian_version.
(expected to change at every point release)
- Change PRETTY_NAME in /usr/lib/os-release, adding 10 as version number
and "(buster)" as codename. Add also VERSION_ID and VERSION.
(never expected to change)
...
-- Santiago Vila <sanvila@debian.org> Fri, 19 Apr 2019 13:05:00 +0200
So, "cat /etc/debian_version" will show you the release version for
real, and you might as well uninstall this useless "lsb_release" thing -
Debian is not LSB-conformant anymore anyway.
Reco
Reply to: