Bug 503068

Summary: Critical updates hidden behind update stack updates
Product: [openSUSE] openSUSE 11.1 Reporter: Michal Svec <msvec>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michal Svec 2009-05-12 13:21:35 UTC
When there is an update stack update available and at the same time also
some critical updates, they are hidden behind the first one as it gets
a priority over them.

Like right now:

  bash$ zypper lp

  Warning: These are only the updates affecting the updater itself.
  Other updates are available too.

  Repository           | Name         | Version | Category    | Status
  ---------------------+--------------+---------+-------------+-------
  openSUSE-11.1-Update | softwaremgmt | 791     | recommended | Needed

But it does not mention any way that there is also a critical kernel
update (or others) pending and thus leaves the user with a false
feeling of safety.

I would suggest to at least mention this fact somewhere in the Warning,
something like: "Other, possibly critical, updates are available too."
Or mention that explicitly only if there are actually critical updates.
Comment 1 Jan Kupec 2009-05-13 11:09:22 UTC
(In reply to comment #0)
>   Warning: These are only the updates affecting the updater itself.
>   Other updates are available too.
<cut>
> But it does not mention any way that there is also a critical kernel
> update

NO

> (or others)

Look again :O)

> pending and thus leaves the user with a false
> feeling of safety.

Yes, it can be easily overlooked.

> I would suggest to at least mention this fact somewhere in the Warning,
> something like: "Other, possibly critical, updates are available too."
> Or mention that explicitly only if there are actually critical updates.

What about making lp show all needed patches? zypper patch would then install the software mgmgt stack first, with an explanatory messages like "I will install the software management patches first. Rerun this command once more to install the rest of needed patches."

Do we want this fix also for 11.1/SLE11?
Comment 2 Michal Svec 2009-05-13 12:07:14 UTC
> > (or others)
> Look again :O)

others = other critical updates

> > I would suggest to at least mention this fact somewhere in the Warning,
> > something like: "Other, possibly critical, updates are available too."
> > Or mention that explicitly only if there are actually critical updates.
> 
> What about making lp show all needed patches? zypper patch would then install
> the software mgmgt stack first, with an explanatory messages like "I will
> install the software management patches first. Rerun this command once more to
> install the rest of needed patches."

That sounds reasonable.

> Do we want this fix also for 11.1/SLE11?

IMHO not.
Comment 3 Jan Kupec 2009-05-13 13:31:19 UTC
ok
Comment 4 Jan Kupec 2009-06-29 11:51:53 UTC
done in git, to be in zypper 1.2.1
Comment 5 Jan Kupec 2009-06-29 17:16:10 UTC
submitted