KPackageKit

This is not a help thread or anything so i won’t post this in other sections but…

What’s up with KPackageKit? What’s it for? Updates?
What happened to YaST? I used to run YaST every now and again and it would show what needs to update and would do so when i finished what i need in it…

Cause this KPackageKit either kinda buggy or i’m missing something.

http://i55.tinypic.com/dmqomu.png

Look at the bottom right corner…

About 2 minutes after that screenshot was taken, 4 more (same!) processes showed up, all waiting on each other, and none of them won’t start…
Not just that, but refreshing proces takes ages, like, about 15 minutes (no, really, why is it taking so long?), so when 6 refreshs are in the queue, this takes time.
Then, 2 hours later, all of them finished and 2 minutes after that update shows up again with 4 processes…
What’s the point of the application launching this 4 times when it just starts? Can’t 1 be enough? Refresh package list, then update? And start like, once a day, not every 2 minutes…

What’s more, every other application needs to wait for this to finish… I couldn’t even open YaST cause the refresh and getting updates proces can’t be canceled. :sarcastic:

I disabled that, searched this forum for it, and i’m happier now. If it somehow shows up again i’ll remove it completely…

Just want to know, can i still manually start YaST and let it do whatever it needs with dependencies and updates?
Cause KPackageKit and Kupdate or whatever this is just sucks. Or do i need to configure it in some special way for it to work properly? :stuck_out_tongue:

Furthermore, YaST is also terribly slow. Not sure why, when i installed the OS, YaST worked fine, and now it halts on every URL it’s checking and my internet is working fine. Then sometimes it goes ok, and sometimes it gives me the message that it can’t communicate with URL’s (like http://download.suse/update/11.4/, and others).

So, I either have nothing to update, or YaST isn’t updating anymore, so i can’t really know if YaST does what it used to do in 11.2, cause that’s how i was getting all the updates when i had 11.2… Open YaST, it would check everything, then list all of the changes it will make, then i can just let it work right away or install a program or whatever…
I’m guessing it’s the same, just can’t test it now so i’m asking…

Also, running KDE, if that makes any difference…

I may be a bit frustrated about the update thing… I hope it doesn’t show much… :shame:

On 2011-10-07 01:36, Vepar wrote:

> What’s up with KPackageKit? What’s it for? Updates?

Yep. I suppose.

> What happened to YaST? I used to run YaST every now and again and it
> would show what needs to update and would do so when i finished what i
> need in it…

Nothing happened to YaST. It is there as always, even better.

> Cause this KPackageKit either kinda buggy or i’m missing something.

Very buggy. We⁽¹⁾ know.

(1) “we” means us, users like you. Not necessarily devs. >:-P

The general recommendation here is not to use packagekit. Some even
uninstall it. Others simply use it to know there are updates, and then use
YOU/YaST/zypper to install them.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Yes, it is for updates, and presumably for other software installation.

Yes, it is buggy.

I think it is part of a plan by the KDE team to try to provide a way of handling updates and software that is common to all distros, with the particular distro team interfacing it with their own software.

My current practice:

(1) I have disabled the startup of kpackagekit. I did this in the services settings (“Startup and Shutdown” in personal settings).
(2) For most software management, I go directly to Yast.
(3) I occasionally start kpackagekit manually (from the menus) to check for updates.

It has not given me any problems using it this way. It was causing problems when I allowed it to be automatically started as a KDE service.

Don’t use it
Disable or uninstall it
Do this instead
http://dl.dropbox.com/u/10573557/Software%20Management/system_update.png
Once a week will do

(K)PackageKit is a pain in the ass; the system moves slow when he is looking and installing updates. As Caf said uninstall the program and either take the steps explained by him in the screen shoot or open konsole or terminal and run sudo zypper refresh and sudo zypper up to get updates. At sudo you must provide the root password :slight_smile:

Thx for the replys everyone!

Yeah, kpackagekit is allready disabled, didn’t remove it, but will if it acts up again lol…

Ok, i’ll use YaST from now on to update, glad it still works the way it used to!

[QUOTE)caf4926]Do this instead
http://dl.dropbox.com/u/10573557/Sof...tem_update.png
Once a week will do[/QUOTE]

Is this the same as typing “sudo zypper refresh” and "sudo “zypper up” in terminal as creatura85 suggested?

Is this the same as typing “sudo zypper refresh” and "sudo “zypper up” in terminal as creatura85 suggested?
Yes it is.
zypper up
holds to switches you have made on repos

On the other hand
zypper patch
does not
It behaves as does kpackagekit

On 2011-10-07 11:46, caf4926 wrote:

> On the other hand
> zypper patch
> does not
> It behaves as does kpackagekit

NO! It behaves as YaST Online Update, aka YOU.

packagekit misbehaves.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

The point I was making is that ‘patch’ and (yes: YOU) will break repo switching

On 2011-10-07 14:56, caf4926 wrote:
>
> The point I was making is that ‘patch’ and (yes: YOU) will break repo
> switching

No, it doesn’t break anything.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

I beg to differ with you.
YOU will install a patch from Updates that doesn’t honour repo switches

Sorry but i’m at a loss here. :stuck_out_tongue:

So what’s the difference between “zypper up” and “zypper patch”? Repo switching? Break what?

Zipper refresh just checks if any repositories need updating or all are up to date… Or does it do something else too?
I checked that yesterday and all were up to date, so i didn’t try running “zypper up”…

Most of us will do this on Packman
http://dl.dropbox.com/u/10573557/Switcher%20Pics/11.4_packman_switch.png

YOU (Yast Online Update) and zypper patch can overide that switch. Reason being, openSUSE come with packages (Eg: some gstreamer) that are also in Packman

However, zypper up will not update a package and break the switch you made. The switch means you prefer the package from Packman, so it will only update it if the update is from Packman

Follow my earlier advice using the Software manager for updating
http://dl.dropbox.com/u/10573557/Software%20Management/system_update.png

sudo zypper up keeps the OS stable and does not install packages with dependency problems; they will be listed when issuing the command, under a paragraph named “this packages will NOT BE INSTALLED” or something like this. :slight_smile:

On 2011-10-07 15:46, caf4926 wrote:

> I beg to differ with you.
> YOU will install a patch from Updates that doesn’t honour repo switches

No, because that what I use every time and found no problems.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Ok, thank you!

I kinda get it now… I’ll try both commands and see what happens. :slight_smile:

Checking repositories is still very slow… Any idea why this is happening?

How fast is your connection?

On 10/08/2011 07:06 AM, Vepar wrote:
>
> Checking repositories is still very slow… Any idea why this is
> happening?

the more you have enabled the more time it takes…

and, any mirror you hit is likely to be owned a university or government
entity which operates it primarily for their use, but donates
throttled bandwidth to FOSS…


DD
openSUSE®, the “German Automobiles” of operating systems


This…

It should be fast enough not to stall on every repository check…

Running sudo zypper refresh can take some time to even start.
The sam is when i run YaST (the way you sugessted, from GUI), it can take some time to start before it checks all the repositories…

Then again, as DenverD said, it doesn’t have to be my connection… And i don’t have that many repositories enabled… Except from the standard ones that come with SUSE i enabled Packman and Nvidia…

OK
So after the repos are refreshed
Does it download normally?