Your message dated Mon, 13 Jun 2016 16:13:40 +0200
with message-id <[email protected]>
and subject line Re: Bug#826962: ImportError: No module named 'lsb_release'
has caused the Debian Bug report #826962,
regarding ImportError: No module named 'lsb_release'
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.)


-- 
826962: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826962
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lsb-release
Version: 9.20160601
Severity: grave
Justification: renders package unusable

I stumbled upon this error today through dkms


rrs@chutzpah:~$ lsb_release 
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 25, in <module>
    import lsb_release
ImportError: No module named 'lsb_release'
22:08 ♒♒♒    ☹  => 1  


Looking at the package, there seems to be a module for both the python versions.
I'm not yet aware of how Python3 integration in Debian is, but the
standard paths look like the following

rrs@chutzpah:~$ python3
Python 3.5.1+ (default, Jun  9 2016, 15:41:54) 
[GCC 5.4.0 20160603] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import lsb_release
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'lsb_release'
>>> import sys
>>> sys.path
['', '/usr/lib/python35.zip', '/usr/lib/python3.5', 
'/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload']
>>> 

rrs@chutzpah:~$ dpkg -L lsb-release
/.
/usr
/usr/bin
/usr/bin/lsb_release
/usr/lib
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/share
/usr/share/bug
/usr/share/bug/lsb-release
/usr/share/doc
/usr/share/doc/lsb-release
/usr/share/doc/lsb-release/README.Debian
/usr/share/doc/lsb-release/changelog.gz
/usr/share/doc/lsb-release/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/lsb_release.1.gz
/usr/share/pyshared
/usr/share/pyshared/lsb_release.py
/usr/lib/python2.7/dist-packages/lsb_release.py
/usr/lib/python3/dist-packages/lsb_release.py



-- Package-specific info:
lsb_release output
-*- -*- -*- -*- -*-
-*- -*- -*- -*- -*-
    Apt policy
-*- -*- -*- -*- -*-
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://debug.mirrors.debian.org/debian-debug unstable-debug/non-free i386 
Packages
     release o=Debian,a=unstable-debug,n=sid-debug,l=Debian 
debug,c=non-free,b=i386
     origin debug.mirrors.debian.org
 500 http://debug.mirrors.debian.org/debian-debug unstable-debug/non-free amd64 
Packages
     release o=Debian,a=unstable-debug,n=sid-debug,l=Debian 
debug,c=non-free,b=amd64
     origin debug.mirrors.debian.org
 500 http://debug.mirrors.debian.org/debian-debug unstable-debug/contrib i386 
Packages
     release o=Debian,a=unstable-debug,n=sid-debug,l=Debian 
debug,c=contrib,b=i386
     origin debug.mirrors.debian.org
 500 http://debug.mirrors.debian.org/debian-debug unstable-debug/contrib amd64 
Packages
     release o=Debian,a=unstable-debug,n=sid-debug,l=Debian 
debug,c=contrib,b=amd64
     origin debug.mirrors.debian.org
 500 http://debug.mirrors.debian.org/debian-debug unstable-debug/main i386 
Packages
     release o=Debian,a=unstable-debug,n=sid-debug,l=Debian debug,c=main,b=i386
     origin debug.mirrors.debian.org
 500 http://debug.mirrors.debian.org/debian-debug unstable-debug/main amd64 
Packages
     release o=Debian,a=unstable-debug,n=sid-debug,l=Debian debug,c=main,b=amd64
     origin debug.mirrors.debian.org
 100 http://httpredir.debian.org/debian experimental/non-free i386 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=non-free,b=i386
     origin httpredir.debian.org
 100 http://httpredir.debian.org/debian experimental/non-free amd64 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=non-free,b=amd64
     origin httpredir.debian.org
 100 http://httpredir.debian.org/debian experimental/contrib i386 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=contrib,b=i386
     origin httpredir.debian.org
 100 http://httpredir.debian.org/debian experimental/contrib amd64 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=contrib,b=amd64
     origin httpredir.debian.org
 100 http://httpredir.debian.org/debian experimental/main i386 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=main,b=i386
     origin httpredir.debian.org
 100 http://httpredir.debian.org/debian experimental/main amd64 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=main,b=amd64
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian unstable/non-free i386 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=non-free,b=i386
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian unstable/non-free amd64 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=non-free,b=amd64
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian unstable/contrib i386 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=contrib,b=i386
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian unstable/contrib amd64 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=contrib,b=amd64
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian unstable/main i386 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=main,b=i386
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian unstable/main amd64 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=main,b=amd64
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian testing/non-free i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=non-free,b=i386
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian testing/non-free amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=non-free,b=amd64
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian testing/contrib i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=contrib,b=i386
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian testing/contrib amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=contrib,b=amd64
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian testing/main i386 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=main,b=i386
     origin httpredir.debian.org
 990 http://httpredir.debian.org/debian testing/main amd64 Packages
     release o=Debian,a=testing,n=stretch,l=Debian,c=main,b=amd64
     origin httpredir.debian.org
Pinned packages:
     linux-image-amd64 -> 4.6+74 with priority 991
     linux-headers-amd64 -> 4.6+74 with priority 991
-*- -*- -*- -*- -*-
   sources.list
-*- -*- -*- -*- -*-
deb http://security.debian.org  testing/updates main contrib non-free
deb-src http://security.debian.org testing/updates main contrib non-free
deb http://httpredir.debian.org/debian/ testing main contrib non-free
deb-src http://httpredir.debian.org/debian/ testing main contrib non-free
deb http://httpredir.debian.org/debian/ unstable main contrib non-free
deb-src http://httpredir.debian.org/debian/ unstable main contrib non-free
deb http://httpredir.debian.org/debian/ experimental main contrib non-free
deb-src http://httpredir.debian.org/debian/ experimental main contrib non-free
-*- -*- -*- -*- -*-
 /etc/lsb_release
-*- -*- -*- -*- -*-
- none

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (990, 'testing'), (500, 'unstable-debug'), 
(100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (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.29
pn  python3:any       <none>

Versions of packages lsb-release recommends:
ii  apt  1.2.12

Versions of packages lsb-release suggests:
pn  lsb  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Control: reassign -1 python3.5 3.5.1-14
Control: fixed -1 3.5.1-15

On 2016-06-10 22:14 +0530, Ritesh Raj Sarraf wrote:

> Package: lsb-release
> Version: 9.20160601
> Severity: grave
> Justification: renders package unusable
>
> I stumbled upon this error today through dkms
>
>
> rrs@chutzpah:~$ lsb_release 
> Traceback (most recent call last):
>   File "/usr/bin/lsb_release", line 25, in <module>
>     import lsb_release
> ImportError: No module named 'lsb_release'
> 22:08 ♒♒♒    ☹  => 1  
>
>
> Looking at the package, there seems to be a module for both the python 
> versions.
> I'm not yet aware of how Python3 integration in Debian is, but the
> standard paths look like the following
>
> rrs@chutzpah:~$ python3
> Python 3.5.1+ (default, Jun  9 2016, 15:41:54) 
> [GCC 5.4.0 20160603] on linux

This is python3 3.5.1-14 which unfortunately was broken, but the
maintainer fixed it seven hours later in 3.5.1-15.

Cheers,
       Sven

--- End Message ---

Reply via email to