[pkg-nvidia-devel] Bug#589308: No module named lsb_release

Julien Danjou acid at debian.org
Fri Jul 16 14:54:55 UTC 2010


Package: nvidia-kernel-dkms
Version: 195.36.24-4
Severity: normal

On fresh squeeze, installing nvidia-kernel via module-assistant triggers the following:

The following extra packages will be installed:
  autopoint cvs debhelper diffstat dkms gettext html2text intltool-debian libcroco3
  libfile-copy-recursive-perl libmail-sendmail-perl libsys-hostname-long-perl libvdpau1
  lsb-release nvidia-glx nvidia-kernel-common nvidia-kernel-dkms nvidia-vdpau-driver
  po-debconf python-support quilt update-inetd
Suggested packages:
  dh-make gettext-doc lsb nvidia-settings libmail-box-perl procmail graphviz
Recommended packages:
  nvidia-kernel-195.36.24
The following NEW packages will be installed:
  autopoint cvs debhelper diffstat dkms gettext html2text intltool-debian libcroco3
  libfile-copy-recursive-perl libmail-sendmail-perl libsys-hostname-long-perl libvdpau1
  lsb-release nvidia-glx nvidia-kernel-common nvidia-kernel-dkms nvidia-kernel-source
  nvidia-vdpau-driver po-debconf python-support quilt update-inetd

-> Note that lsb-release was not yet installed

Later on configure:

Setting up nvidia-kernel-common (20100522+1) ...
Setting up nvidia-kernel-dkms (195.36.24-4) ...
Loading new nvidia-195.36.24 DKMS files...
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 26, in <module>
    import lsb_release
ImportError: No module named lsb_release
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 26, in <module>
    import lsb_release
ImportError: No module named lsb_release
First Installation: checking all kernels...
Building only for 2.6.32-5-amd64
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 26, in <module>
    import lsb_release
ImportError: No module named lsb_release
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 26, in <module>
    import lsb_release
...
several other times

Then lsb-release is being configured, and then works.

I think nvidia-kernel-dkms is using lsb-release too soon. It should pre-depends on it.

-- Package-specific info:
uname -a:
Linux cigue 2.6.32-5-amd64 #1 SMP Sun Jul 11 01:44:28 UTC 2010 x86_64 GNU/Linux

/proc/version:
Linux version 2.6.32-5-amd64 (Debian 2.6.32-17) (ben at decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-1) ) #1 SMP Sun Jul 11 01:44:28 UTC 2010

/proc/driver/nvidia/version: 
NVRM version: NVIDIA UNIX x86_64 Kernel Module  195.36.24  Thu Apr 22 19:10:14 PDT 2010
GCC version:  gcc version 4.3.5 (Debian 4.3.5-1) 

lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: nVidia Corporation G86 [GeForce 8400 GS] [10de:0422] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: XFX Pine Group Inc. Device [1682:2312]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	Region 1: Memory at f0000000 (64-bit, prefetchable) [size=128M]
	Region 3: Memory at fa000000 (64-bit, non-prefetchable) [size=32M]
	Region 5: I/O ports at dc00 [size=128]
	[virtual] Expansion ROM at fe9e0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-dkms depends on:
ii  dkms                          2.1.1.2-3  Dynamic Kernel Module Support Fram
ii  nvidia-kernel-common          20100522+1 NVIDIA binary kernel module suppor

Versions of packages nvidia-kernel-dkms recommends:
ii  nvidia-glx                   195.36.24-4 NVIDIA binary Xorg driver

nvidia-kernel-dkms suggests no packages.

Versions of packages nvidia-glx depends on:
ii  dpkg                         1.15.7.2    Debian package management system
ii  libc6                        2.11.2-2    Embedded GNU C Library: Shared lib
ii  libx11-6                     2:1.3.3-3   X11 client-side library
ii  libxext6                     2:1.1.2-1   X11 miscellaneous extension librar
ii  nvidia-kernel-dkms [nvidia-k 195.36.24-4 NVIDIA binary kernel module DKMS s

Versions of packages nvidia-kernel-source depends on:
ii  debhelper                     7.9.3      helper programs for debian/rules
ii  make                          3.81-8     An utility for Directing compilati
ii  quilt                         0.48-7     Tool to work with series of patche

Versions of packages nvidia-kernel-dkms is related to:
ii  binutils                     2.20.1-12   The GNU assembler, linker and bina
pn  binutils-gold                <none>      (no description available)
ii  linux-headers-2.6.31-1-amd64 2.6.31-2    Header files for Linux 2.6.31-1-am
ii  linux-headers-2.6.32-2-amd64 2.6.32-8    Header files for Linux 2.6.32-2-am
ii  linux-headers-2.6.32-3-amd64 2.6.32-9    Header files for Linux 2.6.32-3-am
ii  linux-headers-2.6.32-5-amd64 2.6.32-17   Header files for Linux 2.6.32-5-am
ii  linux-headers-2.6.32-trunk-a 2.6.32-5    Header files for Linux 2.6.32-trun
ii  nvidia-glx                   195.36.24-4 NVIDIA binary Xorg driver
ii  nvidia-kernel-common         20100522+1  NVIDIA binary kernel module suppor
ii  nvidia-kernel-dkms           195.36.24-4 NVIDIA binary kernel module DKMS s
ii  nvidia-kernel-source         195.36.24-4 NVIDIA binary kernel module source
ii  xserver-xorg                 1:7.5+6     the X.Org X server
ii  xserver-xorg-core            2:1.7.7-3   Xorg X server - core server

-- no debconf information





More information about the Pkg-nvidia-devel mailing list