Package: lsb-release
Version: 3.2-24
Severity: important

Invoking lsb_release always produces the following error:

Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 96, in <module>
    main()
  File "/usr/bin/lsb_release", line 60, in main
    distinfo = lsb_release.get_distro_information()
  File "/usr/lib/pymodules/python2.6/lsb_release.py", line 271, in 
get_distro_information
    distinfo = guess_debian_release()
  File "/usr/lib/pymodules/python2.6/lsb_release.py", line 225, in 
guess_debian_release
    rinfo = guess_release_from_apt()
  File "/usr/lib/pymodules/python2.6/lsb_release.py", line 179, in 
guess_release_from_apt
    releases.sort(cmp = lambda x,y: RELEASES_ORDER.index(y[1]['suite']) - 
RELEASES_ORDER.index(x[1]['suite']))
  File "/usr/lib/pymodules/python2.6/lsb_release.py", line 179, in <lambda>
    releases.sort(cmp = lambda x,y: RELEASES_ORDER.index(y[1]['suite']) - 
RELEASES_ORDER.index(x[1]['suite']))
ValueError: list.index(x): x not in list

No other output is given.

Downgrading lsb_release to 3.2-23.1 seems to solve this issue; this is its 
output:

LSB Version:    
core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:languages-3.2-ia32:languages-3.2-noarch:multimedia-3.2-ia32:multimedia-3.2-noarch:printing-3.2-ia32:printing-3.2-noarch:qt4-3.1-ia32:qt4-3.1-noarch

Thanks


Mau


-- Package-specific info:
lsb_release output
-*- -*- -*- -*- -*-
-*- -*- -*- -*- -*-
    Apt policy
-*- -*- -*- -*- -*-
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://www.sixxs.net/archive/sixxs/aiccu/debian/ unstable/main i386 
Packages
     release o=SixXS / http://www.sixxs.net / 
i...@sixxs.net,l=sixxs,c=main,b=i386, amd64, armeb, source
     origin www.sixxs.net
 500 http://deb.opera.com/opera/ sid/non-free i386 Packages
     release o=Opera Software ASA,a=unstable,n=sid,l=The Opera web 
browser,c=non-free
     origin deb.opera.com
 500 http://download.skype.com/linux/repos/debian/ stable/non-free i386 Packages
     origin download.skype.com
 500 http://wine.sourceforge.net/apt/ binary/ Packages
     release o=sc...@open-vote.org,l=WineHQ APT Repository,c=main,b=i386
     origin wine.sourceforge.net
 500 http://tovid.sourceforge.net/download/debian/ unstable/contrib i386 
Packages
     origin tovid.sourceforge.net
 500 http://tovid.sourceforge.net/download/debian/ testing/contrib i386 Packages
     origin tovid.sourceforge.net
  99 http://www.rarewares.org/debian/packages/unstable/ ./ Packages
     release o=xmixahlx,l=xmixahlx_rarewares-unstable,c=,b=i386
     origin www.rarewares.org
  99 http://www.rarewares.org/debian/packages/stable/ ./ Packages
     release o=xmixahlx,l=xmixahlx_rarewares-stable,c=,b=i386
     origin www.rarewares.org
 500 http://snapshots.ekiga.net/snapshots/debian/ ./ Packages
     release o=Ekiga team (Eugen Dedu),a=unstable,n=unstable,l=Ekiga SVN 
Snapshots,c=
     origin snapshots.ekiga.net
 500 http://www.bunkus.org/debian/sid/ ./ Packages
     release o=bunkus,l=bunkus,c=
     origin www.bunkus.org
 500 http://www.bunkus.org/debian/lenny/ ./ Packages
     release o=bunkus,l=bunkus,c=
     origin www.bunkus.org
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ unstable/non-free 
Translation-it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ unstable/main 
Translation-it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ unstable/non-free i386 
Packages
     release v=None,o=Unofficial Multimedia 
Packages,a=unstable,n=sid,l=Unofficial Multimedia Packages,c=non-free
     origin mi.mirror.garr.it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ unstable/main i386 
