[Bug 958161] New: zypper offers to install recommended packages even with "--no-recommends"
http://bugzilla.suse.com/show_bug.cgi?id=958161 Bug ID: 958161 Summary: zypper offers to install recommended packages even with "--no-recommends" Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: kkaempf@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Installing recommends is disabled everywhere I can think of:
grep -i onlyrequir /etc/zypp/zypp.conf solver.onlyRequires = true
grep -i recommends /etc/zypp/zypper.conf installRecommends = no
Still
sudo zypper in --no-recommends salt-minion
automatically selects recommended packages: "Loading repository data... Reading installed packages... Resolving package dependencies... The following 15 NEW packages are going to be installed: libpgm-5_2-0 libsodium17 libzmq5 python-backports.ssl_match_hostname python-futures python-Jinja2 python-MarkupSafe python-msgpack-python python-psutil python-PyYAML python-pyzmq python-requests python-tornado salt salt-minion The following 2 recommended packages were automatically selected: python-futures python-tornado 15 new packages to install. Overall download size: 6,3 MiB. Already cached: 0 B. After the operation, additional 32,2 MiB will be used." -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=958161
Klaus Kämpf
http://bugzilla.suse.com/show_bug.cgi?id=958161
Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=958161
http://bugzilla.suse.com/show_bug.cgi?id=958161#c1
Michael Andres
# zypper in --debug-solver nopackage ... Generating solver test case... Solver test case generated successfully at /var/log/zypper.solverTestCase. Then pack the output directory together with /var/log/zypper.log and attach it to the bugreport.
In case the testcase exceeds the 10MB limit for bugzilla uploads, you can use 'split' to divide the file into smaller pieces:
$ cd /tmp $ tar cvjf zypper.solverTestCase.tar.bz2 /var/log/zypper.solverTestCase/ $ split -b 9M --additional-suffix=-zypper.solverTestCase.tar.bz2 \ zypper.solverTestCase.tar.bz2 The created pieces will be named like this: xaa-zypper.solverTestCase.tar.bz2 xab-zypper.solverTestCase.tar.bz2 xac-zypper.solverTestCase.tar.bz2 ...
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=958161
http://bugzilla.suse.com/show_bug.cgi?id=958161#c2
--- Comment #2 from Klaus Kämpf
sudo zypper rm python-futures python-tornado Loading repository data... Reading installed packages... Resolving package dependencies...
The following 4 packages are going to be REMOVED: python-futures python-tornado salt salt-minion 4 packages to remove. After the operation, 24,5 MiB will be freed. So the output of zypper is wrong. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=958161
http://bugzilla.suse.com/show_bug.cgi?id=958161#c3
Klaus Kämpf
http://bugzilla.suse.com/show_bug.cgi?id=958161
http://bugzilla.suse.com/show_bug.cgi?id=958161#c4
Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=958161
http://bugzilla.suse.com/show_bug.cgi?id=958161#c5
--- Comment #5 from Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=958161
http://bugzilla.suse.com/show_bug.cgi?id=958161#c6
Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=958161
http://bugzilla.suse.com/show_bug.cgi?id=958161#c7
Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=958161
http://bugzilla.suse.com/show_bug.cgi?id=958161#c8
Michael Andres
participants (1)
-
bugzilla_noreply@novell.com