On 07/15/2012 03:47 PM, Jeff Licquia wrote: > 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?
Indeed, when trying on the command line it works after I do an explicit apt-get update. I'm confused why I'm getting the error mail from unattended-upgrades though. I would think that apt-get update is ran before that. I'll send an update if the error shows up again. Thanks! -Nikolaus -- »Time flies like an arrow, fruit flies like a Banana.« PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org