← Back to team overview

desktop-packages team mailing list archive

[Bug 899882] [NEW] gnome-version.xml file in this package causes incorrect reporting from sysinfo package

 

Public bug reported:

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)

** Affects: gnome-desktop (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric pkg+gnome-desktop-data pkg+gnome-desktop3-data pkg+sysinfo

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-desktop in Ubuntu.
https://bugs.launchpad.net/bugs/899882

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

Status in “gnome-desktop” package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-desktop/+bug/899882/+subscriptions


Follow ups

References