Package: lsb-release
Version: 3.2-23
Severity: important
I'm running an up-to-date sid box, and when I run lsb_release -r it tells me:
Codename: lenny
$ cat /etc/debian_version
squeeze/sid
It seems like lsb_release -r looks at my apt/sources.list and sees the first
line:
deb http://debian.csail.mit.edu/debian stable main contrib non-free
and decides that I am running a 'stable' machine, even though it is a
perfectly reasonable configuration to have on a sid box (I need to
occasionally install a packge from stable to do some testing). If I remove this
line, then the Codename shows 'sid'.
There must be a better way to determine this than by picking up the
lowest entry in sources.list?
micah
-- Package-specific info:
lsb_release output
-*- -*- -*- -*- -*-
LSB Version:
core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:qt4-3.1-ia32:qt4-3.1-noarch
Distributor ID: Debian
Description: Debian GNU/Linux 5.0.2 (lenny)
Release: 5.0.2
Codename: lenny
-*- -*- -*- -*- -*-
Apt policy
-*- -*- -*- -*- -*-
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://deb.riseup.net sid/main Packages
release o=riseup,a=unstable,n=sid,l=riseup,c=main
origin deb.riseup.net
500 http://archive.monkeysphere.info experimental/monkeysphere Packages
release o=The Monkeysphere
Project,a=experimental,n=experimental,l=Monkeysphere/Debian,c=monkeysphere
origin archive.monkeysphere.info
500 http://www.debian-multimedia.org sid/main Packages
release v=None,o=Unofficial Multimedia
Packages,a=unstable,n=sid,l=Unofficial Multimedia Packages,c=main
origin www.debian-multimedia.org
500 http://emacs.orebokech.com sid/main Packages
release
v=5.1,o=emacs.orebokech.com,a=unstable,n=sid,l=emacs.orebokech.com,c=main
origin emacs.orebokech.com
1 http://ftp.debian.org experimental/non-free Packages
release o=Debian,a=experimental,n=experimental,l=Debian,c=non-free
origin ftp.debian.org
1 http://ftp.debian.org experimental/contrib Packages
release o=Debian,a=experimental,n=experimental,l=Debian,c=contrib
origin ftp.debian.org
1 http://ftp.debian.org experimental/main Packages
release o=Debian,a=experimental,n=experimental,l=Debian,c=main
origin ftp.debian.org
500 http://ftp.debian.org sid/non-free Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=non-free
origin ftp.debian.org
500 http://ftp.debian.org sid/contrib Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=contrib
origin ftp.debian.org
500 http://ftp.debian.org sid/main Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=main
origin ftp.debian.org
500 http://debian.csail.mit.edu stable/non-free Packages
release v=5.0.2,o=Debian,a=stable,n=lenny,l=Debian,c=non-free
origin debian.csail.mit.edu
500 http://debian.csail.mit.edu stable/contrib Packages
release v=5.0.2,o=Debian,a=stable,n=lenny,l=Debian,c=contrib
origin debian.csail.mit.edu
500 http://debian.csail.mit.edu stable/main Packages
release v=5.0.2,o=Debian,a=stable,n=lenny,l=Debian,c=main
origin debian.csail.mit.edu
Pinned packages:
-*- -*- -*- -*- -*-
sources.list
-*- -*- -*- -*- -*-
deb http://debian.csail.mit.edu/debian stable main contrib non-free
deb-src http://debian.csail.mit.edu/debian stable main contrib non-free
deb http://ftp.debian.org/debian sid main contrib non-free
deb-src http://ftp.debian.org/debian sid main contrib non-free
deb http://ftp.debian.org/debian experimental main contrib non-free
deb http://emacs.orebokech.com sid main
deb http://www.debian-multimedia.org sid main
deb http://archive.monkeysphere.info/debian experimental monkeysphere
deb-src http://archive.monkeysphere.info/debian experimental monkeysphere
deb-src http://cmrg.fifthhorseman.net/debian unstable debirf
deb http://deb.riseup.net/debian sid main
-*- -*- -*- -*- -*-
/etc/lsb_release
-*- -*- -*- -*- -*-
- none
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lsb-release depends on:
ii python 2.5.4-2 An interactive high-level object-o
ii python-support 1.0.3 automated rebuilding support for P
Versions of packages lsb-release recommends:
ii apt 0.7.22.1 Advanced front-end for dpkg
Versions of packages lsb-release suggests:
ii lsb 3.2-23 Linux Standard Base 3.2 support pa
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]