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

我正在使用MacBook Air Mid 2012运行单一操作系统,这是Ubuntu(Raring Ringtail)。 这是一个月我使用Ubuntu,一切正常,最近我无法打开软件和更新,当我点击它不显示/打开。 当我打开Ubuntu Software Center – > Edit – > Software Sources ,它再次打开。

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

 sudo software-properties-gtk 

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

注意:从Ubuntu软件中心安装软件,从终端安装,打开Software Updater工作正常。 真的很喜欢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. 

图片

根据警告,它似乎是一个错误,因为存储库中的某些应用程序没有正确更新/读取。 正如post建议你应该考虑发布一个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 

只是在一个案例中,安装synaptic并检查您是否能够通过它打开Software & Updates 还要检查是否有破损或残留的太空舱。

我希望它可以帮助您解决问题..如果出现问题,请回复..