[Bug 1204658] New: yast / yast2 potentially showing misleading message about retraced kernel
https://bugzilla.suse.com/show_bug.cgi?id=1204658 Bug ID: 1204658 Summary: yast / yast2 potentially showing misleading message about retraced kernel Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: x86-64 OS: openSUSE Leap 15.3 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: klaus.braun@geographie.uni-freiburg.de QA Contact: jsrain@suse.com Found By: --- Blocker: --- Hello, on my Leap 15.3 in yast / yast2 after opening "Software Management" I immediatelly see the results of the tab "Package Classification" / "Retraced Installed Packages", showing the actual kernel 5.3.18-150300.59.93.1 and no newer kernel availabe (s. screenshot). Yes, there is a retraced kernel installed on the machine, but it is a complete other version (see 5.3.18-150300.59.81 at the bottom of the screenshot). So what does this window try to tell me? That there is any kernel version installed which is retraced, or, that the actuaal kernel 5.3.18-150300.59.93.1 is retraced what obvoiusly is not true, see: https://www.suse.com/support/kb/doc/?id=000019587 If there is a window showing a list of "Retraced Installed Packages" I would expect that only the retraced versions are shown and not the actual one. How can I fix this if it is a bug - or understand it if it is a feature? Best Klaus -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 https://bugzilla.suse.com/show_bug.cgi?id=1204658#c1 Klaus Braun <klaus.braun@geographie.uni-freiburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |klaus.braun@geographie.uni- | |freiburg.de --- Comment #1 from Klaus Braun <klaus.braun@geographie.uni-freiburg.de> --- Created attachment 862388 --> https://bugzilla.suse.com/attachment.cgi?id=862388&action=edit Yast2 / Software Management / Package Classification / Retraced Installed Packages -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 https://bugzilla.suse.com/show_bug.cgi?id=1204658#c2 Knut Alejandro Anderssen Gonz�lez <kanderssen@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kanderssen@suse.com Flags| |needinfo?(shundhammer@suse. | |com) --- Comment #2 from Knut Alejandro Anderssen Gonz�lez <kanderssen@suse.com> --- HuHa: could you take a look? Klaus, a long explanation of the behavior was provided as part of the PR that implemented it (see https://github.com/libyui/libyui-qt-pkg/pull/82) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 https://bugzilla.suse.com/show_bug.cgi?id=1204658#c3 --- Comment #3 from Klaus Braun <klaus.braun@geographie.uni-freiburg.de> --- Knut, thank you for your advice. I had a look on the document you provided, and especially on the section concerning the "New Classification Filter: Retracted Packages". When I do this on my 15.3 box, it looks the same for some packages where older versions exist which have been retracted in the past. In this case the "Retracted Packages" filter in the upper part of the windows shows the package, and the installed version and / or the available one. But this version shown - in the document on github it is 2.10.2.1 for the package hello - is not neccessarilly the one which is retracted. To track it down which is the retracted one I have to go to the Versions tab in the lower part of the window to see which version is retracted and then I can see, that this version isn't installed at all. For me this is somehow misleading. I would expect that only versions are showing up in the upper part of the window which are really retracted, no matter if they are installed or not. Different to the example in the document in my case I am dealing with a retracted kernel version. In yast2 this looks a bit different because I am using the multi kernel feature of zypp allowing me to have multiple kernel versions installed. Like my sreenshot shows I do not see which of the versions is retracted - there is no red entry at all - and also there is no remark [RETRACTED] which would help to figure it out. I only know from https://www.suse.com/support/kb/doc/?id=000019587 that the 5.3.18-150300.59.81.1 version is the retracted one. What will happen when I uninstall it? Will the actual kernel installed still be shown using the "Retracted Installed Packages" filter, because the kernel is installed and somewhere in the past there was a version which has been retracted? Best Klaus -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(shundhammer@suse. | |com) | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|yast / yast2 potentially |yast / yast2 potentially |showing misleading message |showing misleading message |about retraced kernel |about retracted kernel -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 https://bugzilla.suse.com/show_bug.cgi?id=1204658#c4 --- Comment #4 from Stefan Hundhammer <shundhammer@suse.com> --- I remember I had written a long and verbose blog article back when we introduced this explaining exactly that in great detail. IIRC that should also be in the manual. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 https://bugzilla.suse.com/show_bug.cgi?id=1204658#c5 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #5 from Stefan Hundhammer <shundhammer@suse.com> --- https://github.com/libyui/libyui-qt-pkg/pull/82 In particular: "Why Both Filters? Why Retracted AND Retracted Installed? When experimenting with retracted packages, I always found it quite disconcerting to know that there were some retracted packages somewhere, but the filter did not show anything (because I did not have any of them installed). This view will very rarely contain anything anyway. It is there mostly to reassure users that their system is not in danger, that they don't have anything installed that we consider potentially harmful (so we had to retract that version). But a view that is always empty might as well just be broken; so it gives some more reassurance to be able to see all retracted packages, even those that you don't have installed. This view will normally also be empty, but as soon as our maintenance team starts using that feature, users will hear about it and wonder if their systems are affected. When they see retracted packages in that view, but not in the "retracted installed" view, they can feel safe." -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 https://bugzilla.suse.com/show_bug.cgi?id=1204658#c6 Stefan Hundhammer <shundhammer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |WONTFIX --- Comment #6 from Stefan Hundhammer <shundhammer@suse.com> --- When you install multiple versions of the same package (here: kernel) at the same time, this gets even more complicated, of course. And no, there is not and will not be yet another filter like "show me only the retracted versions of the multi-version packages that I have installed"; this description alone shows that it would just confuse every normal user. Users who do use this multi-version intallation option are expected to be a lot more advanced and have more background knowledge about what is going on here. So yes, that package may appear when you apply the "retracted installed" filter because indeed you do have a kernel installed, and there may be a version of that kernel that is retracted; and yet you may not have that particular version installed. In that case, the filter may show more than you might expect. But this is why there is - on top of having the filter in the first place - the red text color for the retracted version(s), and (we even cater for color-blind users) additionally the note "[RETRACTED]" for them. I think we already maxed out the luxury options for this very rare doomsday scenario. ;-) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 https://bugzilla.suse.com/show_bug.cgi?id=1204658#c7 --- Comment #7 from Klaus Braun <klaus.braun@geographie.uni-freiburg.de> --- Concerning multi-version installation option for packages like the kernel personally I'm not really convinced of how the "retracted installed" filter works. I'd really prefer that the retracted kernel versions are showing up and not the actual kernel version which isn't retracted at all. Furthermore and because multi-version for kernels is the default after a retracted kernel version occurs yast and yast2 when started immediatelly switch to this filter, showing the actual kernel which might be retracted or not. To figure out which version is retracted they have to use the availabe versions tab which might be not the first guess for "normal" users. Additionally if I use yast, in the versions list the I see the note "[RETRACTED]" what is really helpful, but I do not see this remark and no red color in yast2. This only seems to work for packages whithout multi-version installation, s, screeshots attched. Best Klaus -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 https://bugzilla.suse.com/show_bug.cgi?id=1204658#c8 --- Comment #8 from Klaus Braun <klaus.braun@geographie.uni-freiburg.de> --- Created attachment 862828 --> https://bugzilla.suse.com/attachment.cgi?id=862828&action=edit Retracted Installed Packages listed in Yast -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1204658 https://bugzilla.suse.com/show_bug.cgi?id=1204658#c9 --- Comment #9 from Klaus Braun <klaus.braun@geographie.uni-freiburg.de> --- Created attachment 862829 --> https://bugzilla.suse.com/attachment.cgi?id=862829&action=edit Retracted Installed Packages listed in Yast2 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com