Package: lsb-release
Version: 3.2-8
Severity: important

As the subject says: if I try running lsb_release on a machine with no
official Debian repository in /etc/apt/sources.list, I get:

[EMAIL PROTECTED]:~$ lsb_release -a
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 311, in ?
    main()
  File "/usr/bin/lsb_release", line 275, in main
    distinfo = get_distro_information()
  File "/usr/bin/lsb_release", line 238, in get_distro_information
    distinfo = guess_debian_release()
  File "/usr/bin/lsb_release", line 197, in guess_debian_release
    rinfo = guess_release_from_apt()
  File "/usr/bin/lsb_release", line 164, in guess_release_from_apt
    return releases[0][1]
IndexError: list index out of range

My /etc/apt/sources.list file:

deb file:///var/cache/pbuildd sid main
#deb-src http://ike.egr.msu.edu/debian sid main contrib non-free
deb-src http://debian-mirror.mirror.umn.edu/debian sid main contrib non-free
deb file:///var/cache/pbuildd partial/
deb file:///var/cache/pbuildd old-pool/

/etc/apt/preferences:

Package: *
Pin: release o=pbuildd
Pin-Priority: 600

and the Release file from /var/cache/pbuildd/dists/sid:

Architectures: amd64
Codename: sid
Components: main
Date: Tue, 15 Apr 2008 09:02:13 UTC
Label: pbuildd
Origin: pbuildd
Suite: unstable
MD5Sum:
 66a5a60d53227a918baba0b662ae7f44         20640250 main/binary-amd64/Packages
 9e52bf1dea129caf09e82c25aa8d2d62          4974307 main/binary-amd64/Packages.gz
SHA1:
 dbd9112d1a705cbedca109d05b939bca5552afaf         20640250 
main/binary-amd64/Packages
 cd57b2a1f1fe91c27b93cb27d176c77421a7ac4e          4974307 
main/binary-amd64/Packages.gz
SHA256:
 b55e8f3f9140acbaaada3a994766aa96ca3919be2ce622169100ade42f36994c         
20640250 
main/binary-amd64/Packages
 cc5dfe13108f29493faa6eb122cabaf1001c85f77cdcb52d99f47e6c7bfe0d89          
4974307 
main/binary-amd64/Packages.gz

Let me know if you need any more information to reproduce it.
-- 
Daniel Schepler



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to