Packages
     release v=None,o=Unofficial Multimedia 
Packages,a=unstable,n=sid,l=Unofficial Multimedia Packages,c=main
     origin mi.mirror.garr.it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ testing/non-free 
Translation-it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ testing/main 
Translation-it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ testing/non-free i386 
Packages
     release v=None,o=Unofficial Multimedia 
Packages,a=testing,n=squeeze,l=Unofficial Multimedia Packages,c=non-free
     origin mi.mirror.garr.it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ testing/main i386 
Packages
     release v=None,o=Unofficial Multimedia 
Packages,a=testing,n=squeeze,l=Unofficial Multimedia Packages,c=main
     origin mi.mirror.garr.it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ stable/non-free 
Translation-it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ stable/main 
Translation-it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ stable/non-free i386 
Packages
     release v=5.0r0,o=Unofficial Multimedia 
Packages,a=stable,n=lenny,l=Unofficial Multimedia Packages,c=non-free
     origin mi.mirror.garr.it
 500 http://mi.mirror.garr.it/mirrors/debian-multimedia/ stable/main i386 
Packages
     release v=5.0r0,o=Unofficial Multimedia 
Packages,a=stable,n=lenny,l=Unofficial Multimedia Packages,c=main
     origin mi.mirror.garr.it
 100 http://ftp.de.debian.org/debian/ experimental/contrib i386 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=contrib
     origin ftp.de.debian.org
 100 http://ftp.de.debian.org/debian/ experimental/non-free i386 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=non-free
     origin ftp.de.debian.org
 100 http://ftp.de.debian.org/debian/ experimental/main i386 Packages
     release o=Debian,a=experimental,n=experimental,l=Debian,c=main
     origin ftp.de.debian.org
 500 http://ftp.de.debian.org/debian/ unstable/main Translation-it
 990 http://ftp.de.debian.org/debian/ unstable/contrib i386 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=contrib
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ unstable/non-free i386 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=non-free
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ unstable/main i386 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=main
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ testing-proposed-updates/contrib i386 
Packages
     release 
o=Debian,a=testing-proposed-updates,n=squeeze-proposed-updates,l=Debian,c=contrib
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ testing-proposed-updates/non-free i386 
Packages
     release 
o=Debian,a=testing-proposed-updates,n=squeeze-proposed-updates,l=Debian,c=non-free
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ testing-proposed-updates/main i386 
Packages
     release 
o=Debian,a=testing-proposed-updates,n=squeeze-proposed-updates,l=Debian,c=main
     origin ftp.de.debian.org
 990 http://security.debian.org/ testing/updates/non-free i386 Packages
     release v=None,o=Debian,a=testing,n=squeeze,l=Debian-Security,c=non-free
     origin security.debian.org
 990 http://security.debian.org/ testing/updates/contrib i386 Packages
     release v=None,o=Debian,a=testing,n=squeeze,l=Debian-Security,c=contrib
     origin security.debian.org
 990 http://security.debian.org/ testing/updates/main i386 Packages
     release v=None,o=Debian,a=testing,n=squeeze,l=Debian-Security,c=main
     origin security.debian.org
 500 http://ftp.de.debian.org/debian/ testing/main Translation-it
 990 http://ftp.de.debian.org/debian/ testing/contrib i386 Packages
     release o=Debian,a=testing,n=squeeze,l=Debian,c=contrib
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ testing/non-free i386 Packages
     release o=Debian,a=testing,n=squeeze,l=Debian,c=non-free
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ testing/main i386 Packages
     release o=Debian,a=testing,n=squeeze,l=Debian,c=main
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ lenny-proposed-updates/contrib i386 
Packages
     release 
v=5.0-updates,o=Debian,a=proposed-updates,n=lenny-proposed-updates,l=Debian,c=contrib
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ lenny-proposed-updates/non-free i386 
Packages
     release 
v=5.0-updates,o=Debian,a=proposed-updates,n=lenny-proposed-updates,l=Debian,c=non-free
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ lenny-proposed-updates/main i386 Packages
     release 
