Bug#866778: marked as done (lsb-release: lsb_release --all displays inconsistent information)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#866778: marked as done (lsb-release: lsb_release --all displays inconsistent information)

Debian Bug Tracking System
Your message dated Wed, 05 Jul 2017 21:40:40 +0200
with message-id <[hidden email]>
and subject line Re: Bug#866778: lsb-release: lsb_release --all displays inconsistent 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 [hidden email]
immediately.)


--
866778: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866778
Debian Bug Tracking System
Contact [hidden email] with problems

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

Control: tags -1 +wontfix

Le samedi, 1 juillet 2017, 18.38:28 h CEST GT a écrit :

>    * 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?
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
lsb_release.py uses). That's specifically made to avoid having to have one
base-files package per suite, which would make base-files more of a special
package than it already is.

As, technically, a set of "unstable" packages could also be a valid set of
"testing" packages (5 days without bugs or uploads later, for instance),
it's impossible to guess from the files on the system whether it's running
"testing" or "unstable".

And finally, don't rely on lsb_release's output for anything non-stable;
it's bound to be unreliable, by construction. One should really rely on
feature-detection rather than version-matching.

Hereby closing as not-a-bug.

Cheers,
    OdyX