Op zondag 14 juni 2020 19:53:33 CEST schreef Carlos E. R.:
On 14/06/2020 18.41, Anton Aylward wrote:
On 13/06/2020 23:56, David C. Rankin wrote:
All,
What controls what is and what is NOT a recommended package for any given
package install? 15.2 and I went to install dvd+rw-tool, libdvdread, libdvdnav4 and libdvdcss2 with the 32-bit versions of those with them. 6 packages total.
With zypper in there were 85 packages selected for install?? Setting
solver.onlyRequires = true (or --no-recommends) reduces the number to 8. A 10-fold decrease in the number of packages. So what controls all of the recommends? (most were counter-part 32-bit libraries for everything on the system since a 32-bit version of libdvdnav4 was specified). Is there any finer-grained control other than just the --no-recommends hammer?
Not that three's anything wrong with "solver.onlyRequires = true" ....
The nice thing about using zypper rather than the yast/gui is that you have the shell, so you can use CLI functionality.
You can do a 'zypper search' for all the 32-bit libraries, filter though 'awk' or 'cut' to get just the names and use that list with 'zypper al' to lock them so that they never get loaded or considered.
But then you expose yourself to one day an application needing one of those recommended but not required packages, and failing silently. Who cares!? Disk is cheap, install them all. For once I agree with you 99.9%, Carlos. Having the 'recommends' doesn't hurt. For the reason you mention. The 0.1% is that some packages recommend Texlive, which doubles the number of packages on my install.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org