|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST package manager not respecting "installRecommends=no" | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Forgotten User dH2Y-YXEfD <forgotten_dH2Y-YXEfD> |
| Component: | YaST2 | Assignee: | Martin Vidner <mvidner> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P2 - High | CC: | forgotten_dH2Y-YXEfD, gs, mvidner |
| Version: | 13.2 Beta 1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| URL: | https://trello.com/c/fc9pedpd | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | current and old y2log files | ||
|
Description
Forgotten User dH2Y-YXEfD
2014-10-12 22:55:05 UTC
Please attach the yast logfiles (see http://en.opensuse.org/openSUSE:Bugreport_YaST) Does 'zypper up --no-recommends' also try to install patterns-openSUSE-gnome_office_opt? Created attachment 609830 [details]
current and old y2log files
Thanks for looking into this!
I removed the patterns-openSUSE-gnome_office package so it wouldn't pull in all the extra clutter, but the following commands work correctly:
---
zypper install --no-recommends patterns-openSUSE-gnome_office
zypper install patterns-openSUSE-gnome_office
---
With the above commands, the *_opt patterns don't get pulled in.
When trying to re-install patterns-openSUSE-gnome_office via YaST, however, it tries to install the _opt pattern and all of its deps.
I'm attaching my y2logs. Hope it helps.
Passing this to the YAST guys. A glimpse at the logs tells that 'IGNORE_RECOMMENDED=0' in any solver run YAST triggers. Looks like YAST overrides the defaults in zypp.conf. One part of a fix: https://github.com/yast/yast-yast2/pull/373 I propose a new Release Notes entry, replacing the one with id=fate-318213: Recommended packages (weak dependencies) YaST Qt packager UI no longer defaults to installing recommended packages for already installed packages. The persistent option controlling this was moved to a one-time command Extras/Install All Matching Recommended Packages. (boo#902394) For newly installed packages, the weak dependencies are still installed by default, but newly this can be disabled in the UI with the option Dependencies/Install Recommended Packages (boo#900853). The YaST Qt packager UI is also using the same configuration file as the ncurses packager UI: /etc/sysconfig/yast2 (boo#900853). This was fixed in RPM: libyui-qt-pkg-2.45.0 Git: https://github.com/libyui/libyui-qt-pkg/pull/23 |