https://bugzilla.novell.com/show_bug.cgi?id=692694
https://bugzilla.novell.com/show_bug.cgi?id=692694#c0
Summary: zypper: add using an inferior version to the problem solver Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: All OS/Version: Linux Status: NEW Severity: Enhancement Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: jengelh@medozas.de QAContact: qa@suse.de Found By: Beta-Customer Blocker: ---
Suppose this happens:
16:15 server01:~ # zypper in php5-xmlwriter Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: php5-xmlwriter-5.3.6.201105090040-73.1.x86_64 requires php5 = 5.3.6.201105090040, but this requirement cannot be provided uninstallable providers: php5-5.3.6.201105090040-73.1.i586[server_php] php5-5.3.6.201105090040-73.1.x86_64[server_php] Solution 1: Following actions will be done: replacement of php5-hash-5.3.3-0.17.1.x86_64 with php5-5.3.6.201105090040-73.1.x86_64 install php5-5.3.6.201105090040-73.1.x86_64 (with vendor change) openSUSE --> obs://build.opensuse.org/server:php install php5-zip-5.3.6.201105090040-73.1.x86_64 (with vendor change) openSUSE --> obs://build.opensuse.org/server:php [...]
install apache2-mod_php5-5.3.6.201105090040-73.1.x86_64 (with vendor change) openSUSE --> obs://build.opensuse.org/server:php Solution 2: do not install php5-xmlwriter-5.3.6.201105090040-73.1.x86_64 Solution 3: break php5-xmlwriter by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c] (c):
It would be welcome if zypper could offer a "Solution 4: Install php5-xmlwriter-5.3.3".
https://bugzilla.novell.com/show_bug.cgi?id=692694
https://bugzilla.novell.com/show_bug.cgi?id=692694#c1
Michael Schröder mls@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jengelh@medozas.de
--- Comment #1 from Michael Schröder mls@novell.com 2011-05-10 08:56:25 UTC --- It probably can't, because otherwise it would have offered it as a solution. Solver test case, please.
https://bugzilla.novell.com/show_bug.cgi?id=692694
https://bugzilla.novell.com/show_bug.cgi?id=692694#c2
Jan Engelhardt jengelh@medozas.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|jengelh@medozas.de |
--- Comment #2 from Jan Engelhardt jengelh@medozas.de 2011-05-10 12:25:00 UTC --- Created an attachment (id=428824) --> (http://bugzilla.novell.com/attachment.cgi?id=428824) /var/log/zypp*
Certainly is possible.
# zypper in php5-xmlwriter-5.3.3 Laster pakkebrønndata... Leser installerte pakker... Kontrollerer pakkeavhengigheter...
Denne NYE pakken vil bli installert: php5-xmlwriter
1 ny pakke som skal installeres. Total nedlastingsstørrelse: 20.0 KiB. Etter handlingen vil ytterligere 47.0 KiB bli tatt i bruk. Vil du fortsette? [y/n/?] (y): Henter pakke php5-xmlwriter-5.3.3-0.17.1.x86_64 (1/1), 20.0 KiB (47.0 KiB utpakket) Henter: php5-xmlwriter-5.3.3-0.17.1.x86_64.rpm [fullført] Installerer: php5-xmlwriter- 5.3.3-0.17.1 [fullført]
https://bugzilla.novell.com/show_bug.cgi?id=692694
https://bugzilla.novell.com/show_bug.cgi?id=692694#c3
--- Comment #3 from Michael Schröder mls@novell.com 2011-05-10 14:11:48 UTC --- Ah wait, my mistake. Solution 2 is "do not install php5-xmlwriter-5.3.6.201105090040-73.1.x86_64", so the solver is told the specific package to install. So it's a zypper bug. "zypper in <pkgname>" used to tell the solver to install any version of a package, I wonder why this was changed by the zypper developers.
https://bugzilla.novell.com/show_bug.cgi?id=692694
https://bugzilla.novell.com/show_bug.cgi?id=692694#c
Michael Andres ma@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High
https://bugzilla.novell.com/show_bug.cgi?id=692694
https://bugzilla.novell.com/show_bug.cgi?id=692694#c4
Michael Schröder mls@novell.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmueller@novell.com
--- Comment #4 from Michael Schröder mls@novell.com 2011-05-18 17:30:14 UTC --- *** Bug 694614 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=694614
http://bugzilla.novell.com/show_bug.cgi?id=692694 http://bugzilla.novell.com/show_bug.cgi?id=692694#c7
Benjamin Zeller bzeller@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |bzeller@suse.com Resolution|--- |DUPLICATE
--- Comment #7 from Benjamin Zeller bzeller@suse.com --- Collected as a feature for upcoming rewrite of libzypp's use of libsolv APIs
*** This bug has been marked as a duplicate of bug 1125477 ***