Package: lsb-release
Version: 3.2-24
Severity: normal
I helped my father with his system earlier today and looked at what
lsb_release.py mentioned in the stack dump was actually doing. We determined
that among the candidate release lines collected from the output of apt-cache
policy, it couldn't find 'suite' in one or more of the ones that were at the
highest priority. In my father's case all priorities were at default values
(see below).
Our workaround was to pin the default archive at a higher priority than all
others by creating an /etc/apt/preferences containing:
Package: *
Pin: release a=testing
Pin-Priority: 900
With this in place, lsb_release no longer crashed.
$ LANG=C apt-cache policy 2>/dev/null
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://deb.opera.com/opera/ stable/non-free amd64 Packages
release o=Opera Software ASA,a=stable,n=lenny,l=The Opera web
browser,c=non-free
origin deb.opera.com
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
origin dl.google.com
500 http://ftp.de.debian.org/debian/ squeeze/non-free amd64 Packages
release o=Debian,a=testing,n=squeeze,l=Debian,c=non-free
origin ftp.de.debian.org
500 http://ftp.de.debian.org/debian/ squeeze/main amd64 Packages
release o=Debian,a=testing,n=squeeze,l=Debian,c=main
origin ftp.de.debian.org
500 http://download.virtualbox.org/virtualbox/debian/ squeeze/non-free amd64
Packages
release o=Oracle Corporation,n=squeeze,l=Oracle Corporation,c=non-free
origin download.virtualbox.org
500 http://http.us.debian.org/debian/ sid/main amd64 Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=main
origin http.us.debian.org
500 http://http.us.debian.org/debian/ sid/contrib amd64 Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=contrib
origin http.us.debian.org
500 http://www.debian-multimedia.org/ squeeze/non-free amd64 Packages
release v=None,o=Unofficial Multimedia
Packages,a=testing,n=squeeze,l=Unofficial Multimedia Packages,c=non-free
origin www.debian-multimedia.org
500 http://www.debian-multimedia.org/ squeeze/main amd64 Packages
release v=None,o=Unofficial Multimedia
Packages,a=testing,n=squeeze,l=Unofficial Multimedia Packages,c=main
origin www.debian-multimedia.org
500 http://security.debian.org/ squeeze/updates/main amd64 Packages
release v=None,o=Debian,a=testing,n=squeeze,l=Debian-Security,c=main
origin security.debian.org
500 http://security.debian.org/ squeeze/updates/non-free amd64 Packages
release v=None,o=Debian,a=testing,n=squeeze,l=Debian-Security,c=non-free
origin security.debian.org
500 http://security.debian.org/ squeeze/updates/contrib amd64 Packages
release v=None,o=Debian,a=testing,n=squeeze,l=Debian-Security,c=contrib
origin security.debian.org
500 http://ftp3.nrc.ca/debian/ squeeze-proposed-updates/main amd64 Packages
release
o=Debian,a=testing-proposed-updates,n=squeeze-proposed-updates,l=Debian,c=main
origin ftp3.nrc.ca
500 http://ftp3.nrc.ca/debian/ squeeze-proposed-updates/non-free amd64 Packages
release
o=Debian,a=testing-proposed-updates,n=squeeze-proposed-updates,l=Debian,c=non-free
origin ftp3.nrc.ca
500 http://ftp3.nrc.ca/debian/ squeeze-proposed-updates/contrib amd64 Packages
release
o=Debian,a=testing-proposed-updates,n=squeeze-proposed-updates,l=Debian,c=contrib
origin ftp3.nrc.ca
500 http://http.us.debian.org/debian/ squeeze/non-free amd64 Packages
release o=Debian,a=testing,n=squeeze,l=Debian,c=non-free
origin http.us.debian.org
500 http://http.us.debian.org/debian/ squeeze/contrib amd64 Packages
release o=Debian,a=testing,n=squeeze,l=Debian,c=contrib
origin http.us.debian.org
500 http://http.us.debian.org/debian/ squeeze/main amd64 Packages
release o=Debian,a=testing,n=squeeze,l=Debian,c=main
origin http.us.debian.org
Pinned packages:
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]