[Bug 849251] New: zypper: always installs a package not required by anything
https://bugzilla.novell.com/show_bug.cgi?id=849251 https://bugzilla.novell.com/show_bug.cgi?id=849251#c0 Summary: zypper: always installs a package not required by anything Classification: openSUSE Product: openSUSE 13.1 Version: RC 2 Platform: All OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: jengelh@inai.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- What I did: zypper dup --no-r (--no-recommends) What I observed: zypper always installs libyui-ncurses5. As I already use --no-r (--no-recommends), it would seems that this behavior is not the cause of Recommends: lines in .spec files. What I expected: Do not install libyui-ncurses5. Log: v-suse:/var/log # zypper dup --no-r Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command. Loading repository data... Reading installed packages... Computing distribution upgrade... The following NEW package is going to be installed: libyui-ncurses5 1 new package to install. Overall download size: 287.9 KiB. After the operation, additional 1.0 MiB will be used. Continue? [y/n/? shows all options] (y): ^C v-suse:/var/log # rpm -q zypper libzypp zypper-1.9.3-1.1.x86_64 libzypp-13.8.1-1.1.x86_64 -- 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=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c1
--- Comment #1 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c2
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c3
--- Comment #3 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c4
--- Comment #4 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c5
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c6
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c7
--- Comment #7 from Jan Engelhardt
The installed "libyui5" package needs either the solver prefers to resolve dependencies with "non-orphaned" packages.
That is very interesting :) I remember that zypper would automatically kill orphaned packages in such a way that a `zypper dup` might only show removals, something like --- Computing distribution upgrade... The following packages will be removed: libgmpxx3 1 package to remove. Continue? --- Which would hint towards openSUSE having a file in the install media for a list of recently-orphaned packages. Would this observation be correct? If so, libyui-ncurses4 should have been added to this list (too late for GM now, so…"oh well, next time"). -- 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=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c8
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c9
Jan Engelhardt
can you describe how you arrived at this problem?
1. Take a 12.3 system, and set 13.1 in /etc/zypp/repos.d 2. `zypper up --no-r` (instead of dup). libyui4 and the old yast remains, because they were unfavorable solutions to the solver (which is expected). 3. `zypper dup --no-r`. libyui4 is NOT proposed for removal. If instead one were to do `zypper dup` in step 2, libyui4 would be correctly proposed for removal. -- 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=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c10
Martin Vidner
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c11
--- Comment #11 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c12
--- Comment #12 from Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c13
--- Comment #13 from Jan Engelhardt
it actually makes sense to re-evaluate the dropped list on every 'dup'. I already implemented this for factory.
Cool, then we are done here :) -- 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=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c14
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c15
--- Comment #15 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=849251
https://bugzilla.novell.com/show_bug.cgi?id=849251#c
Jan Engelhardt
participants (1)
-
bugzilla_noreply@novell.com