Bugzilla – Bug 464458
libzypp claims no patches are available even though some are
Last modified: 2009-02-03 20:23:36 UTC
I'm testing updates to rsyslog on 11.1 (x86_64): 3.18.3-4.32 is installed, 3.18.3-4.33.1 is available. linux-4rf5:/var/log # zypper search --details rsyslog Daten des Repositorys laden... Installierte Pakete lesen... S | Name | Typ | Version | Arch | Repository --+-----------------------+------------+---------------+--------+--------------------- v | rsyslog | Paket | 3.18.3-4.2 | x86_64 | openSUSE-11.1-Update v | rsyslog | Paket | 3.18.3-4.2 | i586 | openSUSE-11.1-Update v | rsyslog | Paket | 3.18.3-4.33.1 | x86_64 | 11.1-test v | rsyslog | Paket | 3.18.3-4.2 | x86_64 | 11.1-test v | rsyslog | Paket | 3.18.3-4.33.1 | i586 | 11.1-test v | rsyslog | Paket | 3.18.3-4.2 | i586 | 11.1-test i | rsyslog | Paket | 3.18.3-4.32 | x86_64 | openSUSE-11.1-Oss v | rsyslog | Paket | 3.18.3-4.28 | i586 | openSUSE-11.1-Oss | rsyslog | Quellpaket | 3.18.3-4.2 | noarch | openSUSE-11.1-Update | rsyslog | Quellpaket | 3.18.3-4.33.1 | noarch | 11.1-test i | rsyslog | Patch | 367 | noarch | openSUSE-11.1-Update | rsyslog | Patch | 392 | noarch | 11.1-test i | rsyslog | Patch | 367 | noarch | 11.1-test | rsyslog-doc | Paket | 3.18.3-4.32 | x86_64 | openSUSE-11.1-Oss | rsyslog-doc | Paket | 3.18.3-4.28 | i586 | openSUSE-11.1-Oss | rsyslog-module-gssapi | Paket | 3.18.3-4.32 | x86_64 | openSUSE-11.1-Oss | rsyslog-module-gssapi | Paket | 3.18.3-4.28 | i586 | openSUSE-11.1-Oss | rsyslog-module-mysql | Paket | 3.18.3-4.32 | x86_64 | openSUSE-11.1-Oss | rsyslog-module-mysql | Paket | 3.18.3-4.28 | i586 | openSUSE-11.1-Oss | rsyslog-module-pgsql | Paket | 3.18.3-4.32 | x86_64 | openSUSE-11.1-Oss | rsyslog-module-pgsql | Paket | 3.18.3-4.28 | i586 | openSUSE-11.1-Oss | rsyslog-module-snmp | Paket | 3.18.3-4.32 | x86_64 | openSUSE-11.1-Oss | rsyslog-module-snmp | Paket | 3.18.3-4.28 | i586 | openSUSE-11.1-Oss zypper pch | grep rsyslog 11.1-test | rsyslog | 367 | security | Installiert 11.1-test | rsyslog | 392 | security | Benötigt openSUSE-11.1-Update | rsyslog | 367 | security | Installiert zypper update -t patch <nothing>
Created attachment 263844 [details] solver testcase
'zypper lp' does not list the patch either. I must check why 'pch' thinks it is needed then.
(In reply to comment #0 from Dirk Mueller) > zypper update -t patch > <nothing> Are you sure there was _nothing_ here? Not even other patches (esp. those affecting package management stack, e.g. yast)?
ok. I can reproduce now.
Got it. The problem is the repository priority - your update test repo obviously has lower priority than the openSUSE-11.1-Update. And the second problem is that zypper uses it's own function to determine what it will choose for update (which ignores repo priority), except for 'zypper patch' (zypper up -t patch), where i forgot replace the function. Thanx for finding this!
Fixed in git, to be in zypper 1.0.4
Submitted. The proper fix (zypper honoring repo priority everywhere) will be done for 11.2/SP1.
Update released for: gnome-packagekit, gnome-packagekit-lang, libqdialogsolver1, libqdialogsolver1-devel, libsatsolver, libsatsolver-devel, libzypp, libzypp-debuginfo, libzypp-debugsource, libzypp-devel, perl-satsolver, python-satsolver, ruby-satsolver, satsolver-tools, yast2, yast2-devel-doc, yast2-online-update, yast2-online-update-frontend, yast2-pkg-bindings, yast2-pkg-bindings-debuginfo, yast2-pkg-bindings-debugsource, zypper Products: openSUSE 11.1 (debug, i586, ppc, x86_64)