Ubuntu 13.04 无法打开软件和更新/软件源

Ubuntu 13.04 无法打开软件和更新/软件源

我使用的是 MacBook Air Mid 2012,运行单一操作系统,即 Ubuntu(Raring Ringtail)。我使用 Ubuntu 已经一个月了,一切运行正常,最近我无法打开软件和更新,当我单击时它不会显示/打开。当我打开Ubuntu Software Center-> Edit->时Software Sources,它再次没有打开。

但是当我打开终端时,输入

sudo software-properties-gtk

它显示/打开了。我有麻烦了吗?出了什么问题吗?

注意:从 Ubuntu 软件中心安装软件、从终端安装、打开软件更新程序都可以正常工作。真的很喜欢 Ubuntu!

当我输入时终端的输出:

sudo dpkg-reconfigure software-center

Updating software catalog...this may take a moment.
INFO:softwarecenter.db.pkginfo_impl.aptcache:aptcache.open()

WARNING:softwarecenter.db.update:The file: '/usr/share/app-install/desktop/sonic-visualiser:x-sonicvisualiser.desktop' could not be read correctly. The application associated with this file will not be included in the software catalog. Please consider raising a bug report for this issue with the maintainer of that application

WARNING:softwarecenter.db.update:The file: '/usr/share/app-install/desktop/workrave:workrave.desktop' could not be read correctly. The application associated with this file will not be included in the software catalog. Please consider raising a bug report for this issue with the maintainer of that application

WARNING:softwarecenter.db.update:The file: '/usr/share/app-install/desktop/sonic-visualiser:x-sonicvisualiser-layer.desktop' could not be read correctly. The application associated with this file will not be included in the software catalog. Please consider raising a bug report for this issue with the maintainer of that application

Software catalog update was successful.

图像

答案1

根据警告这似乎是一个错误,因为存储库中的某些应用程序没有正确更新/读取。正如帖子建议的那样,你应该考虑发起一个 bug

但在此之前尝试修复这个问题也是不错的。software-center如果您不介意的话,我建议您将其完全删除并重新安装。

请在终端中执行以下命令来删除/安装:

sudo apt-get autoremove software-center
sudo apt-get --purge remove software-center
sudo apt-get autoclean && sudo apt-get autoremove
rm -r ~/.config/software-center
sudo apt-get update
sudo apt-get -f install software-center

以防万一,安装突触并检查您是否可以Software & Updates通过它打开。还要检查是否有一些破损或残留的包装。

我希望它能帮助您解决问题。如果出现问题,请回复。

相关内容