Warty should be in the supported distribution

Bug #7221 reported by Debian Bug Importer
8
Affects Status Importance Assigned to Milestone
gnome-system-tools (Debian)
Fix Released
Unknown
gnome-system-tools (Ubuntu)
Fix Released
High
Sebastien Bacher

Bug Description

Automatically imported from Debian bug report #262080 http://bugs.debian.org/262080

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #262080 http://bugs.debian.org/262080

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.2 KiB)

Message-Id: <E1BqEXM-0006vK-D3@localhost>
Date: Thu, 29 Jul 2004 19:17:48 +0200
From: Frederic Peters <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: Distribution no longer detected properly

--===============0449377583==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: gnome-system-tools
Version: 0.33.0-1
Severity: grave
Tags: patch

Since base-files changed /etc/debian_version from "testing/unstable" to "3.1";
gnome-system-tools has been unable to properly detect the distribution.

Patch to backends/platform.pl.in is attached.

Regards,
 Frederic

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (ignored: LC_ALL set to fr_BE.UTF-8)

Versions of packages gnome-system-tools depends on:
ii libart-2.0-2 2.3.16-6 Library of functions for 2D graphi
ii libatk1.0-0 1.6.1-2 The ATK accessibility toolkit
ii libbonobo2-0 2.6.2-5 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.6.1-1 The Bonobo UI library
di libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libgconf2-4 2.6.2-1 GNOME configuration database syste
ii libglade2-0 1:2.4.0-1 Library to load .glade files at ru
ii libglib2.0-0 2.4.4-1 The GLib library of C routines
ii libgnome2-0 2.6.1-8 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.6.1.1-2 A powerful object-oriented display
ii libgnomeui-0 2.6.1.1-3 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.6.1.1-5 The GNOME virtual file-system libr
ii libgtk2.0-0 2.4.4-1 The GTK+ graphical user interface
ii libice6 4.3.0.dfsg.1-6 Inter-Client Exchange library
ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.4.0-4 Layout and rendering of internatio
ii libpopt0 1.7-4 lib for parsing cmdline parameters
ii libsm6 4.3.0.dfsg.1-6 X Window System Session Management
ii libxml2 2.6.11-2 GNOME XML library
ii perl 5.8.4-2 Larry Wall's Practical Extraction
hi xlibs 4.3.0.dfsg.1-6 X Window System client libraries m
ii zlib1g 1:1.2.1.1-5 compression library - runtime

-- no debconf information

--===============0449377583==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="patch"

--- platform.pl.in.orig 2004-07-29 19:10:50.000000000 +0200
+++ platform.pl.in 2004-07-29 19:13:37.000000000 +0200
@@ -101,7 +101,8 @@
 {
   my ($ver, $i);
   my %vermap =
- ("testing/unstable" => "sarge");
+ ("testing/unstable" => "sarge",
+ "3.1" => "sarge")...

Read more...

Revision history for this message
Sebastien Bacher (seb128) wrote :

Not exactly this problem, but on the start it displays a "The platform you are
running is not supported by this tool" ... it should be :)

Revision history for this message
In , Mantas Kriaučiūnas (mantas) wrote : 2 new upstream gnome-system-tools versions (0.34 and 0.90) with important bufixes are released - please update debian packages

Hi,

Debian Sarge soon will be frozen, so it would be nice if sarge would be
released with correctly working gnome-system-tools. Current Debian
version (0.33) has some important bugs - network admin corrupts
smb.conf, also there are troubles with entering IP addresses.

Latest upstream version (0.90) solves these, and several other problems,
so please update debian packages ASAP.

For 0.90 and 0.34 anouncement look here:

http://lists.gnome.org/archives/system-tools-list/2004-July/msg00019.html

http://lists.gnome.org/archives/system-tools-list/2004-June/msg00003.html

Thanks for maintaining :)

--
Good luck,
Mantas Kriaučiūnas <email address hidden> Jabber ID: <email address hidden>
Public organization "Open Source for Lithuania" - www.akl.lt

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 3 Aug 2004 01:15:43 +0300
From: "AKL. Mantas Kriauciunas" <email address hidden>
To: <email address hidden>
Subject: 2 new upstream gnome-system-tools versions (0.34 and 0.90) with important bufixes are
 released - please update debian packages

