由于virtuoso-opensource-7.0-common,apt-get无法使用

时间:2013-11-07 10:15:07

标签: ubuntu apt-get virtuoso

在我们的服务器上,我们安装了Virtuoso 6.1但不知何故Ubuntu也试图安装Virtuoso 7(或者有人试图安装它)。在任何情况下,现在apt-get根本不可用,并且建议用apt-get -f install修复失败(见下图)。

uname -a的输出: Linux servername 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

输出:

# apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  liblcms1 libcupsimage2 libvirtodbc0 libmagickcore4 linux-headers-3.2.0-51 libjbig2dec0 liblcms2-2 libmagickwand4 libgs9-common virtuoso-opensource-6.1-bin liblqr-1-0
  virtuoso-opensource-6.1-common imagemagick-common libijs-0.35 cmap-adobe-japan1 linux-image-3.2.0-51-generic gs-cjk-resource libgs9 ghostscript linux-headers-3.2.0-51-generic
  libpaper-utils gsfonts libpaper1 virtuoso-opensource-7.0-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  virtuoso-opensource-7.0-common
The following NEW packages will be installed:
  virtuoso-opensource-7.0-common
0 upgraded, 1 newly installed, 0 to remove and 111 not upgraded.
2 not fully installed or removed.
Need to get 0 B/44.0 kB of archives.
After this operation, 115 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 201548 files and directories currently installed.)
Unpacking virtuoso-opensource-7.0-common (from .../virtuoso-opensource-7.0-common_7.0.1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/virtuoso-opensource-7.0-common_7.0.1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/INIFILE.1.gz', which is also in package virtuoso-opensource-6.1-common 6.1.4+dfsg1-0ubuntu1
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/virtuoso-opensource-7.0-common_7.0.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

卸载Virtuoso 7也不起作用。

# apt-get remove virtuoso-opensource-7.0-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package virtuoso-opensource-7.0-common is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libvirtodbc0 : Depends: virtuoso-opensource-7.0-common (= 7.0.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

2 个答案:

答案 0 :(得分:2)

这不是适合这类问题的地方,但无论如何:

The following packages have unmet dependencies:
 libvirtodbc0 : Depends: virtuoso-opensource-7.0-common (= 7.0.1) but it is not going to be installed

只需sudo apt-get remove libvirtodbc0,apt-get就可以了。

答案 1 :(得分:1)

你从哪里获得Virtuoso 7 debian软件包,因为我认为Debian / Ubuntu还没有官方的Virtuoso 7套装,或者你自己构建它们还是从其他来源获得?