Bug#681598: /usr/share/pyshared/lsb_release.py: release detection fails with http.debian.net redirector in sources.list

Jeff Licquia <[email protected]>
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <50031E46.2060804__43219.1637148664$1342382237$gmane$org@debian.org>
On 07/14/2012 11:45 AM, Nikolaus Rath wrote:
> When using the http.debian.net redirector, though
> 
> | deb-src http://http.debian.net/debian/ testing main contrib non-free
> | deb http://http.debian.net/debian/ testing main contrib non-free
> 
> the detection fails:

Cannot duplicate on my system:

----
jeff@virtpc-wheezy:~$ python
Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lsb_release
>>> lsb_release.get_distro_information()
{'DESCRIPTION': u'Debian GNU/Linux testing (wheezy)', 'RELEASE':
u'testing', 'CODENAME': 'wheezy', 'OS': 'GNU/Linux', 'ID': 'Debian'}
>>>
jeff@virtpc-wheezy:~$ cat /etc/apt/sources.list

deb http://http.debian.net/debian/ testing main contrib non-free
deb-src http://http.debian.net/debian/ testing main contrib non-free

#deb http://security.debian.org/ testing/updates main contrib non-free
#deb-src http://security.debian.org/ testing/updates main contrib non-free

#deb http://ftp.uwsg.indiana.edu/linux/debian/ wheezy-updates main
contrib non-free
#deb-src http://ftp.uwsg.indiana.edu/linux/debian/ wheezy-updates main
contrib non-free
jeff@virtpc-wheezy:~$
----

One potential issue I did find: lsb_release did get quite confused when
I changed sources.list but did not "apt-get update" afterwards.  Can you
check that and see if "apt-get update" makes a difference?
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.