Hi,

Debian Sarge soon will be frozen, so it would be nice if sarge would be
released with correctly working gnome-system-tools. Current Debian
version (0.33) has some important bugs - network admin corrupts
smb.conf, also there are troubles with entering IP addresses.

Latest upstream version (0.90) solves these, and several other problems,
so please update debian packages ASAP.

For 0.90 and 0.34 anouncement look here:

http://lists.gnome.org/archives/system-tools-list/2004-July/msg00019.html

http://lists.gnome.org/archives/system-tools-list/2004-June/msg00003.html

Thanks for maintaining :)

--=20
Good luck,
Mantas Kriau=C4=8Di=C5=ABnas <email address hidden> Jabber ID: <email address hidden>=
t
Public organization "Open Source for Lithuania" - www.akl.lt

Revision history for this message
In , Jose Carlos Garcia Sogo (jsogo) wrote : Bug#262080: fixed in gnome-system-tools 0.90.0-1

Source: gnome-system-tools
Source-Version: 0.90.0-1

We believe that the bug you reported is fixed in the latest version of
gnome-system-tools, which is due to be installed in the Debian FTP archive:

gnome-system-tools_0.90.0-1.diff.gz
  to pool/main/g/gnome-system-tools/gnome-system-tools_0.90.0-1.diff.gz
gnome-system-tools_0.90.0-1.dsc
  to pool/main/g/gnome-system-tools/gnome-system-tools_0.90.0-1.dsc
gnome-system-tools_0.90.0-1_i386.deb
  to pool/main/g/gnome-system-tools/gnome-system-tools_0.90.0-1_i386.deb
gnome-system-tools_0.90.0.orig.tar.gz
  to pool/main/g/gnome-system-tools/gnome-system-tools_0.90.0.orig.tar.gz
