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

All debian-ports.org architectures [alpha armhf avr32 hppa
(maybe)hurd-i386 (maybe)kfreebsd-amd64 (maybe)kfreebsd-i386
m68k powerpcspe sh4 sparc64] will have broken output:

(pbuild17226)root@aranym:/ # lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux testing/unstable
Release:        testing/unstable
Codename:       n/a

The cause is this:

Python 2.6.6 (r266:84292, Apr 27 2011, 15:17:58)
[GCC 4.4.6] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from lsb_release import *
>>> releases = parse_apt_policy()
>>> releases
[(100, {'suite': 'now'}), (500, {'origin': 'Debian Ports', 'suite': 
'unreleased', 'version': '1.0', 'component': 'main', 'label': 
'ftp.debian-ports.org'}), (500, {'origin': 'Debian Ports', 'suite': 'unstable', 
'version': '1.0', 'component': 'main', 'label': 'ftp.debian-ports.org'}), (500, 
{'origin': 'ARAnyM from Debian Ports', 'suite': 'sid', 'component': 'main', 
'label': 'tg68k'})]

As you can see, the “origin” and “label” differ, which leads to
not being recognised as “sid”.

Workaround:
# cat >/etc/lsb-release <<'EOF'
DISTRIB_RELEASE=unstable
DISTRIB_CODENAME=sid
EOF

Please fix lsb-release to recognise debian-ports.org archives
if no Debian archive is found, because this breaks packages
like gcc-defaults which read out the codename information to
find out, for example, whether to use multilib.l

-- Package-specific info:
lsb_release output
-*- -*- -*- -*- -*-
Distributor ID: Debian
Description:    Debian GNU/Linux testing/unstable
Release:        testing/unstable
Codename:       n/a
-*- -*- -*- -*- -*-
    Apt policy
-*- -*- -*- -*- -*-
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://mirror.bonn.tarent.de/mirror/tarent/ indep/tarent m68k Packages
     release o=tarent GmbH,a=indep,n=indep,l=tarent,c=tarent
     origin mirror.bonn.tarent.de
 500 http://www.freewrt.org/~tg/debs/ sid/wtf m68k Packages
     release o=The MirOS Project,a=sid,n=sid,l=wtf,c=wtf
     origin www.freewrt.org
 500 http://ftp.debian-ports.org/debian/ unreleased/main m68k Packages
     release v=1.0,o=Debian 
Ports,a=unreleased,n=unreleased,l=ftp.debian-ports.org,c=main
     origin ftp.debian-ports.org
 500 http://ftp.debian-ports.org/debian/ unstable/main m68k Packages
     release v=1.0,o=Debian Ports,a=unstable,n=sid,l=ftp.debian-ports.org,c=main
     origin ftp.debian-ports.org
 500 http://www.freewrt.org/~tg/debs68k/ sid/main m68k Packages
     release o=ARAnyM from Debian Ports,a=sid,n=sid,l=tg68k,c=main
     origin www.freewrt.org
Pinned packages:
     x11proto-xext-dev -> 7.0.2-5
     libx11-data -> 2:1.3.3-4
     x11proto-xinerama-dev -> 1.1.2-4
     cmake-data -> 2.8.2-2
     libxi-dev -> 1:1.0.1-4
     libxmu-headers -> 2:1.0.4-1
     mesa-common-dev -> 7.0.3-6
     fontconfig-config -> 2.8.0-2.1
     x11proto-record-dev -> 1.13.2-4
     kdelibs5-data -> 4:4.2.2-2
     x11proto-scrnsaver-dev -> 1.1.0.0-1
     x11proto-input-dev -> 1.3.2-4
     x11proto-fixes-dev -> 4.0-2
     libxi6 -> 1:1.0.1-4
     gsfonts-x11 -> 0.21
-*- -*- -*- -*- -*-
   sources.list
-*- -*- -*- -*- -*-
deb http://www.freewrt.org/~tg/debs68k/ sid main
deb-src http://www.freewrt.org/~tg/debs68k/ sid main
deb http://ftp.debian-ports.org/debian unstable main
deb http://ftp.debian-ports.org/debian unreleased main
deb-src http://ftp.de.debian.org/debian unstable main
deb-src http://ftp.debian-ports.org/debian unreleased main
deb-src http://incoming.debian-ports.org/buildd unstable main
deb http://www.freewrt.org/~tg/debs/ sid wtf
deb http://mirror.bonn.tarent.de/mirror/tarent indep tarent
-*- -*- -*- -*- -*-
 /etc/lsb_release
-*- -*- -*- -*- -*-
- none

-- System Information:
Debian Release: wheezy/sid
Architecture: m68k

Kernel: Linux 2.6.38-1+m68k.3-atari
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/mksh-static

Versions of packages lsb-release depends on:
ii  python                        2.6.6-14   interactive high-level object-orie
ii  python-support                1.0.13     automated rebuilding support for P

Versions of packages lsb-release recommends:
ii  apt                           0.8.14.1   Advanced front-end for dpkg

Versions of packages lsb-release suggests:
pn  lsb                           <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to