Muon-updater doesn't ask for password
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qapt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Trying to use muon-updater , but it doesn't work. When selecting Install updates, the following message appers: "This operation cannot continue since proper authorization was not provided"
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: muon-updater 1.2.0-0ubuntu2
Uname: Linux 2.6.39-
NonfreeKernelMo
Architecture: amd64
Date: Wed Aug 24 16:58:58 2011
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
ProcEnviron:
LANGUAGE=hr_HR
LANG=hr_HR.UTF-8
LC_MESSAGES=
SHELL=/usr/bin/zsh
SourcePackage: muon
UpgradeStatus: Upgraded to oneiric on 2011-08-23 (0 days ago)
Related branches
šumski (schumski-deactivatedaccount-deactivatedaccount) wrote : | #1 |
affects: | muon (Ubuntu) → polkit-kde-1 (Ubuntu) |
šumski (schumski-deactivatedaccount-deactivatedaccount) wrote : | #2 |
Jonathan Thomas (echidnaman) wrote : | #3 |
Hmm, yeah.
The assumption had been that since kdebase-
This seems to have been a poor assumption, seeing as you had neither. ;-)
I'll add a or dependency on polkit-kde-1 or policykit-1-gnome to libqapt-runtime, which does the actual polkit calls.
affects: | polkit-kde-1 (Ubuntu) → qapt (Ubuntu) |
Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package qapt - 1.2.0-0ubuntu2
---------------
qapt (1.2.0-0ubuntu2) oneiric; urgency=low
* Add an or dependency between polkit-kde-1 and policykit-1-gnome to ensure
we have a policykit frontend installed. (LP: #833058)
-- Jonathan Thomas <email address hidden> Thu, 25 Aug 2011 21:40:33 -0400
Changed in qapt (Ubuntu): | |
status: | New → Fix Released |
šumski (schumski-deactivatedaccount-deactivatedaccount) wrote : | #5 |
I use --no-install-
Murz (murznn) wrote : | #6 |
I have use qapt-batch 1.2.1-0ubuntu2 on oneric and expiring this problem.
I'll try to change policykit-1-gnome to polkit-kde-1 and check solving issue.
Murz (murznn) wrote : | #7 |
Changing policykit-1-gnome to polkit-kde-1 helps solve the problem. But qapt-batch and muon have no hard dependency on polkit-kde-1, so if user updates to oneric with installed policykit-1-gnome (as I got in my system), it isn't replaced to polkit-kde-1 automatically.
Furyk Karede (bgfuryk) wrote : | #8 |
just a note this is still an issue.
I fresh/clean installed LUbuntu 11.10 on release day, yesterday I installed kde-desktop and switched over. I was also having this issue, and had to install polkit-kde-1 manually.
still having the issue. I'll try logging out and back in.
I also tried running muon under sudo from a terminal, it gave me errors about the .conf file being owned by use 1000 not 0.
Gert van Dijk (gertvdijk) wrote : | #9 |
This issue is marked as 'Fix released', but I don't agree about that. As Murz describes in comment 7, one will still need to install polkit-kde-1 manually after installing KDE on an existing regular ubuntu installation.
Creating this 'or' dependency on polkit-kde-1 for qapt is not sufficient, clearly.
axel (axel334) wrote : | #10 |
Yesterday I installed kubuntu-desktop and I had this bug. Some people in duplicate bugs comments report that installing polkit-kde-1 solve their problem, but I want to point out that this should be made in a way that new users shouldn't be forced search for bugs reports and solutions to bugs because this may easily discourage them. Please release an update with some dependency or whatever so that user can just fix the problem by regular update (from terminal or Synaptic).
Gert van Dijk (gertvdijk) wrote : | #11 |
As axel points out in comment 10: this bug is about the need to install some package manually after Kubuntu installation (on standard Ubuntu install) in order to do system updates. I think more people would agree with me that installing packages manually before being able to install updates or install new packages is very user unfriendly and should be considered a workaround, not a fix.
Besides, did you notice the circular dependency here? Users aren't able to solve this bug due to the bug, unless they stumble upon this bug report and take a dive in the raw package management (something not based on qapt). Also, as a consequence they will probably not be installing (security) updates (or updates to solve this issue) until the workaround is applied. And hey, shouldn't the latter be a reason to set some level importance to this bug?
This affects still all users moving from Gnome/Unity (and probably other DE's too) to KDE by using the Software center within their current installation.
So, to summarize, in my opinion, this bug has *not* been solved, should not have the status 'Fix released' and have some level op importance set. Please reopen.
N.B. Re-reading my comment before posting: sorry for being a bit too grumpy between the lines.
axel (axel334) wrote : | #12 |
Exactly. I was wrong with Synaptic, I guess it can't be used for update, but indeed I installed kubuntu-desktop on top of other DE, so I still can use updater from Ubuntu. Anyway, this should be solved by simply
sudo apt-get update & sudo apt-get upgrade
or a better solution: a new fixed version of muon-updater should be released that would install along with kubuntu-desktop.
I have kubuntu-desktop 4.8.1 from backports.
Tim Edwards (tkedwards) wrote : | #13 |
I think the problem is that even with the 'fix' there is no hard dependency on polkit-kde-1.
Let's look at it logically:
Muon is specifically designed to run on the desktops of unprivileged users and update their systems. To do that it needs root privileges and to get those it needs a mechanism to ask the user to authorise it to run as root.
Therefore having polkit-kde-1 installed is necessary for Muon to function properly, so it should be a hard dependency not a 'recommends' or anything else.
Gert van Dijk (gertvdijk) wrote : | #14 |
Tim, your explanation in comment 13 is unfortunately jumping to conclusions; it isn't *that* simple as you suggest, assuming you mean a dependency on Muon.
A hard dependency on muon for polkit-kde-1 will pull in a lot of KDE-stuff (e.g. depends: kde-runtime) - if one not running KDE wants to install Muon, this is not acceptable.
Please note that Muon should work without polkit-kde-1 in a Gnome environment (for example), because it can also use Gnome's PolicyKit provided in policykit-1-gnome. And probably do so for other PolicyKit DE-specific implementations as well.
The thing here is, I believe: when starting KDE, Gnome's PolicyKit isn't running, but dependencies on it are satisfied for the package management.
So, in order to make sure some PolicyKit implementation designed for the current DE, that should be a hard or semi-hard dependency on the metapackage for the DE, in my opinion. I.e. "kubuntu-desktop depends [...] polkit-kde-1 [...]"
By the way, I don't understand this (on Ubuntu Oneiric):
$ apt-cache show polkit-kde-1
[...]
Task: kubuntu-desktop, [...]
So this tells me it should be installed when installing kubuntu-desktop? Or I might not get Tasks in apt.
Tim Edwards (tkedwards) wrote : | #15 |
Ok I didn't realise it was that complicated. In my case I install a 'Kubuntu' system by first installing Ubuntu and then installing the kubuntu-desktop metapackage, since I want to have all the config tools that come with Ubuntu and I find some of the GTK apps better than any QT-based alternative (GIMP, Firefox, Libreoffice etc.).
So if kubuntu-desktop always installed polkit-kde-1 like you suggest this should be enough to solve the problem for me, and for most people I guess. But that wasn't the case with 11.10 when I installed it a few months ago.
Jonathan Thomas (echidnaman) wrote : | #16 |
In precise the situation is better, as polkit-kde-1 is now pulled in by the kubuntu-desktop metapackage.
pawmar (pawmar) wrote : | #17 |
I have this problem since at least 11.04, hoped that some next release will fix it but it's still present in precise. polkit-kde-1 package is installed and nothing changed.
Tim Edwards (tkedwards) wrote : | #18 |
pawmar if you're still having problems after polkit-kde-1 is installed I think that's a separate bug.
The problems reported in this bug were all resolved once polkit-kde-1 installed - the bug (now fixed) was that that package was not installed automatically with kubuntu-desktop.
a_flj_ (flj-mail) wrote : | #19 |
@tkedwards: it seems the initial bug description was forgotten during the discussion: Trying to use muon-updater , but it doesn't work. When selecting Install updates, the following message appers: "This operation cannot continue since proper authorization was not provided"
I just did sudo apt-get install --reinstall polkit-kde-1, then tried to use muon-updater again. I still receive precisely the same error message. So what exactly are the problems reported in this bug which were fixed?
I think this bug led to the discovery of some problems which were indeed fixed, but the root cause for this particular problem was neither identified nor fixed.
a_flj_ (flj-mail) wrote : | #20 |
Correction: for some reason, I had to repeat the sudo apt-get install --reinstall polkit-kde-1 + reboot twice, but then muon-updater started behaving properly.
Tim Edwards (tkedwards) wrote : | #21 |
@a_flj
The original reporter of the bug posted in the first comment "Installing polkit-kde-1 solves the issue, should polkit be added at least to Recommends?". The rest of the discussion was about how best to ensure polkit-kde-1 gets pulled in by dependencies.
From your 2nd comment it looks like you've got it fixed, but if you see this problem even though polkit-kde-1 is installed I reckon you've hit a new issue and need to open a new bug.
lnxusr (bjwest) wrote : | #22 |
I've just completed a fresh install of Kubuntu 12.04 (64bit), and system update to latest KDE (4.8.3), kernel, and whatever else was updated. Prior to the update, Muno was working just fine. Just after update and reboot, Muon now gives me this error dialog. Polkit-kde-1k is installed.
Rosemary Hendley (catbells) wrote : | #23 |
Yesterday, I did a fresh install of Kubuntu. I've never used it before. Muon gives me the same message that Sumski reports #1.
Also kubuntu-
About me: I'm pretty computer literate for someone who has never learnt about linux code and, who has never worked with computers. For example, I did a little Fortran, Basic and Pascal programming in the early 1980's and used DOS before Windows 3.1. I've used Ubuntu since August 2010. I'd like to suggest that if I can't make essential packages work on first install of an operating system, it is not user friendly enough for the general population.
Tim Edwards (tkedwards) wrote : | #24 |
Rosemary what do the following commands output on your system?:
dpkg -l | grep polkit-kde
cat /etc/os-release
The bug should be fixed in 12.10 and possibly also in the 12.04.1 release.
J. Joseph Felten (jjfelten-d) wrote : | #25 |
Same problem as Rosemary Hendley (catbells). Fresh install of 12.04.1 LTS (amd 64bit) on a new computer (AMD A6 APU). Did not connect to the Internet to install patches during OS install. After OS install, and connecting to the Internet, muon-installer and muon-updater launched from the GUI application launcher O.K. and asked for a password for elevated privilages and ran properly. Used muon-updater to install all patches and rebooted. After patching/rebooting, launching either resulted in the "This operation cannot continue since proper authorization was not provided" error. They did NOT ask for a password. The problem seems to be them not asking for elevated privilages and therefore not being able to actually install software/patches. I had to manually run them via kdesudo from the command line which did work, but a new user would not know to do that and would be stuck. Was this bug re-introduced when I ran the update?
I also saw this same problem a few months ago when I installed 12.04 LTS in a vm under virtualbox. I just worked around it at the time since I was just trying Kubuntu 12.04 LTS out then and figured it was such a major bug it would be soon fixed. I am very surprised it has not been fixed by now.
I also saw the firefox installer problem. The installer started from the application launcher would run, not ask for a password, lie that it had completed successfully, but not actually do anything. I had to install Firefox manually.
Note again this was a clean install on a new hard drive.
I hope this help someone fix this problem as it would sour a new user on Kubuntu which otherwise is excellent.
cat /etc/os-release
NAME="Ubuntu"
VERSION="12.04.1 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.1 LTS)"
VERSION_ID="12.04"
sudo apt-get install polkit-kde-1
[sudo] password for jfelten:
Reading package lists... Done
Building dependency tree
Reading state information... Done
polkit-kde-1 is already the newest version.
The following packages were automatically installed and are no longer required:
linux-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
uname -a
Linux heidi 3.2.0-36-generic #57-Ubuntu SMP Tue Jan 8 21:44:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Gert van Dijk (gertvdijk) wrote : | #26 |
From comment 21 by Tim Edwards (tkedwards):
> if you see this problem even though polkit-kde-1 is installed I reckon you've hit a new issue and need to open a new bug.
Thomas Sisson (thomas-sisson-1) wrote : | #27 |
This bug is not resolved. It keeps coming back.
Thomas Sisson (thomas-sisson-1) wrote : | #28 |
One should be able to add also affects Ubuntu 12.10. Why can't one add a newer distribution?
Rael Gugelmin Cunha (rael-gc) wrote : | #29 |
I installed Kubuntu LTS 12.04, and this bug affected me. I tried change configuration for Login Screen, and I was getting the permission error.
It was solved only installing polkit-kde-1 package.
This package should come in the default Kubuntu install, at least in the standalone install from CD/DVD.
Lorenz (lqb) wrote : | #30 |
Today I had the same error on muon. I had to reinstall the polkit-kde-1 package. Some days ago this muon worked without this errormessage.
Dima Ryazanov (dima-gmail) wrote : | #31 |
Started happening to me just today, after I've been using Kubuntu for a while. I have 13.04.
Dima Ryazanov (dima-gmail) wrote : | #32 |
I've had this happen when kded4 ran out of file descriptors (https:/
Geoff (palmerg) wrote : | #33 |
Reinstalling polkit-kde-1 doesn't work for me. I even tried;
sudo apt-get purge polkit-kde-1
sudo apt-get install polkit-kde-1
I suspect it doesn't work because it doesn't actually restart the polkit process. Only logging out and logging back in does that. When I do so, "ps -e | grep pol" shows
1547 ? 00:00:00 polkitd
19929 ? 00:00:00 polkit-kde-auth
but there's no actual commans to start polkit. Anyone know what it is so I don't have to logout/login?
(This is on Ubuntu 13.04, Raring Ringtail running KDE 4.10.2)
Mike Irons (0cs935kb517wwmwa7m9428da-mail) wrote : | #34 |
Muon Package Manager doesn't ask for a password - just displays the error "This operation cannot continue since proper authorization was not provided"
Fresh install of Kubuntu 13.10, new user account, no configuration.
sudo apt-get install -reinsta
Mike Irons (0cs935kb517wwmwa7m9428da-mail) wrote : | #35 |
.... (sorry, accidental submit)
sudo apt-get install --reinstall polkit-kde-1 <-- had no effect.
Marc Baas (marc-baas) wrote : | #36 |
I can confirm that on a fresh Kubuntu 13.10 install this bug shows up again, and reinstalling polkit-kde-1 has no effect.
Harald Sitter (apachelogger) wrote : | #37 |
Please file a new bug at bugs.kde.org against muon, this is most certainly not the same issue as this bug here.
If you run into the issue please make sure you have the package "debsums" installed and run the following in a terminal, then put the entire output in a file and attach it to the bug report.
echo "------
env
echo "------
ps -A
echo "------
sudo debsums -c
Additionally, please check if running the following helps with the problem:
`sudo pkill -9 qaptworker2`
then restart whatever muon application was misbehaving.
Trevorlay (trevorlay) wrote : | #38 |
Working Fix!
I just installed a fresh install of Kubuntu 13.10 I was having this issue, the `sudo pkill -9 qaptworker2` WORKED!! hours upon hours fixed with that simple command, thanks!
Harald Sitter (apachelogger) wrote : | #39 |
That is not a fix, please read everything I wrote above the kill command :P
Implied Consent (impliedconsent) wrote : | #40 |
Micheal.J (micheal-zg) wrote : Re: [Bug 833058] Re: Muon-updater doesn't ask for password | #41 |
not yet , it's 13.10
Sent from my iPhone
> On 2014年4月27日, at 5:15, Implied Consent <email address hidden> wrote:
>
> ...and so it carries onto 14.04LTS
>
>
> ** Attachment added: "muen_error_
> https:/
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (875657).
> https:/
>
> Title:
> Muon-updater doesn't ask for password
>
> Status in “qapt” package in Ubuntu:
> Fix Released
>
> Bug description:
> Trying to use muon-updater , but it doesn't work. When selecting
> Install updates, the following message appers: "This operation cannot
> continue since proper authorization was not provided"
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: muon-updater 1.2.0-0ubuntu2
> Uname: Linux 2.6.39-
> NonfreeKernelMo
> Architecture: amd64
> Date: Wed Aug 24 16:58:58 2011
> InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
> ProcEnviron:
> LANGUAGE=hr_HR
> LANG=hr_HR.UTF-8
> LC_MESSAGES=
> SHELL=/usr/bin/zsh
> SourcePackage: muon
> UpgradeStatus: Upgraded to oneiric on 2011-08-23 (0 days ago)
>
> To manage notifications about this bug go to:
> https:/
Harald Sitter (apachelogger) wrote : | #42 |
Please refer to this bug report: https:/
Ales (w-ales) wrote : | #43 |
Happened to me on Kubuntu 15.10 after upgrade to Plasma 5.5.3 and Frameworks 5.18.0
using kubuntu.org's ppa:kubuntu-
The message was: "This operation cannot continue since proper authorization was not provided."
Plus some weird problems for instance cannot suspend to RAM without the authorization.
It turned out that the package of PolicyKit-Kde was gone. I had to install it back: sudo apt-get install polkit-kde-1.
Installing polkit-kde-1 solves the issue, should polkit be added at least to Recommends?