gnome-version.xml file in this package causes incorrect reporting from sysinfo package

Bug #899882 reported by Chris McIntosh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-desktop (Ubuntu)
New
Low
Unassigned

Bug Description

EXPECTATION
I expect to see the correct Gnome version reported when running sysinfo. But, what is reported by sysinfo is "2.32.1" when, in fact, I am running "3.2.1"

BACKGROUND
Originally, I filed a bug report (https://bugs.launchpad.net/ubuntu/+source/sysinfo/+bug/896512) regarding the sysinfo package incorrectly reporting the wrong version of Gnome.

After digging around a bit, I discovered that the source of the error is the gnome-version.xml file in the gnome-desktop-data package.

To fix the problem (locally), I copied the <platform>, <minor>, <micro>, <distributor> and <date> information from the corresponding gnome-version.xml file from the gnome-desktop3-data package.

It is possible that gnome-desktop3-data seeks to replace gnome-desktop-data as each package refers to itself as the "gnome-desktop" in its corresponding README file.

If this is the case, then sysinfo will need to be corrected... to read from /usr/share/gnome/gnome-version.xml first... and, if that is missing, then (do what it is currently doing, and) read from /usr/share/gnome-about/gnome-version.xml. The latter file is from gnome-desktop-data and the former is from gnome-desktop3-data.

INFORMATION ABOUT MY INSTALLATION
lsb_release -rd reports:
   Description: Ubuntu 11.10
   Release: 11.10

version of gnome-desktop-data: 1:2.32.1-0ubuntu6 (oneiric)
version of gnome-desktop3-data: 3.2.1-0ubuntu1.1 (oneiric)
version of sysinfo: 0.7-6 (oneiric)

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-desktop-data 1:2.32.1-0ubuntu6 [modified: usr/share/gnome-about/gnome-version.xml]
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sun Dec 4 06:34:16 2011
Dependencies:

InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitecture: all
SourcePackage: gnome-desktop
UpgradeStatus: Upgraded to oneiric on 2011-10-17 (48 days ago)

Revision history for this message
Chris McIntosh (gnu-know-who) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, the file sysinfo is using is what gnome-about in GNOME2 was using, it was never meant as a public stable information for other sources to use though and has been deprecated in GNOME3, sysinfo should find a better way to tell what version of GNOME is installed, I'm closing it as duplicate of bug #896512

Changed in gnome-desktop (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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