![Ubuntu 软件中心无限加载](https://linux22.com/image/889801/Ubuntu%20%E8%BD%AF%E4%BB%B6%E4%B8%AD%E5%BF%83%E6%97%A0%E9%99%90%E5%8A%A0%E8%BD%BD.png)
我的 MBR 被感染后,我刚刚第一次下载了 Ubuntu。我进入 Ubuntu 软件中心并尝试搜索“Skype”,它无限加载,除了“全部”部分之外的所有内容都无限加载,我该如何解决这个问题?当我按下一个类别时,它只显示三个矩形中的点?
我还尝试通过终端启动 USC,它成功了,但它似乎是旧版本。当我通过终端启动它时,我得到了这个:
isse@isse-Lenovo-B50-10:~$ sudo software-center
[sudo] password for isse:
Sorry, try again.
[sudo] password for isse:
/usr/bin/software-center:25: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, GObject
/usr/share/software-center/softwarecenter/ui/gtk3/views/purchaseview.py:29: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
from gi.repository import WebKit2 as webkit
2017-01-09 19:50:18,106 - softwarecenter.backend.zeitgeist_logger - WARNING - Support for Zeitgeist disabled
/usr/share/software-center/softwarecenter/ui/gtk3/widgets/symbolic_icons.py:23: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Gtk, Gdk, GLib, PangoCairo
2017-01-09 19:50:18,203 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2017-01-09 19:50:18,989 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.Geoclue.Error.notAvailable: Geoclue master client has no usable Address providers'
2017-01-09 19:50:19,092 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2017-01-09 19:50:19,097 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2017-01-09 19:50:19,167 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
2017-01-09 19:50:20,410 - softwarecenter.db.update - WARNING - failed to load file /var/lib/apt-xapian-index/cataloged_times.p: unsupported pickle protocol: 3
/usr/share/software-center/softwarecenter/ui/gtk3/widgets/videoplayer.py:29: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import Gst
/usr/bin/software-center:184: Warning: Source ID 123 was not found when attempting to remove it
Gtk.main()
/usr/bin/software-center:184: Warning: Source ID 71 was not found when attempting to remove it
Gtk.main()
2017-01-09 19:50:25,866 - softwarecenter.db.update - WARNING - failed to load file /var/lib/apt-xapian-index/cataloged_times.p: unsupported pickle protocol: 3
2017-01-09 19:50:27,804 - softwarecenter.db.utils - INFO - software-center-agent finished with status 0
答案1
Skype 应该能够直接从 Ubuntu 使用的存储库安装。
检查 Skype 的来源,它似乎来自Partner
存储库。因此需要启用这些。
由于我已经安装了它,所以我运行apt-cache
去获取它来自的存储库。
~$ apt-cache showpkg skype
Package: skype
Versions:
4.3.0.37-0ubuntu0.12.04.1 (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_xenial_partner_binary-amd64_Packages) (/var/lib/dpkg/status)
正如您所见,合作伙伴是名称的一部分。
转到设置->软件和更新->其他软件选项卡。
选择合作伙伴框后(即我列表中的前 2 个),单击“关闭”,然后它会重新加载缓存。
如果不存在,请单击添加,然后添加以下两行(逐一添加):
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner
当你关闭它时,它应该更新缓存。
现在,您应该能够从命令行安装 Skype:
sudo apt install skype
希望这可以帮助!
答案2
我昨天安装了 Xubuntu,也是这样。更新并重启解决了问题。
更新:
sudo apt-get update
sudo apt-get dist-upgrade