你好,我是 Linux Ubuntu 14.04 的新手。我想安装 Inkscape,但它显示以下错误(如它所述依赖项):
inkscape: Depends: python:any (>= 2.7.1-0ubuntu2) but it is a virtual package
Depends: libaspell15 (>= 0.60.7~20110707) but 0.60.7~20110707-1ubuntu1 is to be installed
Depends: libatkmm-1.6-1 (>= 2.22.1) but 2.22.7-2ubuntu1 is to be installed
Depends: libc6 (>= 2.7) but 2.19-0ubuntu6.1 is to be installed
Depends: libcairo2 (>= 1.10.0) but 1.13.0~20140204-0ubuntu1 is to be installed
Depends: libcairomm-1.0-1 (>= 1.6.4) but 1.10.0-1ubuntu3 is to be installed
Depends: libfontconfig1 (>= 2.9.0) but 2.11.0-0ubuntu4.1 is to be installed
Depends: libfreetype6 (>= 2.2.1) but 2.5.2-1ubuntu2.2 is to be installed
Depends: libgc1c2 (>= 1:7.2d) but 1:7.2d-5ubuntu2 is to be installed
Depends: libgcc1 (>= 1:4.1.1) but 1:4.9-20140406-0ubuntu1 is to be installed
Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but 2.30.7-0ubuntu1 is to be installed
Depends: libglib2.0-0 (>= 2.35.9) but 2.40.0-2 is to be installed
Depends: libglibmm-2.4-1c2a (>= 2.36.2) but 2.39.93-0ubuntu1 is to be installed
Depends: libgnomevfs2-0 (>= 1:2.17.90) but it is not going to be installed
Depends: libgomp1 (>= 4.2.1) but 4.8.2-19ubuntu1 is to be installed
Depends: libgsl0ldbl (>= 1.9) but it is not going to be installed
Depends: libgtk2.0-0 (>= 2.24.0) but 2.24.23-0ubuntu1.1 is to be installed
Depends: libgtkmm-2.4-1c2a (>= 1:2.24.0) but 1:2.24.4-1ubuntu1 is to be installed
Depends: libgtkspell0 (>= 2.0.10) but it is not going to be installed
Depends: liblcms2-2 (>= 2.2+git20110628) but 2.5-0ubuntu4 is to be installed
Depends: libmagick++5 (>= 8:6.7.7.10) but it is not going to be installed
Depends: libpango-1.0-0 (>= 1.14.0) but 1.36.3-1ubuntu1 is to be installed
Depends: libpangocairo-1.0-0 (>= 1.14.0) but 1.36.3-1ubuntu1 is to be installed
Depends: libpangoft2-1.0-0 (>= 1.14.0) but 1.36.3-1ubuntu1 is to be installed
Depends: libpangomm-1.4-1 (>= 2.27.1) but 2.34.0-1ubuntu1 is to be installed
Depends: libpng12-0 (>= 1.2.13-4) but 1.2.50-1ubuntu2 is to be installed
Depends: libpopt0 (>= 1.14) but 1.16-8ubuntu1 is to be installed
Depends: libsigc++-2.0-0c2a (>= 2.0.2) but 2.2.10-0.2ubuntu2 is to be installed
Depends: libstdc++6 (>= 4.6) but 4.8.2-19ubuntu1 is to be installed
Depends: libxml2 (>= 2.7.4) but 2.9.1+dfsg1-3ubuntu4.3 is to be installed
Depends: libxslt1.1 (>= 1.1.25) but 1.1.28-2build1 is to be installed
Depends: zlib1g (>= 1:1.1.4) but 1:1.2.8.dfsg-1ubuntu1 is to be installed
我错过了什么?
答案1
要安装 Inkscape,只需按下键盘上的Ctrl+ Alt+T打开终端。打开后,运行以下命令:
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt-get update
sudo apt-get install inkscape