在 Gnome 桌面上。它消失后,我尝试使用以下命令重新安装:
sudo apt-get install software-center
。这似乎有效,文件位于,/usr/bin
但当我software-center --debug
从终端发出:时,我得到了这个:
014-04-19 17:49:33,619 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/proxies.py', 406, '_introspect_error_handler')'
2014-04-19 17:49:33,619 - dbus.proxies - ERROR - Introspect error on :1.234:/com/ubuntu/Softwarecenter: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2014-04-19 17:49:33,621 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/proxies.py', 409, '_introspect_error_handler')'
2014-04-19 17:49:33,621 - dbus.proxies - DEBUG - Executing introspect queue due to error
2014-04-19 17:50:02,114 - softwarecenter.performance - DEBUG - open the apt cache (in event loop): 3.27234315872
2014-04-19 17:50:03,297 - softwarecenter.backend.reviews - DEBUG - refresh with days_delta: 1
2014-04-19 17:50:03,303 - softwarecenter.backend.spawn_helper - DEBUG - running: '['/usr/share/software-center/piston_get_review_stats_helper.py', '--days-delta', '1']' as pid: '15456'
2014-04-19 17:50:03,304 - softwarecenter.backend.reviews - DEBUG - _retrieve_votes_from_server started
2014-04-19 17:50:03,328 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2014-04-19 17:50:03,330 - softwarecenter.ui.gtk3.app - DEBUG - query for the update-database exception 'org.freedesktop.DBus.Error.ServiceUnknown: The name com.ubuntu.Softwarecenter was not provided by any .service files' (probably ok)
2014-04-19 17:50:03,332 - softwarecenter.plugin - DEBUG - no dir ''
2014-04-19 17:50:03,333 - softwarecenter.plugin - DEBUG - no dir '/usr/share/software-center/plugins'
2014-04-19 17:50:03,333 - softwarecenter.plugin - DEBUG - no dir '/home/dad/.local/share/software-center/plugins'
2014-04-19 17:50:03,333 - softwarecenter.plugin - DEBUG - plugins are '[]'
2014-04-19 17:50:03,406 - softwarecenter.performance - DEBUG - create SoftwareCenterApp: 54.832146883
2014-04-19 17:50:03,634 - softwarecenter.ui.gtk3.utils - INFO - Softwarecenter style provider for ambiance Gtk theme: /usr/share/software-center/ui/gtk3/css/softwarecenter.css
2014-04-19 17:50:05,316 - softwarecenter.ui.gtk3.panes.viewswitcher - DEBUG - on_transactions_changed '{}'
2014-04-19 17:50:05,323 - softwarecenter.backend.spawn_helper - DEBUG - helper_finished: '15456' '0'
2014-04-19 17:50:05,338 - softwarecenter.backend.spawn_helper - DEBUG - got data for cmd: '['/usr/share/software-center/piston_get_review_stats_helper.py', '--days-delta', '1']'='[<softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0x9d0358c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0x9d0356c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0x9d03b8c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0x9d03aec>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0x9d03b0c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0x9d03a6c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0x9d03a8c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040c0c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040c2c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040bcc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040bec>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040c6c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040d0c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040cac>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040ccc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040d2c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040d6c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0409cc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040b2c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04078c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04070c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04068c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0406cc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04062c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04066c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0407ac>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04012c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04018c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04016c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04024c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04022c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0400cc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04006c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0401ec>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0401cc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04034c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04038c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0403cc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0402cc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0402ec>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04028c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04032c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0403ec>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04044c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040f4c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040f6c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040fec>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040dac>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040d8c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040e2c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040dcc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040e6c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040e4c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040ecc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040eac>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa040f2c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04054c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04052c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04058c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04056c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04048c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04046c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0404ec>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0404cc>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04060c>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa0405ec>, <softwarecenter.backend.piston.rnrclient_pristine.ReviewsStats object at 0xa04002c>]'
2014-04-19 17:50:05,417 - softwarecenter.ui.gtk3.app - DEBUG - on_review_stats_loaded: '5209'
2014-04-19 17:50:12,723 - softwarecenter.db.update - WARNING - error processing: time data '' does not match format '%Y-%m-%d %H:%M:%S'
2014-04-19 17:50:13,468 - softwarecenter.db.update - WARNING - error processing: time data '' does not match format '%Y-%m-%d %H:%M:%S'
2014-04-19 17:50:13,676 - softwarecenter.db.update - WARNING - error processing: time data '' does not match format '%Y-%m-%d %H:%M:%S'
2014-04-19 17:50:14,206 - softwarecenter.db.update - WARNING - error processing: time data '' does not match format '%Y-%m-%d %H:%M:%S'
然后进程就“挂起了”,我做了:sudo apt-get remove software-center
然后重新安装,但毫无进展。文件不断出现在和中/usr/bin
,usr/share
但命令不起作用,启动器中没有添加任何内容,即使在我尝试之后也是如此: software-center -enable-lp
这一切都是在配备 AMD 32 位 CPU 的 HP Compaq 台式机上完成的。
答案1
您可以安装 synaptic 包管理器(软件中心的替代品),然后尝试从 synaptic 安装软件中心
从终端安装 synaptic
sudo apt-get 安装 synaptic
安装 synaptic 后,在 synaptic 中搜索软件中心,如果已安装,请卸载并运行
sudo apt-get autoremove && sudo apt-get autoclean
之后重新启动并尝试重新安装,这可能会解决你的问题