Bug 533701

Summary: kernel not offered for update
Product: [openSUSE] openSUSE 11.1 Reporter: Michal Svec <msvec>
Component: libzyppAssignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: dmacvicar, mls
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: solver testcase

Description Michal Svec 2009-08-24 11:28:45 UTC
The updated kernel is not offered for update:

bash# zypper lp

Repository           | Name                   | Version | Category    | Status
---------------------+------------------------+---------+-------------+-------
openSUSE-11.1-Update | MozillaFirefox         | 1202    | security    | Needed
openSUSE-11.1-Update | curl                   | 1232    | security    | Needed
openSUSE-11.1-Update | freetype2              | 794     | security    | Needed
openSUSE-11.1-Update | libfreebl3             | 1201    | security    | Needed
openSUSE-11.1-Update | libtiff-devel          | 1176    | security    | Needed
openSUSE-11.1-Update | release-notes-openSUSE | 1206    | recommended | Needed

Despite it is in the repo:

bash$ zypper se -s --match-exact kernel-default

S | Name           | Type       | Version         | Arch   | Repository
--+----------------+------------+-----------------+--------+---------------------
v | kernel-default | package    | 2.6.27.29-0.1.1 | x86_64 | openSUSE-11.1-Update
v | kernel-default | package    | 2.6.27.25-0.1.1 | x86_64 | openSUSE-11.1-Update
v | kernel-default | package    | 2.6.27.23-0.1.1 | x86_64 | openSUSE-11.1-Update
i | kernel-default | package    | 2.6.27.21-0.1.2 | x86_64 | openSUSE-11.1-Update
v | kernel-default | package    | 2.6.27.19-3.2.1 | x86_64 | openSUSE-11.1-Update

And it can be installed:

glum:~ # zypper in kernel-default=2.6.27.29-0.1.1

The following NEW packages are going to be installed:
  kernel-default kernel-default-base

Overall download size: 25.7 M. After the operation, additional 90.7 M will be used.
Continue? [YES/no]: n
Comment 1 Michal Svec 2009-08-24 11:30:21 UTC
Created attachment 314791 [details]
solver testcase
Comment 2 Duncan Mac-Vicar 2009-08-24 11:33:11 UTC
You are looking for patches, and then searching/installing for packages

Does the kernel showup in zypper lu ?
Comment 3 Duncan Mac-Vicar 2009-08-24 11:59:55 UTC
For some reason the patch is not being shown as needed or relevant.

Sadly 11.1 does not have zypper lp -a
Comment 4 Michael Schröder 2009-08-24 12:20:17 UTC
Well, the testcase doesn't help at all, as the kernel patch is shown as needed.
Duncan, why did you say that it's not being shown? Can you reproduce the bug?
Comment 5 Michal Svec 2009-08-24 12:46:28 UTC
It's not being shown is a fact, see the report :-)

bash# zypper lp

Repository           | Name                   | Version | Category    | Status
---------------------+------------------------+---------+-------------+-------
openSUSE-11.1-Update | MozillaFirefox         | 1202    | security    | Needed
openSUSE-11.1-Update | curl                   | 1232    | security    | Needed
openSUSE-11.1-Update | freetype2              | 794     | security    | Needed
openSUSE-11.1-Update | libfreebl3             | 1201    | security    | Needed
openSUSE-11.1-Update | libtiff-devel          | 1176    | security    | Needed
openSUSE-11.1-Update | release-notes-openSUSE | 1206    | recommended | Needed

[That's it, no kernel]
Comment 6 Michael Schröder 2009-08-24 12:49:16 UTC
Yes, but I was talking about the test case and Duncan asked about 'zypper -lu'.
Comment 7 Michal Svec 2009-08-24 13:14:47 UTC
It is showing up in 'zypper lu':

bash$ zypper lu|grep kernel
v | openSUSE-11.1-Update | kernel-default | 2.6.27.29-0.1.1 | x86_64
[...]

And the patch even seems to be there:

bash$ zypper if -t patch kernel|grep 2.6.27
Summary: Linux Kernel: Security/Bugfix update to 2.6.27.29

It's not offered for update (patch).
Comment 8 Michael Schröder 2009-09-09 15:06:20 UTC
Did you enable multiversion installation for the kernel? If yes this is a duplicate of #531899.
Comment 9 Michal Svec 2009-09-10 07:40:27 UTC
I am using multiversion.

*** This bug has been marked as a duplicate of bug 531899 ***