ubuntu 11.10 安装 4.4.3-0ubuntu2 软件包依赖项

ubuntu 11.10 安装 4.4.3-0ubuntu2 软件包依赖项

sudo apt-get install gnuplot
在我sudo apt-get build-dep gnuplot解决包依赖关系之前。


~$ sudo apt-get build-dep gnuplot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'liblua5.1-0-dev' instead of 'liblua5.1-dev'
The following packages will be REMOVED:
  libgd2-xpm ubuntu-desktop
The following NEW packages will be installed:
  debhelper diffstat html2text intltool-debian libbsd-dev
  libcairo-script-interpreter2 libcairo2-dev libedit-dev libexpat1-dev
  libfontconfig1-dev libfreetype6-dev libgd2-noxpm libgd2-noxpm-dev
  libglib2.0-dev libjpeg62-dev liblua5.1-0-dev libncurses5-dev libpango1.0-dev
  libpixman-1-dev libpng12-dev libreadline-dev libreadline6-dev libtinfo-dev
  libwxbase2.8-dev libwxgtk2.8-dev libxcb-render0-dev libxcb-shm0-dev
  libxft-dev libxrender-dev po-debconf quilt texinfo wx2.8-headers
  x11proto-render-dev
0 upgraded, 34 newly installed, 2 to remove and 0 not upgraded.
Need to get 9,100 kB of archives.
After this operation, 37.8 MB of additional disk space will be used.

它说“ubuntu-desktop”将被删除,
但“ubuntu-desktop”很重要。
我该怎么办?

答案1

是的,ubuntu-desktop 非常重要,没有它你的系统就无法运行。这是 gnuplot 所需依赖项中的一个错误,请在 launchpad.net 上报告。

答案2

据我所知,问题是 libgd2-noxpm 和 libgd2-xpm 冲突。

我会尝试sudo apt-get install debhelper diffstat html2text intltool-debian libbsd-dev libcairo-script-interpreter2 libcairo2-dev libedit-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libglib2.0-dev libjpeg62-dev liblua5.1-0-dev libncurses5-dev libpango1.0-dev libpixman-1-dev libpng12-dev libreadline-dev libreadline6-dev libtinfo-dev libwxbase2.8-dev libwxgtk2.8-dev libxcb-render0-dev libxcb-shm0-dev libxft-dev libxrender-dev po-debconf quilt texinfo wx2.8-headers

然后针对 libgd2-xpm 进行构建并观察会发生什么。

相关内容