[Bug 300569] New: zypper shows wrong updates
https://bugzilla.novell.com/show_bug.cgi?id=300569 Summary: zypper shows wrong updates Product: openSUSE 10.3 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: libzypp AssignedTo: kkaempf@novell.com ReportedBy: robin.knapp@fujitsu-siemens.com QAContact: kkaempf@novell.com Found By: Beta-Customer vmware:~ # rpm -q libzypp libzypp-3.13.13-4 vmware:~ # zypper ref Refreshing 'CD' * Building repository 'CD' cache Refreshing 'openSUSE-10.3-Updates' * Building repository 'openSUSE-10.3-Updates' cache All repositories have been refreshed. vmware:~ # zypper pch * Reading repository 'CD' cache * Reading repository 'openSUSE-10.3-Updates' cache * Reading installed packages [100%] Repository: | Name | Version | Category | Status ----------------------+---------------------------+---------+-------------+--------------- openSUSE-10.3-Updates | iwl3945-ucode | 4076-0 | optional | Needed openSUSE-10.3-Updates | kernel | 4078-0 | security | Not Applicable openSUSE-10.3-Updates | kmps | 4077-0 | recommended | Not Applicable openSUSE-10.3-Updates | libzypp | 4047-0 | recommended | Not Applicable openSUSE-10.3-Updates | update-test-interactive | 2625-0 | recommended | Not Applicable openSUSE-10.3-Updates | update-test-optional | 2627-0 | optional | Not Applicable openSUSE-10.3-Updates | update-test-reboot-needed | 2628-0 | recommended | Not Applicable openSUSE-10.3-Updates | update-test-security | 2629-0 | security | Not Applicable openSUSE-10.3-Updates | update-test-trival | 2626-0 | recommended | Not Applicable vmware:~ # zypper se kernel-default * Reading installed packages [100%] * Reading repository 'CD' cache * Reading repository 'openSUSE-10.3-Updates' cache S | Repository | Type | Name | Version | Arch --+-----------------------+---------+----------------+-------------+------- v | openSUSE-10.3-Updates | package | kernel-default | 2.6.22.2-3 | i586 i | CD | package | kernel-default | 2.6.22.1-16 | i586 | openSUSE-10.3-Updates | atom | kernel-default | 2.6.22.2-3 | ppc | openSUSE-10.3-Updates | atom | kernel-default | 2.6.22.2-3 | i586 | openSUSE-10.3-Updates | atom | kernel-default | 2.6.22.2-3 | x86_64 vmware:~ # zypper se iwl3945 * Reading installed packages [100%] * Reading repository 'CD' cache * Reading repository 'openSUSE-10.3-Updates' cache S | Repository | Type | Name | Version | Arch --+-----------------------+---------+---------------+------------+------- | openSUSE-10.3-Updates | package | iwl3945-ucode | 2.14.1.5-3 | noarch | CD | package | iwl3945-ucode | 2.14.1.5-2 | noarch | openSUSE-10.3-Updates | patch | iwl3945-ucode | 4076-0 | noarch | openSUSE-10.3-Updates | atom | iwl3945-ucode | 2.14.1.5-3 | noarch vmware:~ # zypper lu * Reading repository 'CD' cache * Reading repository 'openSUSE-10.3-Updates' cache * Reading installed packages [100%] Repository: | Name | Version | Category | Status ----------------------+---------------+---------+----------+------- openSUSE-10.3-Updates | iwl3945-ucode | 4076-0 | optional | Needed ----------- Two things went wrong: 1. Kernel patch should be tagged as "needed" 2. iwl3945 patch should be tagged as "not applicable" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=300569#c1
--- Comment #1 from Robin Knapp
https://bugzilla.novell.com/show_bug.cgi?id=300569
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=300569#c2
Stefan Schubert
https://bugzilla.novell.com/show_bug.cgi?id=300569#c3
Robin Knapp
https://bugzilla.novell.com/show_bug.cgi?id=300569#c4
--- Comment #4 from Stefan Schubert
https://bugzilla.novell.com/show_bug.cgi?id=300569#c5
--- Comment #5 from Robin Knapp
https://bugzilla.novell.com/show_bug.cgi?id=300569#c6
Stefan Schubert
https://bugzilla.novell.com/show_bug.cgi?id=300569#c7
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=300569#c8
--- Comment #8 from Robin Knapp
https://bugzilla.novell.com/show_bug.cgi?id=300569#c9
Stefan Schubert
https://bugzilla.novell.com/show_bug.cgi?id=300569#c10
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=300569#c11
--- Comment #11 from Klaus Kämpf
Sure, i didn't know about such thing :O(
Can you give me detailed information? Is it documented somewhere?
Also, question is whether parser should filter resolvables at all. If not, they have to be filtered when reading from cache into the ResStore, or when adding from ResStore to the pool.
See also #301286 Yes, the parser should filter esp. for speed and storage reasons. However, atoms are different since all patches are noarch. Remember that atoms are just a conditional link between the patch (bugfix metadata) and the update (package). Since the patch is noarch, it requires all updates belonging to the bugfix, irregardless of the architecture. This will be sorted out by the atoms. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=300569#c12
Klaus Kämpf
Maybe this information helps:
I wondered why I'm offered the iwl update whilst not having any iwl package installed at all.
Yeah, thats a bug.
So I called "zypper up" and got this result:
------------------------- snip ------------------------- vmware:~ # zypper up * Reading repository 'CD' cache * Reading repository 'factory' cache * Reading repository 'openSUSE-10.3-Updates' cache * Reading repository 'KDE4' cache * Reading installed packages [100%]
The following NEW atoms are going to be installed: iwlwifi-kmp-bigsmp iwl4965-ucode iwl3945-ucode iwlwifi-kmp-xenpae
Huh ? Atoms are internal and shouldn't be shown.
The following NEW packages are going to be installed: iwl3945-ucode iwl4965-ucode iwlwifi-kmp-bigsmp iwlwifi-kmp-xenpae kernel-bigsmp kernel-xenpae xen mpt-firmware
This is indeed frightening
The following NEW patch is going to be installed: iwl3945-ucode
Well, its only optional and IMHO 'zypper up' shouldn't pick up optional patches. I'll have a look at this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=300569#c13
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=300569#c14
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=300569#c16
--- Comment #16 from Harald Mueller-Ney
https://bugzilla.novell.com/show_bug.cgi?id=300569#c17
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=300569#c18
Harald Mueller-Ney
participants (1)
-
bugzilla_noreply@novell.com