Bug 408888

Summary: system tray updater different from "sudo zypper up"
Product: [openSUSE] openSUSE 11.0 Reporter: Bernhard Koenig <b.a.koenig>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dmacvicar, tgoettlicher
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bernhard Koenig 2008-07-14 13:04:25 UTC
The following may be intended, but I was still surprised by it: the system tray updater seems to propose different updates than the command line "sudo zypper up". For example, the recent "lame" upgrade showed up in the system tray updater but was not recognized by "sudo zypper up".
Comment 1 Bernhard Koenig 2008-07-14 13:06:11 UTC
I had the "Zypp Backend" in the system tray icon, by the way.
Comment 2 Jan Kupec 2008-07-14 13:16:38 UTC
Hi. Yes, this is intented. The applet show what 'zypper lu -t package -t patch' shows (depending on how it is configured). Then executes 'zypper in <packages-you-select>', not 'zypper up'.
Comment 3 Michael Schröder 2008-07-14 17:20:05 UTC
Hmm, why does it deal with packages? That breaks our patch concept somewhat.
And selecting packages from "zypper lu -t package" is dangerous, as the "zypper in" is done in forceResolv mode and "zypper lu" doesn't run the solver, so it doesn't detect if the update forces some bad changes.
Comment 4 Jan Kupec 2008-07-16 09:55:28 UTC
(In reply to comment #3 from Michael Schröder)
> Hmm, why does it deal with packages? That breaks our patch concept somewhat.

People wanted it. It is optional, you can configure the applet to deal with patches only (i don't know what is the default).

> And selecting packages from "zypper lu -t package" is dangerous, as the "zypper
> in" is done in forceResolv mode

The applet runs zypper in non-interactive mode, forceResolve=false is used there.
Comment 5 Jan Kupec 2008-07-16 09:57:24 UTC
... and it uses 'zypper in' instead of 'zypper up' because it allows you to select packages to update from the list, IIRC.
Comment 6 Thomas Göttlicher 2008-07-16 10:09:38 UTC
(In reply to comment #4 from Ján Kupec)
> People wanted it. It is optional, you can configure the applet to deal with
> patches only (i don't know what is the default).
Default is patches only. The option that enables packages mentions "for experts only".
Comment 7 Duncan Mac-Vicar 2008-07-20 15:59:10 UTC
Closing as invalid. We are working in making the patch/package issue more clear.