Package kit error Cant install anything

I have been struggling to get anyting installed.

When running Install software I get the following message

PackageKit is blocking software management.
This happens when the updater aaplet ir another software management application is running

Ask Package kit to quit?


YES/NO

If you choose yes the same message appears again and aigain and again, ie PackageKit never stops

When you choose no

**Accesing the SOftware management failed**

System management is locked by the application with pid 2474 (or whatever) (/usr/lib/packagekitd). 
Close this application before trying again
Would you like to abort or try again?


Trying again gets you nowhere
If you try to stop the pid with top in a Terminal it says that it is an invalid id

I have via System ==> Configuration ==> Software management

got to Apper

I clicked on the wrench and chose

Check for distribution upgrades **NEVER
**Check for updtes **NEVER**

I have rebooted but still get the same issue!

What do I do now?

Thanks in advance!

Well, you have several options:

  • Use Apper for installing or removing software
  • kill packagekitd
  • wait until packagekitd has finished doing what it wants to do (I guess it’s refreshing it’s software list, that can take a while the first time), it will quit then

If you don’t want to use apper anyway, you can uninstall PackageKit and won’t have this problem ever again.
Or you can disable “Apper Monitor” in “Configure Desktop”->“Startup and Shutdown”->“Service Manager”
But you won’t be notified of updates then anymore.
So you would have to check manually with YaST/zypper or configure automatic update installation in YaST.

Or you can disable "Apper Monitor" in "Configure Desktop"->"Startup and Shutdown"->"Service Manager"

Please explain to me where these menus are! I am using KDE on 12.3 and they are not there!

This is definitely not a refresh error unless it needs days and days to refresh! It worked fine utnil recently. I tried to install Chrome today and then I noticed the propblem

If I search for Service Manager and run it then I get an

UNable to contact KDED

error message

How do I kill pakage kit if i dont know the pid?

thanks

On 05/09/2013 08:06 PM, ClrScr wrote:
> How do I kill pakage kit if i dont know the pid?

you should be able to get the pid from:


ps -ef | grep packagekit

or, your could just launch top and watch it until package kit jumps
way up the list…spy the pid and press k, give the pid and follow
your nose.


dd

Hi DenverDpackagekit NEVER appears on TOP I have watched and watched and watched and watched. I did try

jandre@linux-azzt:~> ps aux | grep packagekitjandre    5641  0.0  0.0   4008   764 pts/0    S+   21:07   0:00 grep --color=auto packagekitjandre@linux-azzt:~> kill 5641bash: kill: (5641) - No such processjandre@linux-azzt:~> kill 4008bash: kill: (4008) - No such process

So I do not know!Thanks!

On 05/10/2013 06:36 AM, ClrScr wrote:
> --------------------
> jandre@linux-azzt:~> ps aux | grep packagekitjandre 5641 0.0 0.0 4008 764 pts/0 S+ 21:07 0:00 grep --color=auto packagekitjandre@linux-azzt:~> kill 5641bash: kill: (5641) - No such processjandre@linux-azzt:~> kill 4008bash: kill: (4008) - No such process
> --------------------
> So I do not know!Thanks!

i can think of two things that might have happened:

  1. you get the notice that you can’t install because package kit is
    blocking

  2. you run the ps to get the pid

  3. packagekit finishes and goes dark

  4. kill pid correctly fails to find package kit running

or

  1. at some previous time, while packagekit was running (and had its
    lock on the install process) something happened to stop packagekit
    from completing its work and UNlocking the block

  2. that lock remains in place irrespective of the reality that
    packagekit is not running

what could have caused that: power failure, user rude kills process,
sun spot activity, black cat in path, etc

sorry, i don’t know where that (maybe) still existing lock is, but
root can remove it.

and, there may be 1000s of other ways for this paradox to present
itself…


dd
openSUSE®, the “German Engineered Automobile” of operating systems!

In the KDE startmenu, choose “Configure Desktop” on the Favorites tab. Or run “systemsettings” in Konsole.

This is definitely not a refresh error unless it needs days and days to refresh! It worked fine utnil recently. I tried to install Chrome today and then I noticed the propblem

If I search for Service Manager and run it then I get an

UNable to contact KDED

error message

You seem to have another problem here. But it could be caused by a hanging Apper Monitor/PackageKit.

How do I kill pakage kit if i dont know the pid?

Use KDE’s Activity Monitor. (Press Ctrl+ESC)
Or use ‘killall processname’. You may have to use the ‘-KILL’ switch…
Oh and:

You have the pid there…
If you can’t kill it, that’s because it has already quit…