YaST is unreliable when it comes to package updates?

So my problem is as follows. I’ve got opensuse 11.1 with kde 4.2.2 and I turned on this kupdateapplet, because it only downloaded some kind of patches, and not updates for all packages installed on my pc (as I’d like it to do, in the manner as ubuntu updater did). So, from time to time, I manually executed Yast update and chose “Update all packages with newer version” option. But i’ve notice there are some problems with it. Although it seems to refresh the repo list when I start it (it downloads some files) it often gives me a plain list, as though there are no new packages and mine are up-to-date. And, sometimes, after launching update I get error about yast not being able to find a package in a repository. When I manually visit the repository in Firefox, it turns out there is already a newer package version than the one yast is trying to update to!

On the other hand, “zypper red && zypper up” always does the trick with newest packages. What causes this behavior? Can it be changed?

bump. Are you telling me nobody else has this problem?

Not really sure about the differences between how zypper updates and yast updates but you could check caf’s how-to on repository management Repository Management - openSUSE Forums

Near the bottom it talks about setting priority of repositories. Also, if you look at your repositories, some of them may not be set to auto-refresh so to get updates from them you can either enable auto-refresh for them (this will increase the amount of time it takes to get into software management because it will be refreshing a whole bunch of repositories).

Or you can do what I do. Whenever I want to do a full update I’ll open Software Repositories and then on the bottom right it says refresh. Click refresh all enabled. Then go to Software Management and use update if newer version available.

Good Luck,

Ian

Thanks for that auto-refresh tip, it did the trick. As it turned out, only a few of my repos had this option ticked.

Glad I could help :wink:

Take Care,

Ian

zypper and yast both use the same backend: namely, libzypp

Libzypp - openSUSE