ximian-setup-tools_0.90.0-1_all.deb
  to pool/main/g/gnome-system-tools/ximian-setup-tools_0.90.0-1_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jose Carlos Garcia Sogo <email address hidden> (supplier of updated gnome-system-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 4 Aug 2004 16:46:06 +0200
Source: gnome-system-tools
Binary: ximian-setup-tools gnome-system-tools
Architecture: source i386 all
Version: 0.90.0-1
Distribution: unstable
Urgency: low
Maintainer: Jose Carlos Garcia Sogo <email address hidden>
Changed-By: Jose Carlos Garcia Sogo <email address hidden>
Description:
 gnome-system-tools - Cross-platform configuration utilities for GNOME
 ximian-setup-tools - Cross-platform configuration utilities for GNOME (transitional pa
Closes: 193300 258228 258550 258551 262080
Changes:
 gnome-system-tools (0.90.0-1) unstable; urgency=low
 .
   * New upstream version. (Closes: #258228)
      + /etc/hostname ended with newline. (Closes: #258551)
      + it handles correctly multiboot configs. (Closes: #193300)
   * /etc/hostname shouldn't contain fqdn (Closes: #258550)
   * debian/patches:
     + 05_sarge: fix detection of Sarge, now that /etc/debiaan_version
       contains 3.1. Patch from Frederic Peters (Closes: #262080)
     + 10_relibtoolize: updated
 .
   * debian/control.in
     + removed libvte-dev and libcracklib2-dev Build-Dependency, as they're not
       needed any longer.
Files:
 8c8c2c3d34129bdb309b7167b18a6a43 1593 gnome extra gnome-system-tools_0.90.0-1.dsc
 d72a5ff758bb9c3542156fdf58cf104b 3154212 gnome extra gnome-system-tools_0.90.0.orig.tar.gz
 7d43ceb3db4c96e602c611919256e450 11999 gnome extra gnome-system-tools_0.90.0-1.diff.gz
 7de1dca01a1f08107c2103f5f3663e9e 1762744 gnome extra gnome-system-tools_0.90.0-1_i386.deb
 c113e0776522f596c506a0ff12d7bb3a 14314 gnome extra ximian-setup-tools_0.90.0-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBEPmKS+BYJZB4jhERAjvZAJ0UhDi4SYS6nLotBV7Om9EwQxgdEwCgiQUY
8odF13rpJShA173/RpRrxOE=
=xIMY
-----END PGP SIGNATURE-----

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.3 KiB)

Message-Id: <email address hidden>
Date: Wed, 04 Aug 2004 12:17:04 -0400
From: Jose Carlos Garcia Sogo <email address hidden>
To: <email address hidden>
Subject: Bug#262080: fixed in gnome-system-tools 0.90.0-1

Source: gnome-system-tools
Source-Version: 0.90.0-1

We believe that the bug you reported is fixed in the latest version of
gnome-system-tools, which is due to be installed in the Debian FTP archive:

gnome-system-tools_0.90.0-1.diff.gz
  to pool/main/g/gnome-system-tools/gnome-system-tools_0.90.0-1.diff.gz
gnome-system-tools_0.90.0-1.dsc
  to pool/main/g/gnome-system-tools/gnome-system-tools_0.90.0-1.dsc
gnome-system-tools_0.90.0-1_i386.deb
  to pool/main/g/gnome-system-tools/gnome-system-tools_0.90.0-1_i386.deb
gnome-system-tools_0.90.0.orig.tar.gz
  to pool/main/g/gnome-system-tools/gnome-system-tools_0.90.0.orig.tar.gz
ximian-setup-tools_0.90.0-1_all.deb
  to pool/main/g/gnome-system-tools/ximian-setup-tools_0.90.0-1_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jose Carlos Garcia Sogo <email address hidden> (supplier of updated gnome-system-tools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 4 Aug 2004 16:46:06 +0200
Source: gnome-system-tools
Binary: ximian-setup-tools gnome-system-tools
Architecture: source i386 all
Version: 0.90.0-1
Distribution: unstable
Urgency: low
Maintainer: Jose Carlos Garcia Sogo <email address hidden>
Changed-By: Jose Carlos Garcia Sogo <email address hidden>
Description:
 gnome-system-tools - Cross-platform configuration utilities for GNOME
 ximian-setup-tools - Cross-platform configuration utilities for GNOME (transitional pa
Closes: 193300 258228 258550 258551 262080
Changes:
 gnome-system-tools (0.90.0-1) unstable; urgency=low
 .
   * New upstream version. (Closes: #258228)
      + /etc/hostname ended with newline. (Closes: #258551)
      + it handles correctly multiboot configs. (Closes: #193300)
   * /etc/hostname shouldn't contain fqdn (Closes: #258550)
   * debian/patches:
     + 05_sarge: fix detection of Sarge, now that /etc/debiaan_version
       contains 3.1. Patch from Frederic Peters (Closes: #262080)
     + 10_relibtoolize: updated
 .
   * debian/control.in
     + removed libvte-dev and libcracklib2-dev Build-Dependency, as they're not
       needed any longer.
Files:
 8c8c2c3d34129bdb309b7167b18a6a43 1593 gnome extra gnome-system-tools_0.90.0-1.dsc
 d72a5ff758bb9c3542156fdf58cf104b 3154212 gnome extra gnome-system-tools_0.90.0.orig.tar.gz
 7d43ceb3db4c96e602c611919256e450 11999 gnome extra gnome-system-tools_0.90.0-1.diff.gz
 7de1dca01a1f08107c2103f5f3663e9e 1762744 gnome extra gnome-system-tools_0.90.0-1_i386.deb
 c113e0776522f596c506a0ff12d7bb3a 14314 gnome extra ximian-setup-...

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

We'll standardize on /etc/lsb-release for Ubuntu, so our detection should be
based on that, rather than /etc/debian_version. /etc/debian_version might even
disappear.

Revision history for this message
Sebastien Bacher (seb128) wrote :

I think we have 2 options here:
- adding a new distro (that requires a bunch of changes all over the files
apparently)
- map ubuntu as a debian and use the same commands. I've a patch ready for this
option. It should be fine since the ubuntu structure is almost the debian one ...

Any opinion on this ? I'd say to upload a package with the second option now, we
have time to really add ubuntu as a different distro later

Revision history for this message
Matt Zimmerman (mdz) wrote :

Does the user ever see the distribution name, etc. in gnome-system-tools? I
have only seen the dialog that is shown then the distribution is not recognized.

If the user will never see it, then it doesn't matter if it is called 'debian'
or 'ubuntu'

Revision history for this message
Sebastien Bacher (seb128) wrote :

AFAIK the distro name is not display. I've changed the /etc/lsb-release parser
to not return, in this way warty is detected as a debian-sarge (based on
/etc/debian_version, so if we remove it we'll need to adapt the change).

 gnome-system-tools (0.90.0-2ubuntu1) warty; urgency=low
 .
   * debian/patches/05_ubuntu-no-warning.dpatch:
     - don't display a warning about warty not supported (Warty #461).

Revision history for this message
In , Raph (raph-captainblood) wrote : Distribution detection still doesn't work

Hello,

The first distribution check which is run is check_lsb. It returns
"debian-3.1". Problem is, all scripts wait for "debian-sarge", whereas
other versions are expected as "debian-2.2" and "debian-3.0".

The "check_debian" subroutine works well, but check_lsb is ran first.

This breaks the detection of the distro : all applets expect
"debian-sarge" to recognize the distro, not (yet) "debian-3.1".

A previous check to transform "3.0" to "woody" was commented out. I
uncommented these 3 lines and changed the only key/value pair to "3.1"
and "sarge". This makes the check_lsb subroutine return "debian-sarge"
instead of "debian-3.1", as expected by all applets, which are working
again (they don't ask for the distro anymore).

A patch is attached.

Thanks for reading.

--
Raph <email address hidden>

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <1094072012.7868.11.camel@arche>
Date: Wed, 01 Sep 2004 22:53:33 +0200
From: Raph <email address hidden>
To: <email address hidden>
Subject: Distribution detection still doesn't work

--=-vDywsTmW0PBSNI0oSx1r
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

The first distribution check which is run is check_lsb. It returns
"debian-3.1". Problem is, all scripts wait for "debian-sarge", whereas
other versions are expected as "debian-2.2" and "debian-3.0".

The "check_debian" subroutine works well, but check_lsb is ran first.

This breaks the detection of the distro : all applets expect
"debian-sarge" to recognize the distro, not (yet) "debian-3.1".

A previous check to transform "3.0" to "woody" was commented out. I
uncommented these 3 lines and changed the only key/value pair to "3.1"
and "sarge". This makes the check_lsb subroutine return "debian-sarge"
instead of "debian-3.1", as expected by all applets, which are working
again (they don't ask for the distro anymore).

A patch is attached.

Thanks for reading.

--
Raph <email address hidden>

--=-vDywsTmW0PBSNI0oSx1r
Content-Disposition: attachment; filename=patch
Content-Type: text/plain; name=patch; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

--- platform.pl.orig 2004-09-01 22:48:11.000000000 +0200
+++ platform.pl 2004-09-01 22:48:27.000000000 +0200
@@ -83,8 +83,8 @@
 sub check_lsb
 {
   my ($ver, $dist);
-# my %vermap =
-# ("3.0" => "woody");
+ my %vermap =
+ ("3.1" => "sarge");

   my %distmap =
       ("Debian" => "debian"),
@@ -96,7 +96,7 @@
   $dist = lc (&gst_parse_sh ("/etc/lsb-release", "DISTRIB_ID"));
   $ver = lc (&gst_parse_sh ("/etc/lsb-release", "DISTRIB_RELEASE"));

-# $ver = $vermap{$ver} if exists $vermap{$ver};
+ $ver = $vermap{$ver} if exists $vermap{$ver};
   $dist = $distmap{$dist} if exists $dirmap{$dir};

   return -1 if ($dist eq "") || ($ver eq "");

--=-vDywsTmW0PBSNI0oSx1r--

Revision history for this message
Sebastien Bacher (seb128) wrote :

The fix in the current package works here. What do you have in /etc/lsb-release ?

Changed in gnome-system-tools:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.