我正在尝试安装一个名为Scratch的文本编辑器,它是初级操作系统中的默认文本编辑器。
我执行了以下命令。
sudo add-apt-repository ppa:elementary-os/daily
sudo apt-get update
sudo apt-get install scratch-text-editor当我尝试最后一个命令时,它会抛出某种错误,我无法继续:
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
scratch-text-editor : Depends: libgranite2 (>= 0.3.0+) but it is not going to be installed
Depends: libgtksourceview-3.0-1 (>= 3.14.3) but 3.10.2-0ubuntu1 is to be installed
Depends: libvala-0.26-0 (>= 0.17.1) but it is not installable
Depends: libscratchcore0 (= 2.2.0~r1523+pkg77~daily~ubuntu0.3.1) but it is not going to be installed我正在使用Ubuntu14.04.02 64位。
发布于 2015-06-27 17:56:46
手动安装这些.deb包,您可能会安装上面列出的其他依赖项,google它们,这不需要那么多时间。有一次我不得不做同样的事,因为没有别的办法.它比制造终端更快。
发布于 2015-06-27 15:03:33
它抱怨说这个请求是不可能的,而这些依赖在这个版本的ubuntu上是行不通的。
如果真的有必要,试着用
sudo apt-get install -f scratch-text-editor如果可能的话,它将迫使软件包安装。希望这能有所帮助。
https://askubuntu.com/questions/641636
复制相似问题