我正在尝试安装一个名为划痕,它是 Elementary OS 中的默认文本编辑器。
我已经完成以下命令。
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
我正在使用 Ubuntu 14.04.02 64 位。
答案1
如果你真的想要...并且不想下载万神殿桌面及其软件:
手动安装这些.deb
软件包,你最终可能会安装上面列出的其他依赖项,谷歌搜索它们,这并不需要太多时间。有一次我不得不做同样的事情,因为没有其他办法……而且这比在终端上做这件事更快。
答案2
它抱怨说请求是不可能的,并且这些依赖项在该版本的 ubuntu 上不起作用。
如果确实有必要,请尝试使用以下方法安装
sudo apt-get install -f scratch-text-editor
如果可能的话,它将强制安装该包。希望这会有所帮助。