[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian version ID



On Wed 10 Aug 2016 at 14:31:29 (+0200), Pascal Hambourg wrote:
> Le 10/08/2016 à 03:02, Seeker a écrit :
> >
> >On 8/9/2016 4:49 PM, David Wright wrote:
> >>On Tue 09 Aug 2016 at 13:27:34 (-0700), Seeker wrote:
> >>>
> >>>That was my first thought too, but looking up base-files for one of
> >>>the LTS releases on packages.ubuntu.com and reading
> >>>the change log, looks like to do update the os-release with xx.xx.1,
> >>>xx.xx.2, etc...
> >>
> >>Where was that, then? (To save us all having to search for it.)
> >>
> >>When you say "update the os-release with xx.xx.1", do you
> >>mean the VERSION_ID line? This line is optional anyway,
> >>is it not?
> >
> >http://changelogs.ubuntu.com/changelogs/pool/main/b/base-files/base-files_7.2ubuntu5.5/changelog
> >
> >"base-files (7.2ubuntu5.5) trusty; urgency=medium
> >
> >  * /etc/issue, /etc/issue.net, /etc/lsb-release, /etc/os-release: Bump
> >    version number to 14.04.5 in preparation for the point release.
> 
> I downloaded the package from
> <http://packages.ubuntu.com/trusty-updates/base-files> and extracted
> the files.
> 
> /etc/os-release :
> 
> NAME="Ubuntu"
> VERSION="14.04.5 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.5 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/";
> SUPPORT_URL="http://help.ubuntu.com/";
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
> 
> /etc/lsb-release :
> 
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"

/etc/debian_version :

jessie/sid

which is what one might expect: that's the Debian version that this
ubuntu release is based on. (Putting the Debian point-release here
would be meaningless.)

But ubuntu does not employ a /etc/ubuntu_version file, so os-release
and lsb-release are reasonable alternative locations for indicating
their point-release.

Regardless, I can't see any error in the quotation of Andrew M.A. Cater
that was made by Jonathan de Boyne Pollard (who seemed to be putting
words into his mouth).

-rw-r--r-- 105 Aug  1 08:48 /tmp/base-files_7.2ubuntu5.5_i386/etc/lsb-release
-rw-r--r-- 267 Feb 19  2014 /tmp/base-files_7.2ubuntu5.5_i386/etc/legal
-rw-r--r-- 26 Aug  1 09:04 /tmp/base-files_7.2ubuntu5.5_i386/etc/issue
-rw-r--r-- 19 Aug  1 09:04 /tmp/base-files_7.2ubuntu5.5_i386/etc/issue.net
-rw-r--r-- 11 Feb 19  2014 /tmp/base-files_7.2ubuntu5.5_i386/etc/debian_version
-rw-r--r-- 249 Aug  1 09:04 /tmp/base-files_7.2ubuntu5.5_i386/etc/os-release
-rw-r--r-- 82 Feb 19  2014 /tmp/base-files_7.2ubuntu5.5_i386/etc/dpkg/origins/debian
-rw-r--r-- 114 Feb 19  2014 /tmp/base-files_7.2ubuntu5.5_i386/etc/dpkg/origins/ubuntu
-rw-r--r-- 92 Feb 19  2014 /tmp/base-files_7.2ubuntu5.5_i386/etc/host.conf

Cheers,
David.


Reply to: