我正在尝试通过软件中心安装Flash,但出现此错误:
"Software can't be installed or removed because the authentication service is not
available. (org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name':
':1.51'}): org.debian.apt.install-or-remove-packages"
我检查了启动应用程序,发现已检查策略工具包身份验证代理。
然后我尝试使用 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
并收到以下错误消息:
(polkit-gnome-authentication-agent-1:25835): polkit-gnome-1-WARNING **:
Unable to determine the session we are in: No session for pid 25835
通过使用root模式运行软件中心,可以避免该错误。
gksu software-center
或通过命令模式安装,例如sudo apt-get install flashplugin-installer
由于PolicyKit似乎已安装且apt-get正常运行,请尝试以下命令
sudo apt-get --purge --reinstall install software-center software-properties-common software-properties-gtk
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句