Bug#624769: lsb-release: wrong output on debian-ports architectures breaks other packages

Thorsten Glaser <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.general,gmane.linux.debian.devel.lsb
Message-ID <[email protected]>
Didier 'OdyX' Raboud dixit:

>And the attached "full" lsb_release.py ?

Looking better:

ara2:/usr/share/pyshared# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux unstable (sid)
Release:        unstable
Codename:       sid
ara2:/usr/share/pyshared# python -c "from lsb_release import *; print guess_debian_release();"
{'DESCRIPTION': 'Debian GNU/Linux unstable (sid)', 'RELEASE': 'unstable', 'CODENAME': 'sid', 'OS': 'GNU/Linux', 'ID': 'Debian'}
ara2:/usr/share/pyshared# python -c "from lsb_release import *; print guess_release_from_apt()"
{'origin': 'Debian Ports', 'suite': 'unreleased', 'version': '1.0', 'component': 'main', 'label': 'ftp.debian-ports.org'}

Thanks,
//mirabilos
-- 
FWIW, I'm quite impressed with mksh interactively. I thought it was much
*much* more bare bones. But it turns out it beats the living hell out of
ksh93 in that respect. I'd even consider it for my daily use if I hadn't
wasted half my life on my zsh setup. :-) -- Frank Terbeck in #!/bin/mksh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.