Package: lsb-release
Version: 3.2-27
Severity: normal
Tags: patch

ok it's not exactly a patch but close:
policy = commands.getoutput('LANG=C apt-cache policy 2>/dev/null')

should be:
policy = commands.getoutput('LANG=C apt-cache policy 2&>/dev/null')

in lsb_release.py parse_apt_policy function

-- Package-specific info:
lsb_release output
-*- -*- -*- -*- -*-
LSB Version:    
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch
Distributor ID: Debian
Description:    Debian GNU/Linux 5.0.8 (lenny)
Release:        5.0.8
Codename:       lenny
-*- -*- -*- -*- -*-
    Apt policy
-*- -*- -*- -*- -*-
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://dl.google.com/linux/talkplugin/deb/ stable/main amd64 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
     origin dl.google.com
 500 http://dl.google.com/linux/deb/ stable/main amd64 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
     origin dl.google.com
 500 http://www.emdebian.org/debian/ unstable/main amd64 Packages
     release v=2.1,o=Debian,a=unstable,n=sid,l=DebianToolchains,c=main
     origin www.emdebian.org
 500 http://www.emdebian.org/debian/ lenny/main amd64 Packages
     release v=1.0,o=Debian,a=oldstable,n=lenny,l=DebianToolchains,c=main
     origin www.emdebian.org
 500 http://debian-multimedia.org/ stable/non-free amd64 Packages
     release v=6.0,o=Unofficial Multimedia 
Packages,a=stable,n=squeeze,l=Unofficial Multimedia Packages,c=non-free
     origin debian-multimedia.org
 500 http://debian-multimedia.org/ stable/main amd64 Packages
     release v=6.0,o=Unofficial Multimedia 
Packages,a=stable,n=squeeze,l=Unofficial Multimedia Packages,c=main
     origin debian-multimedia.org
 500 http://ftp.uk.debian.org/debian/ testing/non-free amd64 Packages
     release o=Debian,a=testing,n=wheezy,l=Debian,c=non-free
     origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ testing/contrib amd64 Packages
     release o=Debian,a=testing,n=wheezy,l=Debian,c=contrib
     origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ testing/main amd64 Packages
     release o=Debian,a=testing,n=wheezy,l=Debian,c=main
     origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ lenny/non-free amd64 Packages
     release v=5.0.8,o=Debian,a=oldstable,n=lenny,l=Debian,c=non-free
     origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ lenny/contrib amd64 Packages
     release v=5.0.8,o=Debian,a=oldstable,n=lenny,l=Debian,c=contrib
     origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ lenny/main amd64 Packages
     release v=5.0.8,o=Debian,a=oldstable,n=lenny,l=Debian,c=main
     origin ftp.uk.debian.org
Pinned packages:
-*- -*- -*- -*- -*-
   sources.list
-*- -*- -*- -*- -*-
deb http://ftp.uk.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ lenny main contrib non-free
deb http://ftp.uk.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ testing main contrib non-free
deb http://debian-multimedia.org/ stable main contrib non-free
deb http://www.emdebian.org/debian lenny main
-*- -*- -*- -*- -*-
 /etc/lsb_release
-*- -*- -*- -*- -*-
- none

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

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

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

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

Versions of packages lsb-release suggests:
pn  lsb                           <none>     (no description available)

-- 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