On 14/06/2020 21.32, Anton Aylward wrote:
On 14/06/2020 13:53, Carlos E. R. wrote:
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.
No, that's not how it works with zypper. Zypper will NOT 'fail silently'.
I did not mean zypper. I meant whatever you install with no recommends.
If you do explicitly request an installation of a 32-bit application that needs a 32-bit library that is locked, zypper will say so and ask if you want it unlocked. BTDT.
There is no reason to install every 32-but library or every language file just because you have the disk space to do so. That makes no sense. if you follow that principle then why not install everything there is in every repository there is ...
It does make sense, that's what I'm saying. One day you click or select an option in an application and it simply fails, because it needs what was considered optional by someone, and was thus only recommended and not installed. And, depending on the programmer, it will tell you that whatever library or application is missing, or will just fail silently. And this may happen a year after installation, so you will have forgotten about the recommends. And yes, I have seen this happening. I prefer to live in some comfort. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)