Bug 17399

Summary: hamster-time-tracker missing a requires package on python-dbus to work properly
Product: Mageia Reporter: Allan Nieuwoudt <allan>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, jani.valimaa, lewyssmith, sysadmin-bugs
Version: 5Keywords: validated_update
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: MGA5-64-OK advisory
Source RPM: hamster-time-tracker-1.04-7.mga5.src.rpm CVE:
Status comment:

Description Allan Nieuwoudt 2015-12-25 17:23:04 CET
I installed hamster-time-tracker, but the software does not run before manually installing dependency python-dbus:

$ hamster
Traceback (most recent call last):
  File "/usr/bin/hamster", line 30, in <module>
    from hamster import client, reports
  File "/usr/lib/python2.7/site-packages/hamster/client.py", line 24, in <module>
    import dbus, dbus.mainloop.glib
ImportError: No module named dbus


Installing python-dbus fixes this issue.


To reproduce, install Mageia 5 from DVD (amd64).  Install hamster-time-tracker.


Reproducible: 

Steps to Reproduce:
Comment 1 Jani Välimaa 2015-12-25 20:35:12 CET
Pushed new release [1] with python-dbus requires to core/updates_testing.

[1] RPM/SRPM: hamster-time-tracker-1.04-7.1.mga5

Assignee: bugsquad => qa-bugs
CC: (none) => jani.valimaa

Comment 2 Lewis Smith 2016-01-05 09:31:30 CET
Testing MGA5 x64
Installed issued hamster-time-tracker-1.04-7.mga5
 $ hamster
yielded several "** (Time Tracker:5000): WARNING **" but it worked. Because python-dbus was already installed, and to remove it would have removed a raft of other things.
Updating to hamster-time-tracker-1.04-7.1.mga5 yielded identical behaviour.

So just looking at package requires...
BEFORE
 # urpmq --requires hamster-time-tracker-1.04-7.mga5
 /bin/sh[*]
 gnome-python-desktop
 gnome-python-gconf
 python
 python(abi)[== 2.7]
 python-pyxdg
AFTER
 # urpmq --requires hamster-time-tracker-1.04-7.1.mga5
 /bin/sh[*]
 gnome-python-desktop
 gnome-python-gconf
 python
 python(abi)[== 2.7]
 python-dbus                   [NOTE]
 python-pyxdg
So this update looks OK.

CC: (none) => lewyssmith
Whiteboard: (none) => MGA5-64-OK

Comment 3 Rémi Verschelde 2016-01-11 11:55:06 CET
Validating, one arch is IMO enough to validate an update that just adds a noarch dependency.

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Dave Hodgins 2016-01-12 06:53:39 CET

CC: (none) => davidwhodgins
Whiteboard: MGA5-64-OK => MGA5-64-OK advisory

Comment 4 Mageia Robot 2016-01-12 10:14:38 CET
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2016-0005.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED