On Wed, Jun 27, 2018 at 03:03:45PM -0500, Nicholas Geovanis wrote: > On Wed, Jun 27, 2018 at 12:49 PM Martin Krämer <mk.mad...@gmail.com> wrote: > > > > I am wondering if it is possible to get the debian release number for > > debian testing (and maybe sid) from command line? > > I know that current testing is codename buster, while its release number is > > 10. > > I can get the codename from command line, but not that the corresponding > > release number is 10. I know I could match the codename to release numbers, > > but that is not a nice solution. > > For stable (stretch 9) and oldstable (jessie 8) etc. it is possible to get > > that number using different commands. > > > > I additionally understand that it is not possible to display something like > > 10.1 or 10.2 since testing follows not the same release process as stable > > does. > > > > Here are the commands & output I tested without success: > > ________________________________________________________________ > ..... > > root@mybuster:~# cat /etc/debian_version > > buster/sid > > Interesting. Even 9.2 and 9.3 servers installed here contain the following: > > ngeovanis@maglab01:~$ cat /etc/debian_version > 9.2 > ngeovanis@maglab01:~$ > > Thank you for any input :) >
That is because buster is still development, so it is not yet released. It would not make much sense to have it report a release version, since the assigned version is still just a planned version at this point. Regards, -Roberto -- Roberto C. Sánchez