FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Join Date
    Jun 2005
    Location
    Christchurch, New Zealand (originally for Switzerland)
    Age
    41
    Posts
    722
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Where is packagekit started from?

    Hallo

    I just moved from Fedora8 to 10. On F8 and before I wrote my own cron-jop to update the system. (see: http://forums.fedoraforum.org/showpo...3&postcount=11) It did always It's job very well in the background. Without interruption of the users.

    I thorough PackageKit could now do it. But I learned, PackageKit is no backgrund-service. It asks for password and beg for OK..... A relay annoying tool. And if I or a user would need a GUI package manager, I would advice yumex. There is a handy search an package groups available.

    Now I can't find where the packagekit-deamon is started. I'm not familiar with the new upstart. But I can't find packagekit in /etc/rc.* or in /etc/cron*. And tt is not listed in system-config-services, but it is loaded at boot time. Where is packagekit started from? I don't like to deinstall it at the moment.
    Last edited by tho.mei; 7th December 2008 at 04:07 PM.
    tho.mei

  2. #2
    darth01 Guest
    System -> Preferences -> Personal -> Sessions

  3. #3
    Join Date
    Jun 2005
    Location
    Christchurch, New Zealand (originally for Switzerland)
    Age
    41
    Posts
    722
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hallo darth01

    Thanx for your answer!
    But it's not a lot of help
    I use KDE. There is no such tool.

    Could you tell my the command? Or can you tell my which script packagekit does start?
    tho.mei

  4. #4
    Join Date
    Jul 2007
    Location
    UK
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    command: gpk-application
    F19 64 bit KDE / W7 Home dual boot (no longer used)

  5. #5
    Join Date
    Jun 2006
    Location
    Texas
    Age
    55
    Posts
    4,164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  6. #6
    Join Date
    Jun 2005
    Location
    Christchurch, New Zealand (originally for Switzerland)
    Age
    41
    Posts
    722
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've no gpk-application on my box. But kpackagekit still runs in the background.

    I'm still look for a solution to stop and disable the packagekit daemon. I won't deinstall it. Some one a idea?

    Until now, I believed on Fedora every thing is started by init-scripts or cron-job. Was there a change because of upstart? I thought upstart does still use the init-scripts. It's relay a worse thing to implement daemons how are not shown by system-config-services. To implement it an daemon that not startet like other is much more worse!

    It reminds my on Windwoz. Now it seams easier to stop a daemon in Windowz. Registry... Or is it a debian habit?
    tho.mei

  7. #7
    Join Date
    Jun 2005
    Location
    Christchurch, New Zealand (originally for Switzerland)
    Age
    41
    Posts
    722
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question qt starts packagekit? realy?

    Hallo
    I'm still looking for a way to have Packagekit installed but not running as a daemon. I've no gpk-application on my box, because the ins no Gome installed. May Packagekit is "...coded as a QObject for KDE..." But how should I remove a QObject.

    I thought qt until now qt is as a toolkit for GUI. Since when does a GUI start a system daemon? How far from UNIX have we come?

    Anyway... today I tried to update the system with packagekit (last test of it!) It was unable to find the dependencys. And there was not hope for a linux-newbe (not me) to solve problem.
    I could solve it fast:

    su -
    killall packagekitd
    yum upgrade

    I got the result:
    ...
    ---> Package kernel-headers.i386 0:2.6.27.7-134.fc10 set to be updated
    ---> Package device-mapper-libs.i386 0:1.02.27-7.fc10 set to be updated
    ---> Package PackageKit-qt.i386 0:0.3.11-4.fc10 set to be updated
    ---> Package cjkunifonts-uming.noarch 0:0.2.20080216.1-10.fc10 set to be updated
    ---> Package libarchive.i386 0:2.5.5-2.fc10 set to be updated
    ---> Package system-config-printer.i386 0:1.0.12-2.fc10 set to be updated
    ---> Package kernel-firmware.noarch 0:2.6.27.7-134.fc10 set to be updated
    ---> Package kernel.i686 0:2.6.27.7-134.fc10 set to be installed
    ---> Package cups.i386 1:1.3.9-4.fc10 set to be updated
    ---> Package PackageKit-glib.i386 0:0.3.11-4.fc10 set to be updated
    ---> Package PackageKit-yum.i386 0:0.3.11-4.fc10 set to be updated
    ---> Package nfs-utils.i386 1:1.1.4-4.fc10 set to be updated
    --> Finished Dependency Resolution
    kpackagekit-0.3.1-4.fc10.i386 from installed has depsolving problems
    --> Missing Dependency: libpackagekit-qt.so.10 is needed by package kpackagekit-0.3.1-4.fc10.i386 (installed)
    Error: Missing Dependency: libpackagekit-qt.so.10 is needed by package kpackagekit-0.3.1-4.fc10.i386 (installed)
    [root@srat01 ~]#
    Did I tell you how I dislike pachagekit?
    Next step:
    yum remove packagekit -y
    And the I got success with:
    yum upgrade

    Now packagekit won't run after next boot. But I still would like to install it again. But not as a daemon! (This because I'm not the only person how uses the workstations. Some my like to search Software by Packagekit.)

    Now I set up the cron-job I wrote in 2004 to upgrade Fedora Core 3 in the backgrund. (See: http://forums.fedoraforum.org/showpo...3&postcount=11) It works well. It could be that simply!
    Last edited by tho.mei; 9th December 2008 at 11:20 PM.
    tho.mei

  8. #8
    Join Date
    Jun 2006
    Location
    Texas
    Age
    55
    Posts
    4,164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    How funny, I ran "yum provides */libpackagekit-qt.so.10" and got:
    Code:
    [root@kiriyamablevins marc]# yum provides */libpackagekit-qt.so.10
    Loaded plugins: refresh-packagekit
    fedora                                                   | 2.8 kB     00:00     
    rpmfusion-free-updates                                                                                                                                     | 2.7 kB     00:00     
    rpmfusion-nonfree-updates                                                                                                                                  | 2.7 kB     00:00     
    rpmfusion-nonfree-updates/primary_db                                                                                                                       |  18 kB     00:00     
    rpmfusion-free                                                                                                                                             | 2.7 kB     00:00     
    rpmfusion-nonfree                                                                                                                                          | 2.7 kB     00:00     
    updates                                                                                                                                                    | 2.3 kB     00:00     
    updates/primary_db                                                                                                                                         | 931 kB     00:02     
    rpmfusion-nonfree/filelists_db                                                                                                                             |  41 kB     00:00     
    updates/filelists_db                                                                                                                                       | 2.4 MB     00:11     
    rpmfusion-free-updates/filelists_db                                                                                                                        | 7.0 kB     00:00     
    rpmfusion-free/filelists_db                                                                                                                                | 269 kB     00:01     
    rpmfusion-nonfree-updates/filelists_db                                                                                                                     | 5.6 kB     00:00     
    PackageKit-qt-0.3.9-4.fc10.i386 : QT libraries for accessing PackageKit
    Matched from:
    Filename    : /usr/lib/libpackagekit-qt.so.10
    
    PackageKit-qt-0.3.9-4.fc10.i386 : QT libraries for accessing PackageKit
    Matched from:
    Filename    : /usr/lib/libpackagekit-qt.so.10
    [root@kiriyamablevins marc]#
    Your list is showing a newer version: PackageKit-qt.i386 0:0.3.11-4.fc10

  9. #9
    Join Date
    Jun 2005
    Location
    Christchurch, New Zealand (originally for Switzerland)
    Age
    41
    Posts
    722
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hallo marcrblevins

    Your list is showing a newer version: PackageKit-qt.i386 0:0.3.11-4.fc10
    nice, but how do I disable the packagekit daemon? Where is it stared from? Is it relay a Qobject.
    tho.mei

  10. #10
    Weasel68 Guest
    Hi,

    PackageKit is a pain when it starts everytime you login and checks for new packages.
    Telling it to 'Never check for updates' from it's popup window doesn't seem to stop it checking the next time you login.

    There are 2 ways I have found to stop it. With the first method, it stiil starts, but doesn't seem to check for updates.

    1. System -> System Settings -> Add and Remove Software -> Settings
    Check for update = Never
    Automatically Install = None
    Uncheck 'Notify me when updates are avaliable'

    2. If this doesn't work, the process that checks for updates is '/usr/bin/gpk-update-icon'.
    You can rename the file so it can't start...
    'mv /usr/bin/gpk-update-icon /usr/bin/gpk-update-icon.bak'

    To enable it again, just rename it back.

    Once PackageKit is disabled, you can use yumex to manually check for updates.

  11. #11
    Join Date
    Jun 2006
    Location
    Texas
    Age
    55
    Posts
    4,164
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ouch, that is alot of work.
    Con:
    If its a real daemon, it should have a service file that we could shut it off like we do with vsftpd, httpd, etc. That is the Fedora Way. I don't see why this package is bending the rules. Should be allow to stop it temporary per se when dbus was busted.
    Pro:
    PackageKit is running nicely so far.

  12. #12
    Join Date
    Jun 2005
    Location
    Christchurch, New Zealand (originally for Switzerland)
    Age
    41
    Posts
    722
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @marcrblevins
    I agree!
    tho.mei

  13. #13
    Join Date
    Dec 2009
    Location
    Malibu, California
    Posts
    497
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Where is packagekit started from?

    An older thread, but recent F20 KDE installed from live gets locked up in yum
    as it goes through checking for 422 updates. Yumex is now erasing 9 packagekit packages,
    but really there has to be a way to turn this daemon off.

    In KDE F20, Applications > Administration > Service Configuration there may be a possibility . . .

    But since the pid (process id is identified in the yum lock) I could kill the process, or find it by

    Code:
    ps ax|grep packagekit
    and then
    Code:
     kill <pid>
    Last edited by jenaniston; 12th February 2014 at 11:08 PM.

  14. #14
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: Where is packagekit started from?

    Quote Originally Posted by jenaniston
    Yumex is now erasing 9 packagekit packages,
    but really there has to be a way to turn this daemon off.
    Being rid of PackageKit gets my vote, but then I'm a "yum at the command line only" type of guy. But now days, yum itself has an automatic check for updates built in in Fedora. Yes, you can turn it off,
    Code:
    # systemctl disable yum-makecache.timer
    And if you also have dnf installed, do the same for it,
    Code:
    # systemctl disable dnf-makecache.timer

  15. #15
    Join Date
    Aug 2011
    Posts
    899
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Where is packagekit started from?

    Quote Originally Posted by jenaniston
    An older thread, but recent F20 KDE installed from live gets locked up in yum
    as it goes through checking for 422 updates. Yumex is now erasing 9 packagekit packages,
    but really there has to be a way to turn this daemon off.

    In KDE F20, Applications > Administration > Service Configuration there may be a possibility . . .

    But since the pid (process id is identified in the yum lock) I could kill the process, or find it by

    Code:
    ps ax|grep packagekit
    and then
    Code:
     kill <pid>
    This should work:
    Code:
    systemctl mask packagekit.service
    of course uninstalling PackageKit takes care of the issue altogether.

Page 1 of 2 12 LastLast

Similar Threads

  1. PackageKit gnome-packagekit 4.5
    By SlowJet in forum Alpha, Beta & Snapshots Discussions (Fedora 11 Only)
    Replies: 11
    Last Post: 13th March 2009, 12:48 AM
  2. PackageKit via VNC
    By griffinmt in forum Using Fedora
    Replies: 3
    Last Post: 1st March 2009, 09:09 PM
  3. Will Yum & PackageKit ever die?
    By fela in forum Fedora Focus
    Replies: 12
    Last Post: 27th December 2008, 03:22 AM
  4. PackageKit
    By papal in forum Using Fedora
    Replies: 12
    Last Post: 11th December 2008, 06:08 PM
  5. Replies: 7
    Last Post: 2nd February 2007, 10:41 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •