我无法打开软件和更新,方法是转到活动,然后单击软件和更新图标,或者尝试使用以下命令从终端打开它:
software-properties-gtk
我也尝试过重新安装:
sudo apt-get install --reinstall software-properties-gtk
重新安装后,它要么打不开,要么,如果打不开,它只是显示一个空白的屏幕。这里有什么问题?
我正在运行 Ubuntu 20.04。
我无法打开软件和更新,方法是转到活动,然后单击软件和更新图标,或者尝试使用以下命令从终端打开它:
software-properties-gtk
我也尝试过重新安装:
sudo apt-get install --reinstall software-properties-gtk
重新安装后,它要么打不开,要么,如果打不开,它只是显示一个空白的屏幕。这里有什么问题?
我正在运行 Ubuntu 20.04。
尝试使用 下载 SWI-Prologsudo apt-get install swi-prolog
时,出现一系列错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libpython3-dev : Depends: libpython3.5-dev (>= 3.5.1-2~) but it is not installable
python3.5-dev : Depends: python3.5 (= 3.5.2-2ubuntu0~16.04.4) but 3.5.2-2ubuntu0~16.04.3 is to be
installed
Depends: libpython3.5-dev (= 3.5.2-2ubuntu0~16.04.4) but it is not installable
Depends: libpython3.5 (= 3.5.2-2ubuntu0~16.04.4) but 3.5.2-2ubuntu0~16.04.3 is to be
installed
swi-prolog-nox : Depends: libossp-uuid16 but it is not going to be installed
Depends: libreadline7 (>= 6.0) but it is not going to be installed
Depends: libssl1.1 (>= 1.1.0) but it is not going to be installed
Depends: libedit-dev but it is not going to be installed
Depends: libgmp-dev but it is not going to be installed
Depends: libncursesw5-dev but it is not going to be installed
Depends: libreadline-dev but it is not going to be installed
Recommends: debhelper but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
我确实尝试apt-get -f install
过,这引发了错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libpython3-dev : Depends: libpython3.5-dev (>= 3.5.1-2~) but it is not
installable
python3.5-dev : Depends: python3.5 (= 3.5.2-2ubuntu0~16.04.4) but 3.5.2-
2ubuntu0~16.04.3 is installed
Depends: libpython3.5-dev (= 3.5.2-2ubuntu0~16.04.4) but it is
not installable
Depends: libpython3.5 (= 3.5.2-2ubuntu0~16.04.4) but 3.5.2-
2ubuntu0~16.04.3 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by
held packages.
E: Unable to correct dependencies
sudo apt-get update
使用or进行完整更新时,我也遇到了同样的问题upgrade
。我该如何解决这些错误?
谢谢!