PackageKit vs Zypper (or 950 updates vs 0 updates)

Hi all!

Well I started my Susy today and I noticed this little green update button that says that 950(!) updates are available. Now: 950 updates are a lots of, right. In the IRC-channel someone (lejo) told me to try this-> zypper ref and then zypper lu. The result: no(!) updates are available, with this method.
Now: That makes me wonder. Why does Zypper say this and PackagKit says that…does someone know how to focalize this problem?
ANY hints are welcomed.

Yours. S

PS: not to sure, if it is important to know that I installed OSuse while it still was a RC. (->I have always updated my system since then)

“zypper lu”, by default, show only the official updates (security update).

If you want to show all update of every packages, you need to explicit add the “type = package” argument :

“zypper lu -t package” (list all packages update)
“zypper up -t package” (update all packages)

I guess you use Gnome, but if you use KDE you can configure the updater applet to do this by default (right click -> configure applet -> show available upgrades when backend provide them (for expert only)).

Just for additional information, in Gnome the packagekit update icon will glow orange when there are any recommended updates (from opensuse update repository) and red when there are important ones (like important security patches etc.). The green icon means enhancement updates (or upgrades) that are available from all the other repositories that you have subscribed to.

spacepig wrote:

> PS: not to sure, if it is important to know that I installed OSuse
> while it still was a RC. (->I have always updated my system since then)

That being the case, it’s possible that you still have a factory (SL-OSS-FACTORY) repo enabled somewhere. Packages are currently being pushed out for the first alpha of openSUSE 11.1, so if you’re tracking factory for your updater, you’ll get a ton of updates. And misery down the road, if they find a way of installing onto your system… :wink:

Just a thought.

Cheers,
KV

Hi guys!

Thanks a bunch for your infos, I think I understand now.
Take a look at my repolist:

zypper -v lr
Ausführlichkeitsgrad: 1
#  | Alias                                                                                | Name                                          | Aktiviert | Auffrischen
---+--------------------------------------------------------------------------------------+-----------------------------------------------+-----------+------------
1  | http://download.opensuse.org/repositories/OpenOffice.org:/STABLE/openSUSE_11.0/      | openSUSE BuildService - OpenOffice.org        | Ja        | Ja         
2  | http://download.opensuse.org/repositories/server:/mail/openSUSE_11.0/                | openSUSE BuildService - Mail Server           | Ja        | Ja         
3  | http://download.opensuse.org/repositories/KDE:/Backports/openSUSE_11.0/              | openSUSE BuildService - KDE:Backports         | Ja        | Ja         
4  | http://download.opensuse.org/repositories/games/openSUSE_11.0/                       | openSUSE BuildService - Games                 | Ja        | Ja         
5  | http://download.opensuse.org/repositories/KDE:/Community/openSUSE_11.0/              | openSUSE BuildService - KDE:Community         | Ja        | Ja         
6  | http://download.opensuse.org/repositories/GNOME:/Community/openSUSE_11.0/            | openSUSE BuildService - GNOME:Community       | Ja        | Ja         
7  | http://download.opensuse.org/repositories/server:/database/openSUSE_11.0/            | openSUSE BuildService - Datenbanken           | Ja        | Ja         
8  | factory-oss                                                                          | factory-oss                                   | Ja        | Nein       
9  | http://download.opensuse.org/repositories/mozilla/openSUSE_11.0/                     | openSUSE BuildService - Mozilla               | Ja        | Ja         
10 | http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0/ | openSUSE BuildService - KDE4:Factory:Desktop  | Ja        | Ja         
11 | factory-non-oss                                                                      | factory-non-oss                               | Ja        | Nein       
12 | http://download.opensuse.org/distribution/11.0/repo/non-oss/                         | Haupt-Repository (Nicht-OSS)                  | Ja        | Ja         
13 | http://download.opensuse.org/distribution/11.0/repo/debug/                           | Haupt-Repository (DEBUG)                      | Ja        | Ja         
14 | http://download.opensuse.org/update/11.0/                                            | Hauptaktualisierungs-Repository               | Ja        | Ja         
15 | http://ftp.skynet.be/pub/packman/suse/11.0/                                          | Packman Repository                            | Ja        | Ja         
16 | http://download.opensuse.org/repositories/server:/php/openSUSE_11.0/                 | openSUSE BuildService - PHP                   | Ja        | Ja         
17 | 10.3 - Main Repository (NON-OSS)                                                     | 10.3 - Main Repository (NON-OSS)              | Nein      | Ja         
18 | http://download.opensuse.org/distribution/11.0/repo/oss/                             | Haupt-Repository (Open Source Software - OSS) | Ja        | Ja         
19 | openSUSE-11.0-Updates                                                                | openSUSE-11.0-Updates                         | Ja        | Ja         
20 | http://download.opensuse.org/repositories/GNOME:/STABLE/openSUSE_11.0/               | openSUSE BuildService - GNOME:STABLE          | Ja        | Ja         
21 | http://download.videolan.org/pub/videolan/vlc/SuSE/11.0/                             | VideoLan Repository                           | Ja        | Ja         
22 | http://download.opensuse.org/repositories/X11:/XGL/openSUSE_11.0/                    | openSUSE BuildService - X11:XGL               | Ja        | Ja

So if I understand you right, that means those 950 updates are about to change my system to Osuse 11.1 alpha, is that right? I am not really sure, if I should do this experimental step. Now: What repos should I delete, so I have a stable and updated Osuse 11.0? After what “else_where” wrote, I guess I should delete repo nr.8.; or should I delete some more repos?

Yours. S

You have to delete repository numbers 8 and 11 if you do not wish to upgrade to the 11.1 alpha. Additionally you do not need repository 17 (10.3 Main Repository (Non-OSS)) any more. Also there is the KDE4 Factory repository (number 10) that you might keep subscribed to if you want KDE 4.1 when it is released for opensuse 11.0 (end July) but at the moment packages from that repository are in beta stage and they might be buggy (beta 2+ stage), so it might be a good idea to not upgrade your kde4 packages from that repository. Note that packagekit-update-icon will still show upgrades from this repository (#10) but you must be careful (i.e. do not just select update system from the system tray icon). Alternatively you might want to remove this repository too for the present and subscribe to it once KDE 4.1 is released.

@all:
Thanks once again. After disabling repo 8 & 11 everything seems to be fine again.