v=5.0-updates,o=Debian,a=proposed-updates,n=lenny-proposed-updates,l=Debian,c=main
     origin ftp.de.debian.org
 990 http://security.debian.org/ stable/updates/non-free i386 Packages
     release v=5.0,o=Debian,a=stable,n=lenny,l=Debian-Security,c=non-free
     origin security.debian.org
 990 http://security.debian.org/ stable/updates/contrib i386 Packages
     release v=5.0,o=Debian,a=stable,n=lenny,l=Debian-Security,c=contrib
     origin security.debian.org
 990 http://security.debian.org/ stable/updates/main i386 Packages
     release v=5.0,o=Debian,a=stable,n=lenny,l=Debian-Security,c=main
     origin security.debian.org
 500 http://ftp.de.debian.org/debian/ stable/main Translation-it
 990 http://ftp.de.debian.org/debian/ stable/contrib i386 Packages
     release v=5.0.6,o=Debian,a=stable,n=lenny,l=Debian,c=contrib
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ stable/non-free i386 Packages
     release v=5.0.6,o=Debian,a=stable,n=lenny,l=Debian,c=non-free
     origin ftp.de.debian.org
 990 http://ftp.de.debian.org/debian/ stable/main i386 Packages
     release v=5.0.6,o=Debian,a=stable,n=lenny,l=Debian,c=main
     origin ftp.de.debian.org
 500 file:/var/cache/apt-build/repository/ apt-build/main i386 Packages
     release o=apt-build,l=apt-build,c=main,b=i386
Pinned packages:
     iceweasel-l10n-it -> 1:3.6.10+debian-1
     iceweasel -> 3.6.10-1
-*- -*- -*- -*- -*-
   sources.list
-*- -*- -*- -*- -*-
deb file:/var/cache/apt-build/repository/ apt-build main
deb http://ftp.de.debian.org/debian/ stable main non-free contrib
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://ftp.de.debian.org/debian/ lenny-proposed-updates main non-free 
contrib
deb http://ftp.de.debian.org/debian/ testing main non-free contrib
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://ftp.de.debian.org/debian/ testing-proposed-updates main non-free 
contrib
deb http://ftp.de.debian.org/debian/ unstable main non-free contrib
deb http://ftp.de.debian.org/debian/ experimental main non-free contrib
deb http://mi.mirror.garr.it/mirrors/debian-multimedia stable main non-free
deb http://mi.mirror.garr.it/mirrors/debian-multimedia testing main non-free
deb http://mi.mirror.garr.it/mirrors/debian-multimedia unstable main non-free
deb http://www.bunkus.org/debian/lenny/ ./
deb http://www.bunkus.org/debian/sid/ ./
deb http://snapshots.ekiga.net/snapshots/debian/ ./ # Ekiga snapshots and 
non-free codecs (unstable)
deb http://www.rarewares.org/debian/packages/stable/ ./
deb http://www.rarewares.org/debian/packages/unstable/ ./
deb http://tovid.sourceforge.net/download/debian testing contrib # Tovid
deb http://tovid.sourceforge.net/download/debian unstable contrib # Tovid
deb http://wine.sourceforge.net/apt/ binary/
deb http://download.skype.com/linux/repos/debian/ stable non-free # Skype 
official repository
deb http://deb.opera.com/opera/ sid non-free # Opera official repository
deb http://www.sixxs.net/archive/sixxs/aiccu/debian/ unstable main # AICCU
-*- -*- -*- -*- -*-
 /etc/lsb_release
-*- -*- -*- -*- -*-
- none

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (990, 'testing-proposed-updates'), (990, 'proposed-updates'), 
(990, 'unstable'), (990, 'testing'), (990, 'stable'), (200, 'unstable'), (100, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-p4 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lsb-release depends on:
ii  python                        2.6.6-1    interactive high-level object-orie
ii  python-support                1.0.10     automated rebuilding support for P

Versions of packages lsb-release recommends:
ii  apt                           0.8.5      Advanced front-end for dpkg

Versions of packages lsb-release suggests:
ii  lsb                           3.2-24     Linux Standard Base 3.2 support pa

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to