Bug 231593 - Puplet (Pirut) only updates once
Puplet (Pirut) only updates once
Status: CLOSED DUPLICATE of bug 228994
Product: Fedora
Classification: Fedora
Component: pirut (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-09 01:58 EST by Patrick Steiner
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-09 16:54:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Patrick Steiner 2007-03-09 01:58:46 EST
Description of problem:
If i start puplet it automatically notifies updates, but this only works once, i
have to restart the application (or restart my machine) to get a new
notification. but the applications always runs i the background. is this normal?

btw. i know i can do a yum update but a visual notification would be nicer.

Version-Release number of selected component (if applicable):


How reproducible:
start puplet make a update an wait.... :-) nothing will be done anymore


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Jeremy Katz 2007-03-19 17:55:18 EDT
This should work fine; it does for me.  Can you try running yum-updatesd in the
foreground of a terminal (yum-updatesd -f) and then puplet in another and see if
there are any errors reported?
Comment 2 Patrick Steiner 2007-03-22 02:36:55 EDT
i have testet the command yum-updatesd -f now on 2 different machines (one was
fresh installed yesterday).
on the fresh installed machine i get no output. on the second one yum-updatesd
now  only outputs:

yum-updatesd -f
Loading "installonlyn" plugin

now for over a day :-)
Comment 3 Patrick Steiner 2007-03-28 02:15:51 EDT
i think i found the problem. shouldn't yum-updatesd send dbus messages? if i run
dbus-monitor i cant see any message, but in /etc/yum/yum-updatesd.conf 
emit_via = dbus is set.
Comment 4 Patrick Steiner 2007-03-28 02:25:30 EDT
no dbus seams to work!

if i test with this python script:

#!/usr/bin/python
import dbus
bus = dbus.SystemBus()
obj = bus.get_object("edu.duke.linux.yum", "/Updatesd")
res = obj.GetUpdateInfo(dbus_interface="edu.duke.linux.yum")
print res

i get some infos back.
Comment 5 Patrick Steiner 2007-03-28 03:03:30 EDT
it think this has something to do with this bug:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228994
Comment 6 Patrick Steiner 2007-03-28 05:23:32 EDT
i looked into /usr/bin/puplet

shouldnt the function _refreshInfo called every 10 mins?

i have added a simple print command into this function but this is only called once.
Comment 7 Jeremy Katz 2007-04-09 16:54:52 EDT

*** This bug has been marked as a duplicate of 228994 ***

Note You need to log in before you can comment on or make changes to this bug.