Hello, Am Mittwoch, 23. Januar 2019, 18:07:50 CET schrieb Patrick Shanahan:
* Liam Proven
[01-23-19 12:00]: On 1/23/19 5:49 PM, Felix Miata wrote:
To disable recommends in /etc/zypp/zyp*conf should take care of this scenario: zypp.conf: solver.onlyRequires = true zypper.conf: installRecommends = false
Why or how is "recommends" relevant to this?
re-read your post complaining about removed packages being reinstalled.
This answer is 100% correct, and also completely useless for people who are not too familiar with what "Recommends" do. Actually it reminds me to an old joke about Microsoft and a helicopter - if you don't know it, check https://www.pcreview.co.uk/threads/microsoft-helicopter-joke.3245996/ ;-) On a more serious (and technical [1]) note: "Recommends" is the soft version of "Requires" - a recommended package gets installed by default. You can uninstall recommended packages, but they'll get reinstalled as long as one of your still installed packages or patterns recommends them. To avoid this, use the config options mentioned by Felix (the one in zypp.conf should be enough), and recommended packages will no longer be installed. However, let me warn you that doing that on your desktop machine or laptop will give you more than one "why is this missing?" or even "why doesn't this part of $application work?" moments. I tried this a few months ago, and quickly re-enabled installing recommended packages. OTOH, on servers I use onlyRequires by default. That all said - I completely agree that it would be a good idea for zypper to remember which packages you uninstalled manually, and to keep them uninstalled even if they are recommended (ideally with a message in the summary saying "not installing the following recommended packages which were previously uninstalled"). Liam, I'm quite sure you know how to use bugzilla [2] - can you please submit this as a bugreport [3] (ideally after searching if there's a similar bugreport already)? ;-) Regards, Christian Boltz [1] sorry Richard ;-) [2] Just in case you don't - I'll happily get you started if you promise to document whatever you learned ;-) [3] I'll leave it to you if you call it a bug (severity "normal") or a feature request (severity "enhancement") - both ways are valid, depending on how you write the description ;-) -- Wir waren vor einiger Zeit schonmal "soweit fertig". Dann kam Gerald, fand 1000 Sachen Scheisse, hat 500 Sachen nicht begriffen und 250 falsch gemacht. :-)))))) [Ratti in fontlinge-devel] -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org To contact the owner, email: opensuse-project+owner@opensuse.org