[Bug 953522] New: YaST does not autoselect appropriate NVIDIA driver packages
http://bugzilla.suse.com/show_bug.cgi?id=953522 Bug ID: 953522 Summary: YaST does not autoselect appropriate NVIDIA driver packages Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: sndirsch@suse.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- After adding the NVIDIA community repo http://download.suse.de/ibs/home:/sndirsch:/drivers/openSUSE_42.1 (not browsable !!!) YaST software management does not autoselect the appropriate NVIDIA packages according to the hardware supplements specified in the KMPs. Things work fine when using zypper inr and zypper dup but not with YaST. This issue currently can be reproduced internally in Nuremberg on f78.suse.de. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@suse.com, | |lnussel@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c1 --- Comment #1 from Ludwig Nussel <lnussel@suse.com> --- at least zypper inr works (confirmed on new installation). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c2 --- Comment #2 from Michael Andres <ma@suse.com> --- There's AFAIK an option to request the 'zypper inr' mode in the YAST installers option menu (Install Recommended Packages for Already Installed Packages). Like you call 'zypper inr', you must explicitly request this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c3 --- Comment #3 from Michael Andres <ma@suse.com> --- And YES - older YAST versions had this mode enabled by default, which was considered to be a bug, because it created zombie-packages (always re-installed after deletion). 'inr' is a special operation, performed only on request. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c4 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(ma@suse.com) --- Comment #4 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Michael Andres from comment #2)
There's AFAIK an option to request the 'zypper inr' mode in the YAST installers option menu (Install Recommended Packages for Already Installed Packages). Like you call 'zypper inr', you must explicitly request this.
There is no such option in YaST. Could you explain, how to find it? (In reply to Michael Andres from comment #3)
And YES - older YAST versions had this mode enabled by default, which was considered to be a bug, because it created zombie-packages (always re-installed after deletion). 'inr' is a special operation, performed only on request.
Then I consider this a not such a clever decision. Which bug number is this? Could well be that the changed behaviour created more harm than benefit. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c5 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |shundhammer@suse.com Flags|needinfo?(ma@suse.com) |needinfo?(shundhammer@suse. | |com) --- Comment #5 from Michael Andres <ma@suse.com> --- (In reply to Stefan Dirsch from comment #4)
There is no such option in YaST. Could you explain, how to find it?
I'm no YAST guy. AFAIK the ncurses installer has it in it's 'Dependencies' menu, but I don't know where QT hides it. ^^^^^^^^^^^^^^^^^ Huha should now....
Then I consider this a not such a clever decision. Which bug number is this?
FATE#318099: Possibility to install with "no recommends" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c8 --- Comment #8 from Egbert Eich <eich@suse.com> --- If the option is well hidden there is no point in spending all the effort to match PCI IDs to the different versions of the the proprietary drivers any more - people will just not set it and instead pick and install driver packages themselves. In the end they will have a totally misconfigured system which will be an additional support burden. In the mentioned FATE this was already mentioned: Usecase [..] UC4 - On a system with an AMD/nVidia gfx card when I add the proprietary driver repository I want an easy way to install the packages matching my hardware. [..] This never seemed to have been tested, though - result: all our efforts to simplify the installation of the proprietary drivers and to reduce the chance for user errors have been voided. It would make sense to have a per-repo flag if recommended packages shall be installed or not - with reasonable per-repo defaults. However the new situation breaks things badly for us. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |953571 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fcrozat@suse.com Blocks|953571 | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |953571 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c9 Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(ma@suse.com) --- Comment #9 from Ladislav Slezak <lslezak@suse.com> --- IIRC Michael wants to use only the HW dependencies in the "Recommended packages for installed packages" feature later, this would solve the issue with the zombie packages and easy installation of driver packages. Michael, what the plan for this feature? It would help a lot I think... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c10 --- Comment #10 from Stefan Dirsch <sndirsch@suse.com> --- Small update. When selecting 'Addon product from separate media' right before installation, then manually adding 'http://download.nvidia.com/opensuse/leap/42.1' as addon product, YaST autoselects and installs these recommended nvidia packages.Of course nobody would do so ... There is even community repos already offered before installation, but there the NVIDIA repo is missing. After installation it exists ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c11 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lslezak@suse.com Flags| |needinfo?(lslezak@suse.com) --- Comment #11 from Stefan Hundhammer <shundhammer@suse.com> --- Hm - I recall a Scrum task "install with no recommends" a couple of weeks ago. IIRC lslezak did it. This sounds like there might be a connection with this issue. Lada, does this ring any bells? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c12 Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@suse.com Flags|needinfo?(lslezak@suse.com) | --- Comment #12 from Ladislav Slezak <lslezak@suse.com> --- I was not involved in the recommends changes, it was done by Martin Vidner and others. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(mvidner@suse.com) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c13 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ma@suse.com) | --- Comment #13 from Michael Andres <ma@suse.com> --- (In reply to Ladislav Slezak from comment #9)
Michael, what the plan for this feature? It would help a lot I think...
It's on my ASAP list, but by now no ETA. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c14 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(shundhammer@suse. | |com) | --- Comment #14 from Stefan Hundhammer <shundhammer@suse.com> --- Qt package selector: Menu "Extras" -> "Install all matching recommended packages" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c15 --- Comment #15 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Stefan Hundhammer from comment #14)
Qt package selector: Menu "Extras" -> "Install all matching recommended packages"
Yes, that's what I also found. See my comment#7. This is not a switch. This triggers once and immediately in Software selection. Seems we need to add this information to the openSUSE pages, where the installation of the NVIDIA driver packages is described. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c16 --- Comment #16 from Stefan Dirsch <sndirsch@suse.com> --- I added this information now to our Wiki page. https://en.opensuse.org/SDB:NVIDIA_drivers#Easy_way_to_get_NVIDIA_drivers -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(mvidner@suse.com) | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c17 Ladislav Slezak <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |CONFIRMED --- Comment #17 from Ladislav Slezak <lslezak@suse.com> --- I'll wait with the fix for libzypp to provide the HW only recommends feature. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c18 --- Comment #18 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Ladislav Slezak from comment #17)
I'll wait with the fix for libzypp to provide the HW only recommends feature.
Why? Don't we want to fix this obvious regression ASAP? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c19 --- Comment #19 from Michael Andres <ma@suse.com> --- (In reply to Stefan Dirsch from comment #18)
(In reply to Ladislav Slezak from comment #17)
I'll wait with the fix for libzypp to provide the HW only recommends feature.
Why? Don't we want to fix this obvious regression ASAP?
FATE#318099 decided to have the 'inr' switch off per default - the 'inr' functionality is available on demand only. So there is no other trade-off than waiting for a 'smart inr' that can be on per default. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c20 --- Comment #20 from Stefan Dirsch <sndirsch@suse.com> --- Any plans to fix this - ever? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c21 Ladislav Slezák <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|YaST2 |libzypp Assignee|lslezak@suse.com |zypp-maintainers@forge.prov | |o.novell.com QA Contact|jsrain@suse.com |qa-bugs@suse.de --- Comment #21 from Ladislav Slezák <lslezak@suse.com> --- This actually depends on the libzypp support for the "smart inr" (aka HW only recommends) feature as written in comment 19. Changing the component. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c22 --- Comment #22 from Stefan Dirsch <sndirsch@suse.com> --- Just adjusted https://en.opensuse.org/SDB:NVIDIA_drivers#Easy_way_to_get_NVIDIA_drivers for openSUSE Leap 42.2, which is affected by this issue as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Leap 42.1 |Leap 42.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c24 --- Comment #24 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Michael Andres from comment #19)
So there is no other trade-off than waiting for a 'smart inr' that can be on per default.
I guess waiting alone won't help, as long as nobody is going to implement it, right? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|YaST does not autoselect |Regression: YaST no longer |appropriate NVIDIA driver |autoselects appropriate |packages |NVIDIA driver packages -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Regression: YaST no longer |Regression in Leap: YaST no |autoselects appropriate |longer autoselects |NVIDIA driver packages |appropriate NVIDIA driver | |packages -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c25 --- Comment #25 from Stefan Dirsch <sndirsch@suse.com> --- There is now an internal feature request (fate#325513) to implement this for Leap 15.1. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c27 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|libzypp |YaST2 Assignee|zypp-maintainers@forge.prov |yast2-maintainers@suse.de |o.novell.com | Summary|Regression in Leap: YaST no |[CHECK YAST] Regression in |longer autoselects |Leap: YaST no longer |appropriate NVIDIA driver |autoselects appropriate |packages |NVIDIA driver packages QA Contact|qa-bugs@suse.de |jsrain@suse.com --- Comment #27 from Michael Andres <ma@suse.com> --- This flaw should be fixed with libzypp-17.10.2. - The use of --no-recommends should no longer affect the selection of driver and language supporting packages. - `zypper inr --no-recommends` should just add missing driver and language supporting packages to the system. Omitting all the 'ordinary' recommends. I'm passing this back to the YAST team, just to check their resolver switches. With this new behavior `!ignoreAlreadyRecommended` and `onlyRequires` can be used together, which was a NOOP before:
`ignoreA.R.` `onlyRequires` true false 'bloated' install including recommends true true 'minimal' install, no recommends but system supporting packages false false fill up all recommended packages false true fill up only missing system supporting packages (NEW)
For the docs: `system supporting packages` includes HW and language packages, also packages supporting local filesystems. Maybe more resolver namespaces in the future. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c28 Stefan Schubert <schubi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schubi@suse.com Flags| |needinfo?(lslezak@suse.com) --- Comment #28 from Stefan Schubert <schubi@suse.com> --- Lada, could you please check this ? Thanks ! (In reply to Michael Andres from comment #27)
I'm passing this back to the YAST team, just to check their resolver switches. With this new behavior `!ignoreAlreadyRecommended` and `onlyRequires` can be used together, which was a NOOP before:
`ignoreA.R.` `onlyRequires` true false 'bloated' install including recommends true true 'minimal' install, no recommends but system supporting packages false false fill up all recommended packages false true fill up only missing system supporting packages (NEW)
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c29 --- Comment #29 from Stefan Hundhammer <shundhammer@suse.com> --- @lslezak, this is waiting for input from you. Please check. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c30 --- Comment #30 from Stefan Hundhammer <shundhammer@suse.com> --- @lslezak, this is waiting for input from you. Please check. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|ma@suse.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c31 Ladislav Slezák <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@suse.com Flags|needinfo?(lslezak@suse.com) |needinfo?(ma@suse.com) --- Comment #31 from Ladislav Slezák <lslezak@suse.com> --- I have tested the latest Leap 15.1 image and this is what I found in the installation log: 2019-01-23 15:45:27 <1> install(3343) [zypp::solver] SATResolver.cc(solving):426 IGNORE_RECOMMENDED = 0 2019-01-23 15:45:27 <1> install(3343) [zypp::solver] SATResolver.cc(solving):426 ADD_ALREADY_RECOMMENDED = 1 If I understand it correctly that means means "onlyRequires = false" and "ignoreAlreadyRecommended = false". When running the YaST package manager in the installed system I can see: 2019-01-23 15:54:35 <1> linux-sdze(2566) [zypp::solver] SATResolver.cc(solving):426 IGNORE_RECOMMENDED = 0 2019-01-23 15:54:35 <1> linux-sdze(2566) [zypp::solver] SATResolver.cc(solving):426 ADD_ALREADY_RECOMMENDED = 0 That means means "onlyRequires = false" and "ignoreAlreadyRecommended = false". Michael, is that what we want? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c32 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ma@suse.com) | --- Comment #32 from Michael Andres <ma@suse.com> --- It's not so much about the concrete setting (and if "onlyRequires = false", then there is no issue at all). If "onlyRequires = true", it should nevertheless be possible to set "ignoreAlreadyRecommended = false" independently. Just be sure there's no automatism turning off "onlyRequires" if "ignoreAlreadyRecommended" is set to "false". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c33 Ladislav Slezák <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #33 from Ladislav Slezák <lslezak@suse.com> --- (In reply to Michael Andres from comment #32)
It's not so much about the concrete setting (and if "onlyRequires = false", then there is no issue at all).
OK, thanks for the info.
If "onlyRequires = true", it should nevertheless be possible to set "ignoreAlreadyRecommended = false" independently.
We do not allow to set this in YaST in the UI.
Just be sure there's no automatism turning off "onlyRequires" if "ignoreAlreadyRecommended" is set to "false".
There is non automation in YaST for that AFAIK. For me it seems to be OK in the YaST part, I think we can close the bug. Stefan, if you see some problem regarding this then reopen the bug please (just make sure you have libzypp >= 17.10.2). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c34 --- Comment #34 from Michael Andres <ma@suse.com> --- (In reply to Ladislav Slezák from comment #33)
If "onlyRequires = true", it should nevertheless be possible to set "ignoreAlreadyRecommended = false" independently.
We do not allow to set this in YaST in the UI.
Comments 7, 14 an 15 sounded as if the packages selectors do/did. If those 'single shot' actions still exist, one could think about also offering it with "onlyRequires = true", so only HW,lang,... are updated (rather than all recommens). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c35 --- Comment #35 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Ladislav Slezák from comment #31)
... this is what I found in the installation log: IGNORE_RECOMMENDED = 0 ADD_ALREADY_RECOMMENDED = 1
If I understand it correctly that means means "onlyRequires = false" and "ignoreAlreadyRecommended = false".
0,1 maps to false, false? Which kind of strange logic is this?
When running the YaST package manager in the installed system I can see:
IGNORE_RECOMMENDED = 0 ADD_ALREADY_RECOMMENDED = 0
That means means "onlyRequires = false" and "ignoreAlreadyRecommended = false".
I agree with that logic, given that IGNORE_RECOMMENDED really maps to "onlyRequires" and ADD_ALREADY_RECOMMENDED to "ignoreAlreadyRecommended". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c36 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #36 from Stefan Dirsch <sndirsch@suse.com> --- Anyway, I seriously doubt the problematic here has been fully understood by the YaST side. I'll try to explain the previous and current behaviour and what we want to achieve here: SLE11: 1) packages with appropriate hardware supplements have been autoselected for installation during and *after* installation. Great! 2) recommended packages have been autoselected for installation during and *after* installation. Customers weren't so happy about the latter. SLE12/SLE15(SP0) (also openSUSE/Leap/TW of course) 1) packages with appropriate hardware supplements are autoselected for installation *during* installation, but *not* afterwards, e.g. after you add a repo like the NVIDIA one, the autoselection for the right packages of this repo no longer work (this bug here is about!) 2) recommended packages are autoselected for installation *during* installation, but no longer also *after* installation due to a feature request, which then broke autoselection of packages with hardware supplements (although in this FATE it was claimed this would not happen, LOL) SLE15-SP1/fate#325513/this bug The intention here is to fix autoselection again for packages with appropriate hardware supplements *after* installation. If I understood this correctly this would mean one needs to set 'onlyRequires' to "true" given that "system supporting packages" includes hardware supplements. In case you don't know what hardware supplements means, here an example: # rpm --supplements -q xf86-video-intel modalias(xorg-x11-server:pci:v00008086d00001132sv*sd*bc*sc*i*) modalias(xorg-x11-server:pci:v00008086d00002562sv*sd*bc*sc*i*) [...] So I would expect that we would need the settings during installation: ignoreA.R.`=false, `onlyRequires`=true after installation: ignoreA.R.`=true, `onlyRequires`=true And, BTW, I no longer believe IGNORE_RECOMMENDED maps to "onlyRequires". This might have a complete different meaning ... Reopening. This should not be closed before it hasn't been understood by all sides! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c37 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|yast2-maintainers@suse.de |lslezak@suse.com --- Comment #37 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Stefan Schubert from comment #28)
`ignoreA.R.` `onlyRequires` true false 'bloated' install including recommends true true 'minimal' install, no recommends but system supporting packages false false fill up all recommended packages false true fill up only missing system supporting packages (NEW)
This table is hard to understand, especially this ignoreA.R. Maybe it means ignore, that the package was already unselected although recommended by the user, just autoselect it again? Honestly I don't get it. But at least `onlyRequires` appears to map to make use of hardware supplements (true) or not (false). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c38 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mls@suse.com --- Comment #38 from Michael Schröder <mls@suse.com> --- Wait wait wait, why would you want to make "onlyRequires" the default? That's just an option, most people IMHO do not want that. It's only useful if you want a somewhat "minimal" system. So I think that the current code is what we want. (I'm also unsure why "installation" would need to set "ignore already recommended" to false. This option is a noop for fresh installations. It only makes a difference if installed packages are kept, i.e. not updated) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c39 --- Comment #39 from Stefan Dirsch <sndirsch@suse.com> --- Well, all I want is that hardware supplement are no longer ignored - as they are currently on sle12/sle15(sp0). "onlyRequires" is an option for what? Sorry, I no longer understand this logic at all. I doubt that things are simply fixed now by changing nothing in YaST ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c40 --- Comment #40 from Stefan Dirsch <sndirsch@suse.com> --- Just had a try on TW with current libzypp/zypper packages. # rpm -q libzypp libzypp-17.11.0-1.1.x86_64 # rpm --changelog -q libzypp [...] * Mo Dez 10 2018 ma@suse.de - commit: set `SYSTEMD_OFFLINE=1` during chrooted commits (bsc#1118758) - no-recommends: Nevertheless consider resolver namespaces (hardware, language,..supporting packages) (FATE#325513) - BuildRequires: libsolv-devel >= 0.7.2 (SOLVER_FLAG_ONLY_NAMESPACE_RECOMMENDED) - Remove world-readable bit from /var/log/zypp (bsc#1099019) - version 17.10.2 (9) # rpm -q zypper zypper-1.14.19-2.1.x86_64 # rpm --changelog -q zypper [...] * Di Dez 11 2018 ma@suse.de - no-recommends: Nevertheless consider resolver namespaces (hardware, language,..supporting packages) (FATE#325513) - BuildRequires: libzypp-devel >= 17.10.2 - version 1.14.18 # zypper inr Loading repository data... Reading installed packages... Resolving package dependencies... The following 5 NEW packages are going to be installed: nvidia-computeG05 nvidia-gfxG05-kmp-default nvidia-glG05 suse-prime x11-video-nvidiaG05 5 new packages to install. --> Looks good. As before. # zypper inr --no-recommends Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW package is going to be installed: nvidia-gfxG05-kmp-default 1 new package to install. Makes sense, since nvidia-gfxG05-kmp-default recommends nvidia-glG05, x11-video-nvidiaG05. And x11-video-nvidiaG05 recommends nvidia-computeG05 and suse-prime in addition. BUT, there is no autoselection of any NVIDIA driver package when using YaST2. Even not when enabling: --> Extras/Install All Matching Recommended packages. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c41 --- Comment #41 from Stefan Dirsch <sndirsch@suse.com> ---
Even not when enabling:
--> Extras/Install All Matching Recommended packages.
Sorry. Wrong testing. This still works. All appropriate nvidia packages have been autoselected using this option. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c42 --- Comment #42 from Michael Schröder <mls@suse.com> --- #39: there was a change in libzypp, onlyRequires=1 will now still install hardware packages. onlyRequires=1 used to be "ignore all package recommends/supplements", it's now "ignore all except system dependencies". There currently is no way to ignore all recommends/supplements. "ignoreA.R.=1" makes the solver not look at the recommends/supplements for installed packages that are not updated. I.e. if you do a "zypper install foo" you will not get something installed because of a recommends of a package that has nothing to do with the request. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c43 --- Comment #43 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Michael Schröder from comment #42)
#39: there was a change in libzypp, onlyRequires=1 will now still install hardware packages.
onlyRequires=1 used to be "ignore all package recommends/supplements", it's now "ignore all except system dependencies".
There currently is no way to ignore all recommends/supplements.
Thanks for explanation! Understood!
"ignoreA.R.=1" makes the solver not look at the recommends/supplements for installed packages that are not updated. I.e. if you do a "zypper install foo" you will not get something installed because of a recommends of a package that has nothing to do with the request.
Still hard to understand, but I hope it's not relevant for my case. ;-) So my current understanding is, that things are supposed to work now. Unfortunately when using YaST they don't. nvidia-gfxG05-kmp-default is not being autoselected. :-( -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c44 --- Comment #44 from Michael Andres <ma@suse.com> ---
Still hard to understand, but I hope it's not relevant for my case. ;-)
I fear it is. "ignoreA.R.=1" or `ADD_ALREADY_RECOMMENDED=0` (the default) is the option _not_ to automatically fill up the recommendations of already installed packages. YASTS permanent use of 'ADD_ALREADY_RECOMMENDED=1' destroyed small/minimal systems, as even unrelated installs added _any_ deleted or willingly not installed package immediately again. AFAIR that's the main reason why PM requested not to use the option permanently, but to offer a special mode in YAST (like `zypper inr`). What you call the `feature of autoselecting the nvidia driver' is also the `bug of destroying small/minimal systems`: The inability of deleting/not-installing recommended packages, because YAST immediately re-installs them. This is basically still valid and true. Downside of 'ADD_ALREADY_RECOMMENDED=1' (in YAST as well as in 'zypper inr') in the past: Either _all_ missing recommendations were installed (IGNORE_RECOMMENDED=0), or none at all (IGNORE_RECOMMENDED=1). This is fixed by the current implementation: 'zypper inr --recommends' (IGNORE_RECOMMENDED=0, ADD_ALREADY_RECOMMENDED=1) adds _all_ missing recommended packages (incl. hardware supplements etc.). {like before} 'zypper inr --no-recommends' (IGNORE_RECOMMENDED=1, ADD_ALREADY_RECOMMENDED=1) adds _no_ missing recommended packages BUT will add missing hardware supplements etc. (new} -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c45 --- Comment #45 from Stefan Dirsch <sndirsch@suse.com> --- Thanks for further explanations! So, does YaST now get this --no-recommends feature, that now will add missing hardware supplements or not? Seems that currently only required packages are autoselected in YaST. Things are working as expected with zypper as mentioned before. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c47 --- Comment #47 from Michael Schröder <mls@suse.com> --- I fail to see a bug. Adding repositories should not magically install lots of packages. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c48 --- Comment #48 from Ladislav Slezák <lslezak@suse.com> --- On the other hand the users should not need manually select the appropriate drivers. AFAIK in the nVidia case it's not trivial as they release several driver packages (for "legacy" and the new cards). Installing lots of packages would be wrong, but preselecting several driver packages looks like a good idea to me. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c49 --- Comment #49 from Ladislav Slezák <lslezak@suse.com> --- (In reply to Stefan Dirsch from comment #45)
Thanks for further explanations!
So, does YaST now get this
--no-recommends
feature, that now will add missing hardware supplements or not?
IMHO we should add it. To install the full recommended set we already have the "Extra -> Install All Matching Recommended Packages" menu option. But that installs too many packages in most cases. For the system recommended packages (drivers) we do not have any option or possibility how to add them so far. We could add a new "Install All Matching System (Drivers) Packages" (or something like that) option, but I think it would be quite hidden and not friendly for users. My suggestion would be when starting the package manager in the installed system: 1) Search and preselect the system packages at start 2) If there is any package to install switch to the "Installation Summary" view and show list of preselected packages to user. 3) If user does not want to install them it's possible to unselect them (or even mark them as taboo to never install), AFAIK the unselected packages are saved as soft locks so they should not be offered next time. 4) User can add more packages (or remove) and continue with the package manager as usually. 5) After confirming the changes the user would install the driver packages together with the other changes. Your opinions? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c50 --- Comment #50 from Michael Schröder <mls@suse.com> --- The unselected packages are not saved as soft locks since a couple of years, because that feature caused way too much confusion and bug reports... The most sane approach would IMHO be to check for system recommends only if new repositories are added (and then only for those repos). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c51 --- Comment #51 from Stefan Dirsch <sndirsch@suse.com> --- (In reply to Michael Schröder from comment #50)
The most sane approach would IMHO be to check for system recommends only if new repositories are added (and then only for those repos).
Yes, that would definitely make sense and would solve the issue we want to resolve here ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c52 --- Comment #52 from Stefan Dirsch <sndirsch@suse.com> --- OTOH things won't be fully addressed for me anyways without also enabling to install recommended packages, since I'm not forcing the user to require all available NVIDIA packages. The only autoselected package would then be nvidia-gfxG0X-kmp-<kenel_flavor> All the other packages - nvidia-computeG05 - nvidia-glG0X - suse-prime - x11-video-nvidiaG0X are just recommended. But at least the right nvidia-gfxG0X-kmp-<kenel_flavor> would be autoselected. JFYI, Felix Miata reported a bug against TW recently, where he needed to taboo packages with hardware supplements. So in some cases we see these autoselects for some reason now ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c53 --- Comment #53 from Ladislav Slezák <lslezak@suse.com> --- Created attachment 795588 --> http://bugzilla.suse.com/attachment.cgi?id=795588&action=edit Testing patch for /usr/share/YaST2/clients/sw_single.rb This patch preselects the driver packages. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c54 Ladislav Slezák <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |IN_PROGRESS CC| |sndirsch@suse.com Flags| |needinfo?(sndirsch@suse.com | |) --- Comment #54 from Ladislav Slezák <lslezak@suse.com> --- Stefan, please test the above patch. This is the first draft, it does not check for the new repositories and does not safe the current repositories for later. But it works for me, after manually uninstalling "virtualbox-guest-tools" package from a VBox VM YaST preselects that package to install. (And does not select the other recommended packages.) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c55 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(sndirsch@suse.com | |) | --- Comment #55 from Stefan Dirsch <sndirsch@suse.com> --- Thanks a lot, Ladislav! Patch works fine for me. nvidia-gfxG04-kmp-default gets autoselected now. And even the additional userspace packages nvidia-computeG04, nvidia-glG04, suse-prime, x11-video-nvidiaG04 get autoselected as well, although they are only in recommends of KMP package ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c56 --- Comment #56 from Ladislav Slezák <lslezak@suse.com> --- OK, thanks for the feedback, I'll add the repository handling code... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 Ladislav Slezák <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://trello.com/c/Pr25cM | |hj -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c57 Ladislav Slezák <lslezak@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #57 from Ladislav Slezák <lslezak@suse.com> --- Implemented in yast2-packager-4.1.27 (https://github.com/yast/yast-packager/pull/401), yast2-installation-4.1.36 (https://github.com/yast/yast-installation/pull/774) Documentation: https://github.com/yast/yast-packager/wiki/Selecting-the-Driver-Packages Note: the known repositories are saved into the /var/lib/YaST2/system_packages_repos.yaml file, if you want to test again the driver autoselection you need to remove that file (or remove the specific repository from that file) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c58 --- Comment #58 from Stefan Dirsch <sndirsch@suse.com> --- Thanks. So will this fix included in sle15-sp1/Leap 15.1 or only Tumbleweed? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c59 --- Comment #59 from Ladislav Slezák <lslezak@suse.com> --- Both: TW: https://build.opensuse.org/request/show/676543 SLE15-SP1: https://build.suse.de/request/show/184671 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=953522 http://bugzilla.suse.com/show_bug.cgi?id=953522#c60 --- Comment #60 from Stefan Dirsch <sndirsch@suse.com> --- Thanks, Ladislav. That's great to hear! :-) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com