Bug#467219: gnome-system-monitor: wrong system information: lists sarge release while it is sid/lenny

Michael Biebl biebl at debian.org
Sun Mar 30 19:43:24 UTC 2008


Sven Arvidsson wrote:
> On Sat, 2008-02-23 at 22:03 +0100, Michael Biebl wrote:
>> # cat /etc/debian_version 
>> lenny/sid
>>
>> But gnome-system-monitor thinks I run sarge (see attached screenshot)
> 
> Hi,
> 
> AFAIK g-s-t uses lsb_release to determine this. What's the output of
> lsb_release -irc?
> 

# lsb_release -irc
Distributor ID: Debian
Release:        3.1
Codename:       sarge

Looks, like I have an outdated /etc/lsb-release:
DISTRIB_ID=Debian
DISTRIB_RELEASE=3.1
DISTRIB_CODENAME=sarge
DISTRIB_DESCRIPTION="Debian GNU/Linux"

# dpkg -S /etc/lsb-release doesn't list a owning package.

Maybe lsb-release didn't correctly upgrade this file.

# md5sum /etc/lsb-release
b5bfe10d9b02fb4e4a45337d1c4d88ab  /etc/lsb-release

lsb-release.postinst:
#!/bin/sh -e

case "$1" in
    configure)
        if dpkg --compare-versions "$2" lt-nl 3.0-8; then
            if [ -e /etc/lsb-release ]; then
                MD5SUM=`md5sum /etc/lsb-release | cut -d" " -f1`
                if [ "$MD5SUM" = "b5bfe10d9b02fb4e4a45337d1c4d88ab" ]; then
                    rm -f /etc/lsb-release
                fi
            fi
        fi
        ;;
esac

# apt-cache policy lsb-release
lsb-release:
  Installiert:3.2-5
  Mögliche Pakete:3.2-5
  Versions-Tabelle:
 *** 3.2-5 0
        500 http://ftp.de.debian.org unstable/main Packages
        100 /var/lib/dpkg/status


I think it's safe to reassign the bug to lsb-release.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080330/c97ed5d4/attachment.pgp 


More information about the pkg-gnome-maintainers mailing list