Bug 471552 - With many applications, apper fails to ask for root password authentication, then fails due to lack of authentication.
Summary: With many applications, apper fails to ask for root password authentication, ...
Status: CONFIRMED
Alias: None
Product: apper
Classification: Applications
Component: general (show other bugs)
Version: 1.0.0
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Nicoletti
URL:
Keywords:
: 447142 468558 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-06-28 22:13 UTC by James K Beard
Modified: 2024-02-21 22:34 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James K Beard 2023-06-28 22:13:40 UTC
SUMMARY
Newly installed Debian 12, June 28 2023.

When using apper to install gcc, root password authentication is skipped, and you get a pop-up message "You have failed to provide correct authentication.  Please check any passwords or account settings."


STEPS TO REPRODUCE
1.   Open apper, search on "gcc" (or gfortran, or many other applications)
2. Select "gcc - GNU C compiler"
3. Click "Apply"


OBSERVED RESULT
A pop-up message "You have failed to provide correct authentication.  Please check any passwords or account settings."
This happens with a lot of applications in apper.  With these applications, it happens every time.

EXPECTED RESULT
Pop-up asking for root password.

SOFTWARE/OS VERSIONS
debian 12

ADDITIONAL INFORMATION
Reproducible, happens every time
Comment 1 James K Beard 2023-06-28 22:19:41 UTC
Freshly installed Debian 12, June 28, 2023.
Comment 2 Paul Worrall 2023-06-29 08:08:22 UTC
I can reproduce this on Arch
Reassigning product to apper

Operating System: Arch Linux 
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Graphics Platform: Wayland
Comment 3 Rik Mills 2023-07-11 17:21:06 UTC
*** Bug 468558 has been marked as a duplicate of this bug. ***
Comment 4 Rik Mills 2023-07-11 17:21:24 UTC
*** Bug 447142 has been marked as a duplicate of this bug. ***
Comment 5 Rik Mills 2023-07-11 17:28:53 UTC
Similar issue in https://bugs.kde.org/show_bug.cgi?id=472145 where again packagekit fails to invoke the polkit password dialog
Comment 6 EVasilyev 2023-11-09 21:09:23 UTC
There's a workaround from Reddit that lets run and use Apper almost as usual:

In the KDE app-launcher menu, right click Apper.
Then click "Edit Application" in the context menu.
Go to the "Application" tab. Click on "Advanced Options".
Then, tick/check the box saying "Run as different user".
In the text field just below, type "root'. Now, starting Apper will ask root permissions when you start it.
Comment 7 Momus 2024-01-23 07:02:18 UTC
Encountered this bug trying to install dh-dkms via apper on Debian12.

Also, how is it that a bug that totally prevents apper from working is only "importance: normal"? This bug, all by itself, pretty much renders Debian a non-option for anyone who's not comfortable with apt-get on the command line.

Also, also, does the fix (https://invent.kde.org/network/kdenetwork-filesharing/-/merge_requests/47/diffs) for 472145 apply here? Could it really be that simple?