Hi everyone,
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/os-release
PRETTY_NAME="Debian GNU/Linux buster/sid"
NAME="Debian GNU/Linux"
ID=debian
root@mybuster:~# cat /etc/issue
Debian GNU/Linux buster/sid \n \l
root@mybuster:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux testing (buster)
Release: testing
Codename: buster
root@mybuster:~# cat /etc/debian_version
buster/sid
root@mybuster:~# cat /proc/version
root@mybuster:~# uname -a
Linux mybuster 4.16.0-2-amd64 #1 SMP Debian 4.16.12-1 (2018-05-27) x86_64 GNU/Linux
__________________________________________________________________
Thank you for any input :)