我读过同样的问题,但没有成功。当我在终端中运行“software-properties-gtk”时,它显示以下内容:
$ software-properties-gtk
Traceback (most recent call last):
File "/usr/bin/software-properties-gtk", line 37, in <module>
from softwareproperties.gtk.SoftwarePropertiesGtk import SoftwarePropertiesGtk
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 46, in <module>
from .DialogCacheOutdated import DialogCacheOutdated
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/ DialogCacheOutdated.py", line 28, in <module>
from aptdaemon.gtk3widgets import AptErrorDialog, AptProgressDialog
File "/usr/lib/python3/dist-packages/aptdaemon/gtk3widgets.py", line 42, in <module>
gi.require_version("Vte", "2.91")
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 83, in require_version
(namespace, version))
ValueError: Namespace Vte not available for version 2.91`
命令“update-manager”有同样的问题:
ValueError: Namespace Vte not available for version 2.91`
有什么办法可以解决这些问题吗?
答案1
修复系统的一种方法是将该 PPA 中的所有软件包替换为官方软件包。可以这样做:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:anton+/photo-video-apps
这也将禁用 PPA /etc/apt/sources.list.d
。