Bug#866778: marked as done (lsb-release: lsb_release --all displays inconsistent information)
[email protected] (Debian Bug Tracking System) Wed, 05 Jul 2017 19:45:05 +0000
| Newsgroups | gmane.linux.debian.devel.lsb |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1499283905-7868-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 05 Jul 2017 21:40:40 +0200 with message-id <[email protected]> and subject line Re: Bug#866778: lsb-release: lsb_release --all displays in= consistent information has caused the Debian Bug report #866778, regarding lsb-release: lsb_release --all displays inconsistent information to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) --=20 866778: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D866778 Debian Bug Tracking System Contact [email protected] with problems ------------=_1499283905-7868-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.debian.org; 1 Jul 2017 16:38:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 (2014-02-07) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-6.7 required=4.0 tests=BAYES_00,FOURLA,FREEMAIL_FROM, HAS_PACKAGE,HELO_MISC_IP,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RDNS_DYNAMIC, SPF_SOFTFAIL,URIBL_CNKR,XMAILER_REPORTBUG,X_DEBBUGS_CC autolearn=ham autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 28; hammy, 150; neutral, 222; spammy, 0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--systemd, 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug Return-path: <[email protected]> Received: from 9.148.88.79.rev.sfr.net ([79.88.148.9] helo=[127.0.1.1]) by buxtehude.debian.org with esmtp (Exim 4.84_2) (envelope-from <[email protected]>) id 1dRLPo-00014U-CA for [email protected]; Sat, 01 Jul 2017 16:38:37 +0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: GT <[email protected]> To: Debian Bug Tracking System <[email protected]> Subject: lsb-release: lsb_release --all displays inconsistent information Message-ID: <149892710866.12944.10277271767213222159.reportbug@debian> X-Mailer: reportbug 7.1.7 Date: Sat, 01 Jul 2017 18:38:28 +0200 X-Debbugs-Cc: [email protected] Delivered-To: [email protected] Package: lsb-release Version: 9.20161125 Severity: normal Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? use of the command lsb_release --all :~$ lsb_release --all No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux oldstable-updates (sid) Release: oldstable-updates Codename: sid * What outcome did you expect instead? An accurate report: :~$ cat /usr/lib/os-release PRETTY_NAME="Debian GNU/Linux buster/sid" NAME="Debian GNU/Linux" ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" why lsb-release diplays sid while i am using buster? -- Package-specific info: lsb_release output -*- -*- -*- -*- -*- Distributor ID: Debian Description: Debian GNU/Linux oldstable-updates (sid) Release: oldstable-updates Codename: sid -*- -*- -*- -*- -*- Apt policy -*- -*- -*- -*- -*- Package files: 100 /var/lib/dpkg/status release a=now 500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main,b=amd64 origin dl.google.com 500 http://archive.canonical.com xenial/partner i386 Packages release v=16.04,o=Canonical,a=xenial,n=xenial,l=Partner archive,c=partner,b=i386 origin archive.canonical.com 500 http://archive.canonical.com xenial/partner amd64 Packages release v=16.04,o=Canonical,a=xenial,n=xenial,l=Partner archive,c=partner,b=amd64 origin archive.canonical.com 500 http://ppa.launchpad.net/tsbarnes/indicator-keylock/ubuntu xenial/main i386 Packages release v=16.04,o=LP-PPA-tsbarnes-indicator-keylock,a=xenial,n=xenial,l=Indicator for Lock Keys,c=main,b=i386 origin ppa.launchpad.net 500 http://ppa.launchpad.net/tsbarnes/indicator-keylock/ubuntu xenial/main amd64 Packages release v=16.04,o=LP-PPA-tsbarnes-indicator-keylock,a=xenial,n=xenial,l=Indicator for Lock Keys,c=main,b=amd64 origin ppa.launchpad.net 500 https://dl.winehq.org/wine-builds/debian stretch/main i386 Packages release v=9.0,o=dl.winehq.org,a=stable,n=stretch,l=winehq,c=main,b=i386 origin dl.winehq.org 500 https://dl.winehq.org/wine-builds/debian stretch/main amd64 Packages release v=9.0,o=dl.winehq.org,a=stable,n=stretch,l=winehq,c=main,b=amd64 origin dl.winehq.org 500 http://ftp.uk.debian.org/debian jessie-updates/non-free i386 Packages release o=Debian,a=oldstable-updates,n=jessie-updates,l=Debian,c=non-free,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian jessie-updates/non-free amd64 Packages release o=Debian,a=oldstable-updates,n=jessie-updates,l=Debian,c=non-free,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian jessie-updates/main i386 Packages release o=Debian,a=oldstable-updates,n=jessie-updates,l=Debian,c=main,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian jessie-updates/main amd64 Packages release o=Debian,a=oldstable-updates,n=jessie-updates,l=Debian,c=main,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian jessie/non-free i386 Packages release v=8.8,o=Debian,a=oldstable,n=jessie,l=Debian,c=non-free,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian jessie/non-free amd64 Packages release v=8.8,o=Debian,a=oldstable,n=jessie,l=Debian,c=non-free,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian jessie/main i386 Packages release v=8.8,o=Debian,a=oldstable,n=jessie,l=Debian,c=main,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian jessie/main amd64 Packages release v=8.8,o=Debian,a=oldstable,n=jessie,l=Debian,c=main,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian jessie/contrib i386 Packages release v=8.8,o=Debian,a=oldstable,n=jessie,l=Debian,c=contrib,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian jessie/contrib amd64 Packages release v=8.8,o=Debian,a=oldstable,n=jessie,l=Debian,c=contrib,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian stretch/non-free i386 Packages release v=9.0,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian stretch/non-free amd64 Packages release v=9.0,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian stretch/main i386 Packages release v=9.0,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian stretch/main amd64 Packages release v=9.0,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian stretch/contrib i386 Packages release v=9.0,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian stretch/contrib amd64 Packages release v=9.0,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian buster/non-free i386 Packages release o=Debian,a=testing,n=buster,l=Debian,c=non-free,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian buster/non-free amd64 Packages release o=Debian,a=testing,n=buster,l=Debian,c=non-free,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian buster/main i386 Packages release o=Debian,a=testing,n=buster,l=Debian,c=main,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian buster/main amd64 Packages release o=Debian,a=testing,n=buster,l=Debian,c=main,b=amd64 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian buster/contrib i386 Packages release o=Debian,a=testing,n=buster,l=Debian,c=contrib,b=i386 origin ftp.uk.debian.org 500 http://ftp.uk.debian.org/debian buster/contrib amd64 Packages release o=Debian,a=testing,n=buster,l=Debian,c=contrib,b=amd64 origin ftp.uk.debian.org 500 http://security.debian.org/debian-security stretch/updates/non-free i386 Packages release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=i386 origin security.debian.org 500 http://security.debian.org/debian-security stretch/updates/non-free amd64 Packages release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=amd64 origin security.debian.org 500 http://security.debian.org/debian-security stretch/updates/main i386 Packages release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=i386 origin security.debian.org 500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64 origin security.debian.org 500 http://security.debian.org/debian-security jessie/updates/main i386 Packages release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=main,b=i386 origin security.debian.org 500 http://security.debian.org/debian-security jessie/updates/main amd64 Packages release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=main,b=amd64 origin security.debian.org 500 http://security.debian.org/debian-security jessie/updates/contrib i386 Packages release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=contrib,b=i386 origin security.debian.org 500 http://security.debian.org/debian-security jessie/updates/contrib amd64 Packages release v=8,o=Debian,a=oldstable,n=jessie,l=Debian-Security,c=contrib,b=amd64 origin security.debian.org Pinned packages: -*- -*- -*- -*- -*- sources.list -*- -*- -*- -*- -*- deb http://security.debian.org/debian-security/ jessie/updates contrib main non-free deb http://security.debian.org/debian-security/ stretch/updates contrib main non-free deb http://security.debian.org/debian-security/ buster/updates contrib main non-free deb http://ftp.uk.debian.org/debian/ buster contrib main non-free deb http://ftp.uk.debian.org/debian/ buster-updates contrib main non-free deb http://ftp.uk.debian.org/debian/ stretch contrib main non-free deb http://ftp.uk.debian.org/debian/ stretch-updates contrib main non-free deb http://ftp.uk.debian.org/debian/ jessie contrib main non-free deb http://ftp.uk.debian.org/debian/ jessie-updates contrib main non-free deb https://dl.winehq.org/wine-builds/debian/ stretch main deb http://ppa.launchpad.net/tsbarnes/indicator-keylock/ubuntu/ xenial main deb http://archive.canonical.com/ xenial partner -*- -*- -*- -*- -*- /etc/lsb_release -*- -*- -*- -*- -*- - none -- System Information: Debian Release: buster/sid APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'testing'), (500, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages lsb-release depends on: ii distro-info-data 0.36 ii python3 3.5.3-1 Versions of packages lsb-release recommends: ii apt 1.4.6 Versions of packages lsb-release suggests: pn lsb <none> -- no debconf information ------------=_1499283905-7868-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 866778-done) by bugs.debian.org; 5 Jul 2017 19:40:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 (2014-02-07) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-8.9 required=4.0 tests=BAYES_00,FOURLA,FROMDEVELOPER, HAS_BUG_NUMBER,RCVD_IN_DNSWL_NONE autolearn=unavailable autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 12; hammy, 150; neutral, 91; spammy, 0. spammytokens: hammytokens:0.000-+--H*o:Debian, 0.000-+--H*o:Universal, 0.000-+--H*F:U*odyx, 0.000-+--OdyX, 0.000-+--H*UA:5.2.3 Return-path: <[email protected]> Received: from vm13.vps.bs.oriented.ch ([185.15.229.233]) by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <[email protected]>) id 1dSqAG-0001dQ-Ec; Wed, 05 Jul 2017 19:40:44 +0000 Received: from gyllingar.localnet (ls.liip.ch [46.14.238.241]) by vm13.vps.bs.oriented.ch (Postfix) with ESMTPSA id 3B5CCB202C1; Wed, 5 Jul 2017 21:40:41 +0200 (CEST) From: Didier 'OdyX' Raboud <[email protected]> To: GT <[email protected]>, [email protected] Cc: Debian Bug Tracking System <[email protected]> Subject: Re: Bug#866778: lsb-release: lsb_release --all displays inconsistent information Date: Wed, 05 Jul 2017 21:40:40 +0200 Message-ID: <[email protected]> Organization: Debian - The Universal OS User-Agent: KMail/5.2.3 (Linux/4.9.0-3-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: <149892710866.12944.10277271767213222159.reportbug@debian> References: <149892710866.12944.10277271767213222159.reportbug@debian> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-CrossAssassin-Score: 2 Control: tags -1 +wontfix=20 Le samedi, 1 juillet 2017, 18.38:28 h CEST GT a =C3=A9crit : > * What led up to the situation? > use of the command lsb_release --all >=20 > :~$ lsb_release --all >=20 > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux oldstable-updates (sid) > Release: oldstable-updates > Codename: sid >=20 >=20 > * What outcome did you expect instead? >=20 > An accurate report: > :~$ cat /usr/lib/os-release >=20 > PRETTY_NAME=3D"Debian GNU/Linux buster/sid" > NAME=3D"Debian GNU/Linux" > ID=3Ddebian > HOME_URL=3D"https://www.debian.org/" > SUPPORT_URL=3D"https://www.debian.org/support" > BUG_REPORT_URL=3D"https://bugs.debian.org/" >=20 >=20 > why lsb-release diplays sid while i am using buster? lsb-release cannot _know_ that you're u sing buster and not sid, as the /usr/lib/os-release file (as shipped by base-files) contains this "buster/ sid" string (you also find this in /etc/debian_version, which is what=20 lsb_release.py uses). That's specifically made to avoid having to have one= =20 base-files package per suite, which would make base-files more of a special= =20 package than it already is. As, technically, a set of "unstable" packages could also be a valid set of= =20 "testing" packages (5 days without bugs or uploads later, for instance),=20 it's impossible to guess from the files on the system whether it's running= =20 "testing" or "unstable". And finally, don't rely on lsb_release's output for anything non-stable;=20 it's bound to be unreliable, by construction. One should really rely on=20 feature-detection rather than version-matching. Hereby closing as not-a-bug. Cheers, OdyX ------------=_1499283905-7868-0--