[Bug 561392] New: zypper ignores too many dependencies
http://bugzilla.novell.com/show_bug.cgi?id=561392 http://bugzilla.novell.com/show_bug.cgi?id=561392#c0 Summary: zypper ignores too many dependencies Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: mvidner@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- I tried to install a package while ignoring one specific dependency of it, but additionally, another dependency was ignored too. Specifically, a user wanted to try out WebYaST on 11.2. I took the 11.2 KDE live CD I added these repositories: zypper ar http://download.opensuse.org/repositories/YaST:/Web/openSUSE_11.2 webyast zypper ar http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions... rubyext zypper ref # and accepted the keys Installed the basic WebYaST package: zypper in lighttpd # a regular non-updated version zypper in yast2-webservice Now I got this, because indeed the updated lighttpd was not available (If you test this later, disable updates) Problem: nothing provides lighttpd > 1.4.20-3.6 needed by yast2-webservice-0.0.19-1.1.noarch Solution 1: deinstallation of yast2-webservice-0.0.19-1.1.noarch Solution 2: break yast2-webservice by ignoring some of its dependencies I chose 2 and assumed only the lighttpd dependency would be ignored. But in addition, the "rubygem-rails-2_3 = 2.3.4" dependency was ignored too. The wording "some of its deps" suggest this may be a "feature". But even zypper verify does not mention the rails dep afterwards. I will attach a solver test case. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=561392 http://bugzilla.novell.com/show_bug.cgi?id=561392#c1 --- Comment #1 from Martin Vidner <mvidner@novell.com> 2009-12-07 17:36:24 UTC --- WebYaST specific consequences: While installing the RPM, it says "Missing the Rails gem..." which is recorded in /var/log/zypp/history but the user did not report this to me ;-) Connecting to http://localhost:4984/ displays a very basic 500 error page. Only strace -f on the lighttpd process reveals "Missing the Rails gem..." from the fastcgi child. After zypper in rubygem-rails-2_3, a different error output is seen in the strace (and nowhere else, AFAICT), but that is definitely for a separate bug) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=561392 http://bugzilla.novell.com/show_bug.cgi?id=561392#c2 --- Comment #2 from Martin Vidner <mvidner@novell.com> 2009-12-07 17:46:11 UTC --- Created an attachment (id=331401) --> (http://bugzilla.novell.com/attachment.cgi?id=331401) zypper.solverTestCase.tar.bz2 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
From the testcase I can not reproduce a 'verify' problem. In case zypper runs verify in 'force' mode, the solver will not report the missing rubygem-rails, but suggest deletion of the broken 'yast2-webservice'. But either way creates a
http://bugzilla.novell.com/show_bug.cgi?id=561392 http://bugzilla.novell.com/show_bug.cgi?id=561392#c3 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ma@novell.com Resolution| |WORKSFORME --- Comment #3 from Michael Andres <ma@novell.com> 2010-02-11 16:19:42 UTC --- 'ignoring some of its dependencies' means 'everything that prevents it's installation'. - "rubygem-rails-2_3 = 2.3.4" is not installable as it requires "rubygem-activesupport-2_3 = 2.3.4" which is not provided at all (just 2.3.2 and 2.3.5). - A 'zypper in rubygem-rails-2_3' also needed to 'ignore some of its dependencies', so the system was likely without any rubygem-activesupport. problem report. I used zypper 1.2.17, libzypp 6.29.3, satsolver: 0.14.14. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com