SUMMARY *** After putting in the admin password the app just does a refresh, but does not update the system. *** STEPS TO REPRODUCE 1. The apps shows the updates available 2. I hit update all 3. It prompts for root password. 4. After inputting the password and hitting enter. OBSERVED RESULT The app just does a refresh and shows the same updates again. EXPECTED RESULT To install the update and then show that the OS is up to date. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20221101 KDE Plasma Version: 5.26.2 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 Kernel Version: 6.0.5-1-default (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Xeon® CPU E3-1535M v6 @ 3.10GHz Memory: 31.2 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics P630 Manufacturer: HP Product Name: HP ZBook 17 G4 ADDITIONAL INFORMATION
Does `pkcon update` in a terminal window work? Or does it do the same thing?
This issue can be closed. I had to reinstall because of another issue and it's working now.
Thanks for following up! SOunds like a local installation or configuration issue.
(In reply to Nate Graham from comment #1) > Does `pkcon update` in a terminal window work? Or does it do the same thing? The issue reappeared with the app just doing a refresh and showing the same updates. I ran pkcon update and it worked. For future reference what logs should I look at when this happens?
Output of `pkmon` while Discover is running and you refresh it.
Created attachment 153819 [details] Discover logs Tried 2 times, but no joy. Operating System: openSUSE Tumbleweed 20221113 KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.7 Kernel Version: 6.0.7-1-default (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz Memory: 125.2 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 Manufacturer: HP Product Name: HP ZBook 17 G6
Created attachment 153820 [details] Discover settings These are the default settings. I made no changes since install.
I didn't update the system yet in case some other test are needed, currently showing 250 updates available.
Created attachment 153908 [details] pkmon output --> Discover_ZBook-17-G4_log It happening again on my ZBook 17 G4.
Silly thing is working now on the G4. I'll try the G6 later, I'm sure it'll probably work also. ;-)
This app... Ran the update today on the G6 and it worked. ;^/ Carry on.
Created attachment 154171 [details] Discover acting up again pkmon output
I see this error message: /12_eaceebcd error code: no-license-agreement, You've to agree/decline a license I've created a MR that would tell us some more information about what is happening. Would you be able to give it a run and tell us the output of plasma-discover process? https://invent.kde.org/plasma/discover/commit/94d8b04cc52828e6a3c92c85143c6b33cbb55687
.
Sure thing, but I will require hand holding and instructions please. ;^))
I ran it again today and it worked... smh The only license that comes up is usually Nvidia and it prompts for root password. Operating System: openSUSE Tumbleweed 20221201 KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.7 Kernel Version: 6.0.8-1-default (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz Memory: 125.2 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 Manufacturer: HP Product Name: HP ZBook 17 G6
Created attachment 154319 [details] root password prompt when first open Now the app is asking for root password when it's opening it.
Happening on Operating System: openSUSE Tumbleweed 20221203 KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.7 Kernel Version: 6.0.10-1-default (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Xeon® CPU E3-1535M v6 @ 3.10GHz Memory: 62.2 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics P630 Manufacturer: HP Product Name: HP ZBook 17 G4
Did you ever at any point run Discover with sudo or kdesu or any other privilege escalation tool?
No, I always click on the icon on task manger.
I noticed that if there's a root password prompt already up, the Discover app will refresh until I close the other prompt. KSystemLog opens it's own root password prompt even if another prompt is already up.
Created attachment 157913 [details] Discover refreshing again. The app just refreshed again today. Looks like I'll have to update pam before using Discover to update the system. see screenshot Operating System: openSUSE Tumbleweed 20230402 KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.8-1-default (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz Memory: 125.1 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 Manufacturer: HP Product Name: HP ZBook 17 G6
Created attachment 157942 [details] same issue Same issue on another laptop. Operating System: openSUSE Tumbleweed 20230331 KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.8-1-default (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz Memory: 31.0 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 4600 Manufacturer: Hewlett-Packard Product Name: HP ZBook 17 G2 System Version: A3009DD10303
Created attachment 157943 [details] This is what I get when updaing pam On this laptop I'm going to proceed.
Created attachment 157944 [details] Just more detail
After the pam update, all is well. Carry on...
Created attachment 157968 [details] multiple EULA appears to cause app refresh Looks like the nvidia updates have multiple EULA and cause the app to refresh. I put in the root password 2 or 3 times, but no joy.
Created attachment 157969 [details] output from pkmon duing the process output from pkmon duing the process Operating System: openSUSE Tumbleweed 20230402 KDE Plasma Version: 5.27.3 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.9-1-default (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz Memory: 125.1 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 Manufacturer: HP Product Name: HP ZBook 17 G6
I click update all, then get a root password prompt, and then another root password prompt for EULA with no update process.
John, it's awfully confusing to have the same bugzilla ticket used to report multiple issues. Most of the issues you're seeing are actually packaging bugs in openSUSE that Discover is simply informing you about. Those bugs need to be fixed by the openSUSE packagers. Let's re-focus this bugzilla ticket on the original issue: > STEPS TO REPRODUCE > 1. The apps shows the updates available > 2. I hit update all > 3. It prompts for root password. > 4. After inputting the password and hitting enter. > OBSERVED RESULT > The app just does a refresh and shows the same updates again. As far as I can tell, the issue is this: > I see this error message: > /12_eaceebcd error code: no-license-agreement, You've to agree/decline a license What's happening here is the result of a fundamental mismatch between openSUSE and graphical software center apps. The openSUSE packaging system relies on being able to ask the user questions during installation (such as this request to re-accept a EULA), but this functionality is not supported by the PackageKit library that graphical software center apps like Discover and GNOME Software use. See https://bugzilla.suse.com/show_bug.cgi?id=1163737. *Someone* will have to make some changes before this issue can be resolved: either openSUSE will need to make their PackageKit plugin take a decision automatically rather than simply exiting because it can't ask the user a question, or else the PackageKit library will need to be extended to offer support for bubbling up questions to the user so that Discover can show them in the UI. Because this specific example of the issue concerns a EULA, I don't think there can be a "sensible default decision" probably for legal reasons, so it will most likely require PackageKit to acknowledge the use case and permit it somehow. I've added a comment to https://github.com/PackageKit/PackageKit/issues/604 mentioning this. Regardless, all of this needs to happen below Discover, so unfortunately I'm afraid there's nothing Discover can do about this issue. :( In the meantime I would recommend not using Discover on openSUSE-based distros and instead use either YaST or the `zypper` command line tools. Discover simply isn't set up to offer a good UX on openSUSE, unfortunately.
Good news! I was wrong: PackageKit already has specific support for showing EULAs apart from the general issue of interactivity during updates, and the openSUSE's Zypper PackageKit plugin implements it. So we just need to wire this up in Discover.
YEAH!!! ;-)) So for now I'll just update via yast and will be on the look out for the next round of EULA prompts. ;-)
Just call me Jonz (jon z) not john. ;-) I updated the nvidia stuff via Yast and then ran Discovery again and all is well. I just like how Discovery cleans up the old packages better than Yast.
Oh goodness, so sorry for mangling your name! I think I was on autopilot there.
This is good research, thanks Jon. We already support EULA handling, the code is in PKTransaction.cpp. It would be interesting to find a good way to reproduce the issue as we need somebody to sit down and figure it out.
Created attachment 158403 [details] The refresh is back. After clicking update all, I get the root password prompt and then another root password prompt for EULA, but the Discover doesn't update. Operating System: openSUSE Tumbleweed 20230420 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.8 Kernel Version: 6.2.10-1-default (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Xeon® CPU E3-1535M v6 @ 3.10GHz Memory: 62.2 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics P630 Manufacturer: HP Product Name: HP ZBook 17 G4
I see this in the logs: Transactions: 1 /13_aaadacec /13_aaadacec allow_cancel 1 /13_aaadacec percentage -1 /13_aaadacec role update-packages /13_aaadacec status setup /13_aaadacec status dep-resolve /13_aaadacec percentage 0 /13_aaadacec percentage 100 /13_aaadacec status update /13_aaadacec percentage 0 /13_aaadacec status finished Transactions: [none] /13_aaadacec exit code: eula-required /13_aaadacec error code: no-license-agreement, You've to agree/decline a license
There is only the root password prompt 2 times, 1st prompt for the system and the 2nd prompt is for EULA. Here is a screen recording showing the issue. It did work the second time I hit update all, but there was no prompt for passwords. https://youtu.be/cEKkgEVN9Cc
Operating System: openSUSE Tumbleweed 20230420 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.8 Kernel Version: 6.2.10-1-default (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Xeon® CPU E3-1535M v6 @ 3.10GHz Memory: 62.2 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics P630 Manufacturer: HP Product Name: HP ZBook 17 G4
Created attachment 158430 [details] pkmon output 25APR23 Today there are 22 more updates and the refresh is happening again. I'll attach logs and another video showing the issue. https://youtu.be/SJjdb6iY_Ng
There are more nvidia updates today. Is there a need for more log info?
I just unchecked all of the nvidia update, but the app still does a refresh.
Created attachment 158883 [details] unistalled nvidia drivers Removed nvidia drivers
Created attachment 158884 [details] Update process working No nvidia drivers, no issues with the update process.
On this computer. Operating System: openSUSE Tumbleweed 20230510 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Kernel Version: 6.3.1-1-default (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Xeon® CPU E3-1535M v6 @ 3.10GHz Memory: 62.2 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics P630 Manufacturer: HP Product Name: HP ZBook 17 G4
Created attachment 158899 [details] bad nvidia... So I blocked all nvidia packages from updating and all went well.
On this machine. Operating System: openSUSE Tumbleweed 20230511 KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Kernel Version: 6.3.1-1-default (64-bit) Graphics Platform: X11 Processors: 12 × Intel® Core™ i7-9850H CPU @ 2.60GHz Memory: 125.1 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 Manufacturer: HP Product Name: HP ZBook 17 G6
Issue still ongoing, do I need to post more samples?