[ubuntu-mono] [Bug 896512] Re: Sysinfo reports incorrect Gnome version on Ubuntu 11.10

Chris McIntosh 896512 at bugs.launchpad.net
Sun Dec 4 11:17:10 UTC 2011


The problem lies in the gnome-desktop-data package.  sysinfo gets its
info from /usr/share/gnome-about/gnome-version.xml.  This file actually
comes from the gnome-desktop-data package.

There is a second package, gnome-desktop3-data, which also contains a
gnome-version.xml file (in /usr/share/gnome/ directory).  Indeed both
gnome-desktop-data and gnome-desktop3-data each refer to itself as
"gnome-desktop" in its corresponding README file contained in
/usr/share/doc/gnome-desktop-data and /usr/share/doc/gnome-desktop3-data
respectively.

As a temporary (and local) fix, I tried replacing the gnome-version.xml
file in the /usr/share/gnome-about/ directory with the one from
/usr/share/gnome/.  However, this did not work... apparently because the
latter file does not contain the <description> section.  So, I resolved
to simply update the <platform>, <minor>, <micro>, <distributor>, and
<date> sections of the former with the values from the latter.

This fixed the problem.

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to sysinfo in Ubuntu.
https://bugs.launchpad.net/bugs/896512

Title:
  Sysinfo reports incorrect Gnome version on Ubuntu 11.10

Status in “sysinfo” package in Ubuntu:
  Confirmed

Bug description:
  On Ubuntu 11.10, gnome-system-monitor reports the following:
    Ubuntu
      Release 11.10 (Oneiric)
      Kernel Linux 3.0.0-13-generic
      Gnome 3.2.1

  and other information.

  When running Sysinfo on the same machine (in the same session), it reports:
    GNOME: 2.32.1 (Ubuntu 2011-04-14)
    Kernel: 3.0.0-13-generic (#22-Ubuntu SMP...)

  Clearly the Gnome version is incorrectly reported.  I am, indeed,
  using Gnome 3.

  lsb_release -rd reports:
  Description:  Ubuntu 11.10
  Release:  11.10

  Using Sysinfo package (0.7-6)

  Hope this helps to improve an otherwise nice tool.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysinfo/+bug/896512/+subscriptions




More information about the Ubuntu-mono mailing list