运行以下命令在 Lucid 中安装 xournal

运行以下命令在 Lucid 中安装 xournal
root@bt:~# sudo apt-get install xournal

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:

  g++: Depends: cpp (>= 4:4.7.2-1) but 4:4.4.3-1ubuntu1 is to be installed

       Depends: gcc (>= 4:4.7.2-1) but 4:4.4.3-1ubuntu1 is to be installed

       Depends: g++-4.7 (>= 4.7.2-1~) but it is not going to be installed

       Depends: gcc-4.7 (>= 4.7.2-1~) but it is not going to be installed

  google-chrome-stable: Depends: gconf-service but it is not going to be installed

                        Depends: libasound2 (>= 1.0.23)
                        Depends: libgconf-2-4 (>= 2.31.1) but it is not going to be installed
                        Depends: libgcrypt11 (>= 1.4.5) but 1.4.4-5ubuntu2.1 is to be installed
                        Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not going to be installed
                        Depends: libgtk2.0-0 (>= 2.24.0) but 2.20.1-0ubuntu2.1 is to be installed
                        Depends: libnspr4 (>= 1.8.0.10) but it is not going to be installed
                        Depends: libnss3 (>= 3.14.3) but it is not going to be installed
                        Depends: libstdc++6 (>= 4.6) but 4.4.3-4ubuntu5.1 is to be installed
                        Depends: libx11-6 (>= 2:1.4.99.1) but 2:1.3.2-1ubuntu3 is to be installed

  xournal: Depends: libfontconfig1 (>= 2.9.0) but 2.8.0-2ubuntu1 is to be installed

           Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not going to be installed
           Depends: libpoppler-glib8 (>= 0.18) but it is not going to be installed
           Depends: ghostscript-x but it is not going to be installed

E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)

我在用

root@bt:~# uname -a
Linux bt 3.2.6 #1 SMP Fri Feb 17 10:34:20 EST 2012 x86_64 GNU/Linux
root@bt:~# lsb_release -sc
lucid

答案1

运行以下命令在 Lucid 中安装 xournal

sudo gedit /etc/apt/sources.list

sources.list在文件中添加以下行

deb http://http.us.debian.org/debian squeeze main universe

保存sources.list文件并通过运行以下命令更新存储库,

sudo apt-get update

然后xournal通过运行以下命令进行安装,

sudo apt-get install xournal

这将安装 xournal 及其依赖项。

运行以下命令在 Lucid 中卸载 xournal

仅卸载 xournal

sudo apt-get purge xournal

卸载 xournal 及其依赖项

sudo apt-get purge --auto-remove xournal

相关内容