[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
http://bugzilla.suse.com/show_bug.cgi?id=953522
Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c1
--- Comment #1 from Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c2
--- Comment #2 from Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c3
--- Comment #3 from Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c4
Stefan Dirsch
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
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
http://bugzilla.suse.com/show_bug.cgi?id=953522
Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c9
Ladislav Slezak
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c10
--- Comment #10 from Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c11
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c12
Ladislav Slezak
http://bugzilla.suse.com/show_bug.cgi?id=953522
Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c13
Michael Andres
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
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c15
--- Comment #15 from Stefan Dirsch
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
http://bugzilla.suse.com/show_bug.cgi?id=953522
Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c17
Ladislav Slezak
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c18
--- Comment #18 from Stefan Dirsch
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
(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
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c21
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c22
--- Comment #22 from Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c24
--- Comment #24 from Stefan Dirsch
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
http://bugzilla.suse.com/show_bug.cgi?id=953522
Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c25
--- Comment #25 from Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c27
Michael Andres
`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
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
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c30
--- Comment #30 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=953522
Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c31
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c32
Michael Andres
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c33
Ladislav Slezák
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
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
... 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
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c37
Stefan Dirsch
`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
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c39
--- Comment #39 from Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c40
--- Comment #40 from Stefan Dirsch
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c41
--- Comment #41 from Stefan Dirsch
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
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c43
--- Comment #43 from Stefan Dirsch
#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
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
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
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
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
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
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c51
--- Comment #51 from Stefan Dirsch
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
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
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c54
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c55
Stefan Dirsch
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
http://bugzilla.suse.com/show_bug.cgi?id=953522
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c57
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c58
--- Comment #58 from Stefan Dirsch
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
http://bugzilla.suse.com/show_bug.cgi?id=953522
http://bugzilla.suse.com/show_bug.cgi?id=953522#c60
--- Comment #60 from Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com