Ask Your Question
0

PackageKit process

asked 2013-05-16 15:47:06 -0600

brotherBonzai gravatar image

I just installed Fedora 18 and did the update after being asked.

Although there was 118 MB of updates to do, I felt there was a hang as it had been going for over an hour and a half and the status bar had not moved at all. I decided to click "Quit" and yum update from command line however, terminal showed that PackageKit process was running with ID 2497, and it was locking me.

I checked system monitor and did not show the ID 2497 nor did it show PackageKit. I did check /var/run/yum.pid and saw it was there so I suppose the update was still occurring even after I clicked Quit on the GUI.

My questions are:

1) (A) Did the update fail to "Quit" even after I clicked quit, and (B) is PackageKit the same thing?

2) Is it normal for updates to take nearly 2 hours? I have downloaded gigabytes of other materials in the mean time at 1 to 3 MB a second.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-05-16 16:21:05 -0600

sideburns gravatar image

If yum doesn't exit properly, it won't remove the lock file. All you need to do is delete that file (you'll need root access). Then run this:

yum-complete-transaction

and it will finish whatever's needed. If that's not installed, use this to install it and some other useful tools:

yum install yum-utils

Good luck, and let us know how things work out.

edit flag offensive delete link more

Comments

Hi sideburns, the Questions page never notified that an answered was made even after page refreshing so unfortunately I didn't see this answer until now.

I did find an alternative method that did work and now doing updates.

Link: http://www.linuxquestions.org/questions/fedora-35/another-app-is-currently-holding-the-yum-lock-603251/page2.html

yum clean all

rpm --rebuilddb

This worked for me. Although I'm not sure if it will leave any repercussions. I did receive this message at update process: "delta does not match installed data". A search showed that this is nothing to worry about.

brotherBonzai gravatar imagebrotherBonzai ( 2013-05-16 16:57:05 -0600 )edit

Question Tools

Stats

Asked: 2013-05-16 15:47:06 -0600

Seen: 529 times

Last updated: May 16 '13