为什么我无法在软件中心安装应用程序?

为什么我无法在软件中心安装应用程序?

主要问题是我基本上无法安装 Steam,但我也尝试过其他应用程序,但都无法安装。

我通过终端运行软件中心,这是我尝试安装 steam 时获得的日志。

我单击 steam,然后单击购买,它将我重定向到登录,然后我登录,因此身份验证通过并且我登录了,但我仍然收到再次购买应用程序的错误,这次它不会将我重定向到登录,它只是不会安装。

这是日志文件

2013-06-07 22:19:58,630 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/proxies.py', 410, '_introspect_error_handler')'
2013-06-07 22:19:58,630 - dbus.proxies - ERROR - Introspect error on :1.11:/org/freedesktop/NetworkManager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.54" (uid=1000 pid=2318 comm="/usr/bin/python /usr/bin/software-center ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.11" (uid=0 pid=574 comm="NetworkManager ")
2013-06-07 22:19:58,630 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/netstatus.py', 122, '__init_network_state')'
2013-06-07 22:19:58,630 - root - WARNING - failed to init network state watcher 'org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.54" (uid=1000 pid=2318 comm="/usr/bin/python /usr/bin/software-center ") interface="org.freedesktop.NetworkManager" member="state" error name="(unset)" requested_reply="0" destination=":1.11" (uid=0 pid=574 comm="NetworkManager ")'
2013-06-07 22:19:58,759 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/netstatus.py', 151, 'test_ping')'
2013-06-07 22:19:58,759 - root - INFO - Attempting one time ping of archive.ubuntu.com to test if internet connectivity exists.
2013-06-07 22:19:58,781 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2013-06-07 22:19:58,784 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2013-06-07 22:19:58,880 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/share/software-center/softwarecenter/netstatus.py', 168, 'test_ping')'
2013-06-07 22:19:58,880 - root - INFO - ping output: 'Internet connection available!
PING archive.ubuntu.com (91.189.92.201) 56(84) bytes of data.
64 bytes from urayuli.canonical.com (91.189.92.201): icmp_req=1 ttl=49 time=55.6 ms

--- archive.ubuntu.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 55.611/55.611/55.611/0.000 ms
'
2013-06-07 22:19:59,032 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2013-06-07 22:19:59,188 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '', app is None.
2013-06-07 22:19:59,197 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2013-06-07 22:20:06,863 - softwarecenter.db.database - INFO - reopen() database
2013-06-07 22:20:06,863 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2013-06-07 22:20:07,160 - softwarecenter.db.update - INFO - skipping region restricted app: 'Bulleti d'esquerra de Calonge i Sant Antoni ' (not whitelisted)
2013-06-07 22:20:07,493 - softwarecenter.db.update - INFO - skipping region restricted app: 'Comentarios Web' (not whitelisted)
2013-06-07 22:20:10,229 - softwarecenter.ui.gtk3.app - INFO - software-center-agent finished with status 0
2013-06-07 22:20:10,229 - softwarecenter.db.database - INFO - reopen() database
2013-06-07 22:20:10,229 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2013-06-07 22:20:17,910 - softwarecenter.backend - INFO - add_repo_add_key_and_install_app() 'private-ppa.launchpad.net/commercial-ppa-uploaders/steam/ubuntu precise main' '33E0E91BDD8E7F4B53837F09E131728675254D99' 'steam-launcher'
2013-06-07 22:20:17,917 - softwarecenter.backend - ERROR - authenticate_for_purchase failed
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 562, in add_repo_add_key_and_install_app
    yield self.authenticate_for_purchase()
  File "/usr/lib/python2.7/dist-packages/defer/__init__.py", line 473, in _inline_callbacks
    result = gen.throw(result.type, result.value, result.traceback)
  File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 502, in authenticate_for_purchase
    yield policykit1.check_authorization_by_name(name, action, flags=flags)
AuthorizationFailed: org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name': ':1.54'}): org.debian.apt.install-purchased-packages

从最后一行我看到授权失败,但我不知道这是否是对 Ubuntu 的授权,但我已经登录了。

第二次尝试安装应用程序时,我通过终端启动了软件中心,然后转到文件 > 安装以前购买的商品,然后就有了蒸汽。当我点击时,我有安装按钮,而不是但仍然无法安装它。

当我尝试安装 filezilla 或任何其他应用程序时也会发生同样的事情。

我甚至重新安装了整个操作系统,但还是出现了同样的问题。现在我甚至没有终端来从那里启动它。

答案1

看来您尚未通过 Ubuntu SSO 身份验证,或者您的帐户存在问题。我建议您打开帮助台工单[电子邮件保护]

相关内容