Bug 465320

Summary: "Failed to obtain authentication" while installing debug symbols
Product: [Applications] drkonqi Reporter: Nicolas Fella <nicolas.fella>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bugseforuns, carlosd.kde, jr, neon-bugs-null, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot
drkonqi-pk-auth-errors

Description Nicolas Fella 2023-02-05 14:32:55 UTC
STEPS TO REPRODUCE
1. make something crash 
2. Open DrKonqi
3. Go to "Developer Information"
4. "Install Debug Symbols"
5. "Add sources"

OBSERVED RESULT
"An error occured during installation: Failed to obtain authentication"

[] ("neon-repositories-ubuntu-ddebs")
[] "[repository::system/package/os/org.kde.neon.com.ubuntu.ddebs/*]> name: Ubuntu Debug Symbols | summary: Debug Symbols for Ubuntu | package: neon-repositories-ubuntu-ddebs"
[] ("org.kde.neon.com.ubuntu.ddebs") 1
[] files: ("/usr/bin/systemsettings", "/lib/x86_64-linux-gnu/libQt5Core.so.5", "/lib/x86_64-linux-gnu/libQt5Core.so.5", "/lib/x86_64-linux-gnu/libQt5Core.so.5", "/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5", "/lib/x86_64-linux-gnu/libQt5Gui.so.5", "/lib/x86_64-linux-gnu/libQt5Gui.so.5", "/lib/x86_64-linux-gnu/libQt5Core.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", "/lib/x86_64-linux-gnu/libQt5Core.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", "/lib/x86_64-linux-gnu/libQt5QuickWidgets.so.5", "/lib/x86_64-linux-gnu/libQt5Core.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", "/lib/x86_64-linux-gnu/libQt5Gui.so.5", "/lib/x86_64-linux-gnu/libQt5Quick.so.5", "/lib/x86_64-linux-gnu/libQt5Quick.so.5", "/lib/x86_64-linux-gnu/libQt5Core.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5", "/lib/x86_64-linux-gnu/libQt5Quick.so.5", "/lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5", "/lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5", "/lib/x86_64-linux-gnu/libQt5Core.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5", "/lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5", "/lib/x86_64-linux-gnu/libQt5QuickTemplates2.so.5", "/lib/x86_64-linux-gnu/libQt5Core.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/lib/x86_64-linux-gnu/libQt5Qml.so.5", "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_autostart.so", "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_autostart.so", "/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5", "/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5", "/lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5", "/lib/x86_64-linux-gnu/libQt5Widgets.so.5")

EXPECTED RESULT
Something else

SOFTWARE/OS VERSIONS
Neon user edition
Comment 1 Nicolas Fella 2023-02-05 14:34:38 UTC
Created attachment 155960 [details]
Screenshot
Comment 2 Carlos De Maine 2023-02-06 07:45:11 UTC
Created attachment 155994 [details]
drkonqi-pk-auth-errors
Comment 3 Carlos De Maine 2023-02-06 07:50:00 UTC
pkcon install neon-repositories-ubuntu-ddebs
allows the required debug packages to be resolved but still fails with output such as in the attached drkonq-pk-auth-errors
the code lives in https://invent.kde.org/system/drkonqi-pk-debug-installer
specifically in https://invent.kde.org/system/drkonqi-pk-debug-installer/-/blob/master/src/DebugRepoEnabler.cpp

above my knowledge levels though.  maybe @sitter is the right person to ask
Comment 4 Harald Sitter 2023-02-06 11:37:17 UTC
https://github.com/PackageKit/PackageKit/commit/86f4a2fbf5fcb1230c68a57c4a7bc066aa3f7ef4 appears to have changed runtime behavior from default-interactive to default-non-interactive. In a bugfix release no less :(