Bug#314942: gnome-system-tools: Fails to recognise Debian version Sarge+

Peter Harkness Peter Harkness <ilpapaguasto@yahoo.co.uk>, 314942@bugs.debian.org
Sun, 19 Jun 2005 15:41:43 +0100


Package: gnome-system-tools
Version: 1.2.0-2
Severity: normal


When launching network-admin, the Debian release is not recognized and
an 'Unrecognized Platform' dialog is presented.  Sid is not mentioned in
the list of releases but the check made in
/usr/share/setup-tool-backends/scripts/platform.pl uses DISTRIB_ID and
DISTRIB_RELEASE from /etc/lsb-release.

My /etc/lsb-release looks like this:

DISTRIB_ID=Debian
DISTRIB_RELEASE=3.1
DISTRIB_CODENAME=sarge
DISTRIB_DESCRIPTION="Debian GNU/Linux"

platform.pl check_lsb() uses DISTRIB_RELEASE, but in all the scripts
this is ccompared with the value 'sarge' rather than 3.1 for
compatibility.

A nasty hack workaround is Modifying DISTRIB_RELEASE to 'sarge' to allow
the tool to recognise the system. Alternatively platform.pl can be
modified in gst_platform_guess() altering the running order of the
checks to look for debian first placing \&check_debian ahead of
\&check_lsb.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-mercurial
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages gnome-system-tools depends on:
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.10.1-2        The ATK accessibility toolkit
ii  libaudiofile0            0.2.6-6         Open-source version of SGI's audio
ii  libbonobo2-0             2.8.1-2         Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.8.1-2         The Bonobo UI library
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libesd-alsa0 [libesd0]   0.2.35-2.1      Enlightened Sound Daemon (ALSA) - 
ii  libgconf2-4              2.10.0-2        GNOME configuration database syste
ii  libgcrypt11              1.2.0-11.1      LGPL Crypto library - runtime libr
ii  libglade2-0              1:2.5.1-2       library to load .glade files at ru
ii  libglib2.0-0             2.6.5-1         The GLib library of C routines
ii  libgnome-keyring0        0.4.2-1         GNOME keyring services library
ii  libgnome2-0              2.10.0-3        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.10.2-2        A powerful object-oriented display
ii  libgnomeui-0             2.10.0-2        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           2.10.1-5        The GNOME virtual file-system libr
ii  libgnutls11              1.0.16-13.1     GNU TLS library - runtime library
ii  libgpg-error0            1.0-1           library for common error values an
ii  libgtk2.0-0              2.6.8-1         The GTK+ graphical user interface 
ii  libice6                  4.3.0.dfsg.1-14 Inter-Client Exchange library
ii  libjpeg62                6b-10           The Independent JPEG Group's JPEG 
ii  libnautilus-extension1   2.10.1-2        libraries for nautilus components 
ii  liborbit2                1:2.12.2-1      libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  libsm6                   4.3.0.dfsg.1-14 X Window System Session Management
ii  libtasn1-2               0.2.10-4        Manage ASN.1 structures (runtime)
ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxml2                  2.6.16-7        GNOME XML library
ii  perl                     5.8.7-3         Larry Wall's Practical Extraction 
ii  system-tools-backends    1.2.0-4         System Tools to manage computer co
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

Versions of packages gnome-system-tools recommends:
ii  gnome-control-center          1:2.10.1-3 The GNOME Control Center for GNOME

-- no debconf information