Options:
-h --help show this help message and exit
--date=DATE date for calculating the version (default: today)
--series=SERIES series to calculate the version for
-y[MILESTONE] additionally, display days until milestone
--days=[MILESTONE] (created, release, eol, eol-server, eol-esm)
-a --all list all known versions
-d --devel latest development version
--lts latest long term support (LTS) version
-s --stable latest stable version
--supported list of all supported stable versions
--supported-esm list of all Ubuntu Advantage supported stable versions
--unsupported list of all unsupported stable versions
-c --codename print the codename (default)
-f --fullname print the full name
-r --release print the release version
Verification done and passed for Ubuntu 16.04.
bdmurray@ clean-xenial- amd64:~ $ apt-cache policy distro-info ubuntu. osuosl. org/ubuntu xenial- proposed/ main amd64 Packages dpkg/status ubuntu. osuosl. org/ubuntu xenial/main amd64 Packages clean-xenial- amd64:~ $ ubuntu-distro-info --help
distro-info:
Installed: 0.14ubuntu0.1
Candidate: 0.14ubuntu0.1
Version table:
*** 0.14ubuntu0.1 500
500 http://
100 /var/lib/
0.14build1 500
500 http://
bdmurray@
Usage: ubuntu-distro-info [options]
Options: -series= SERIES series to calculate the version for -days=[ MILESTONE] (created, release, eol, eol-server, eol-esm) -supported- esm list of all Ubuntu Advantage supported stable versions
-h --help show this help message and exit
--date=DATE date for calculating the version (default: today)
-
-y[MILESTONE] additionally, display days until milestone
-
-a --all list all known versions
-d --devel latest development version
--lts latest long term support (LTS) version
-s --stable latest stable version
--supported list of all supported stable versions
-
--unsupported list of all unsupported stable versions
-c --codename print the codename (default)
-f --fullname print the full name
-r --release print the release version
See ubuntu- distro- info(1) for more info. clean-xenial- amd64:~ $ ubuntu-distro-info --supported -r --days=eol-server -f
bdmurray@
Ubuntu 14.04 LTS "Trusty Tahr" 34
Ubuntu 16.04 LTS "Xenial Xerus" 769
Ubuntu 18.04 LTS "Bionic Beaver" 1504
Ubuntu 18.10 "Cosmic Cuttlefish" (unknown)
Ubuntu 19.04 "Disco Dingo" (unknown)