Bug 430343 - You have no authorization to execute this operation
Summary: You have no authorization to execute this operation
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 5.19.5
Platform: Ubuntu Linux
: NOR critical
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-13 16:47 UTC by electrifyings
Modified: 2020-12-18 18:07 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description electrifyings 2020-12-13 16:47:16 UTC
SUMMARY
I am getting following error whenever I am trying to remove or install something from Discover.

You have no authorization to execute this operation

STEPS TO REPRODUCE
1. Open Discover
2. Click on Install for any application
3. Click on Remove for any installed application

OBSERVED RESULT
Results in a prompt that either says "You have no authorization to execute this operation" or "Failed to obtain authentication"

EXPECTED RESULT
It should install or remove the application. Further, it should prompt for root password before performing these operations.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.10
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION

Kubuntu:~$ lsb_release -r
Release:        20.10
Kubuntu:~$ uname -a
Linux Kubuntu 5.8.0-33-generic #36-Ubuntu SMP Wed Dec 9 09:14:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Kubuntu:~$ plasma-discover
qrc:/qml/Feedback.qml:2:1: module "org.kde.userfeedback" is not installed
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/Theme"
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/LookAndFeel"
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "KWin/Effect"
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "KWin/WindowSwitcher"
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/Wallpaper"
invalid kns backend! "/usr/share/knsrcfiles/servicemenu.knsrc" because: "Config group not found! Check your KNS3 installation."
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/Comic"
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/LookAndFeel"
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "KWin/Script"
invalid kns backend! "/usr/share/knsrcfiles/ksysguard.knsrc" because: "Config group not found! Check your KNS3 installation."
kf.newstuff.core: Your configuration file uses an old version of the kpackage support, and should be converted. Please report this to the author of the software you are currently using. The package type, we assume, is "Plasma/Applet"
adding empty sources model QStandardItemModel(0x5635b65df320)
QObject::connect(AbstractReviewsBackend, ResourcesModel): invalid nullptr parameter
org.kde.plasma.libdiscover: Couldn't find a category for  "fwupd-backend"
file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/private/globaltoolbar/PageRowGlobalToolBarUI.qml:49:9: QML PrivateActionToolButton: Binding loop detected for property "checkable"
Fwupd Error:  Remote  vendor-directory has no cache signature!
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
percentage cannot be calculated
PackageKit error: PackageKit::Transaction::ErrorNotAuthorized "You have no authorization to execute this operation" "Failed to obtain authentication."
Comment 1 electrifyings 2020-12-14 19:24:29 UTC
I fixed it by running following command on Konsole.

killall chrome-remote-desktop-host

Later on, I completely removed the chrome-remote-desktop package from Synaptics. I think, below command should also work if trying to remove from Konsole.

sudo apt remove chrome-remote-desktop
Comment 2 Nate Graham 2020-12-16 21:58:42 UTC
So it's working now, and the chrome-remote-desktop is what was breaking it?
Comment 3 electrifyings 2020-12-18 03:08:05 UTC
Yes, it is working now. I guess this needs to be looked into. Here are relevant logs from Journald.

14/12/20 8:46 PM   PackageKit   uid 1000 is trying to obtain org.freedesktop.packagekit.package-remove auth (only_trusted:1)
14/12/20 8:46 PM   PackageKit   uid 1000 failed to obtain auth
14/12/20 8:47 PM   snapd   daemon.go:589: gracefully waiting for running hooks
14/12/20 8:47 PM   snapd   daemon.go:591: done waiting for running hooks
14/12/20 8:48 PM   snapd   daemon stop requested to wait for socket activation
14/12/20 8:48 PM   systemd   app-org.kde.discover-ca624c06186a40308f866b218ae9d17e.scope: Succeeded.
14/12/20 8:48 PM   systemd   snapd.service: Succeeded.
14/12/20 8:48 PM   systemd   Started app-org.kde.discover-7c514b9c15ed4a188e59668f40f2ae4a.scope.
14/12/20 8:48 PM   systemd   Starting Snap Daemon...
14/12/20 8:48 PM   snapd   AppArmor status: apparmor is enabled and all features are available
14/12/20 8:48 PM   snapd   daemon.go:347: started snapd/2.48+20.10 (series 16; classic) ubuntu/20.10 (amd64) linux/5.8.0-33-generic.
14/12/20 8:48 PM   systemd   tmp-sanity\x2dmountpoint\x2d555482299.mount: Succeeded.
14/12/20 8:48 PM   systemd   tmp-sanity\x2dmountpoint\x2d555482299.mount: Succeeded.
14/12/20 8:48 PM   snapd   daemon.go:440: adjusting startup timeout by 30s (pessimistic estimate of 30s plus 5s per snap)
14/12/20 8:48 PM   systemd   Started Snap Daemon.
14/12/20 8:48 PM   fwupd   15:18:34:0381 FuEngine             ebitdo failed to change udev device /sys/devices/virtual/block/loop0: cannot ensure ID: FuUdevDevice:
14/12/20 8:48 PM   fwupd   Unknown Device
14/12/20 8:48 PM   fwupd     Flags:                none
14/12/20 8:48 PM   PackageKit   get-updates transaction /709_dcedabbc from uid 1000 finished with success after 490ms
14/12/20 8:48 PM   PackageKit   resolve transaction /710_dcdadbcc from uid 1000 finished with success after 541ms
14/12/20 8:48 PM   PackageKit   resolve transaction /711_baaddcec from uid 1000 finished with success after 541ms
14/12/20 8:48 PM   PackageKit   get-details transaction /712_adbdebeb from uid 1000 finished with success after 338ms
14/12/20 8:48 PM   PackageKit   get-details transaction /713_aebcbedb from uid 1000 finished with success after 351ms
14/12/20 8:48 PM   PackageKit   get-details transaction /714_ebacdbca from uid 1000 finished with success after 349ms
14/12/20 8:48 PM   PackageKit   get-details transaction /715_cbdabada from uid 1000 finished with success after 334ms
14/12/20 8:48 PM   PackageKit   new remove-packages transaction /716_dddbcabb scheduled from uid 1000
14/12/20 8:48 PM   PackageKit   in /716_dddbcabb for remove-packages package clementine;1.4.0~rc1+git174-gcb64d9705+dfsg-2build2;amd64;installed:ubuntu-groovy-universe was removing for uid 1000
14/12/20 8:48 PM   PackageKit   remove-packages transaction /716_dddbcabb from uid 1000 finished with success after 424ms
14/12/20 8:48 PM   PackageKit   uid 1000 is trying to obtain org.freedesktop.packagekit.package-remove auth (only_trusted:1)
14/12/20 8:48 PM   PackageKit   uid 1000 failed to obtain auth
14/12/20 8:48 PM   PackageKit   get-details transaction /718_ddedbbba from uid 1000 finished with success after 330ms
14/12/20 8:48 PM   PackageKit   get-details transaction /719_ceebcaca from uid 1000 finished with success after 333ms
14/12/20 8:49 PM   PackageKit   resolve transaction /720_dadbccce from uid 1000 finished with success after 325ms
14/12/20 8:49 PM   PackageKit   uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
14/12/20 8:49 PM   PackageKit   uid 1000 failed to obtain auth
14/12/20 8:49 PM   PackageKit   get-updates transaction /722_ccbacaaa from uid 1000 finished with success after 455ms
Comment 4 Nate Graham 2020-12-18 18:07:13 UTC
Very odd. Perhaps report this to the distro packagers of chrome-remote-desktop, or its developers. Thanks!