xserver-xorg-core 更新失败。未完全安装或删除

xserver-xorg-core 更新失败。未完全安装或删除

xserver-xorg-core_1.14.5-1ubuntu2_amd64.deb我尝试从以下网址下载更新 xserverpackages.ubuntu.com,当我尝试安装它时,它显示:

(Reading database ... 266118 files and directories currently installed.)
Preparing to replace xserver-xorg-core 2:1.14.4.901+git20131203+server-1.14-branch.c30db601-0ubuntu0sarvatt4 (using xserver-xorg-core_1.14.5-1ubuntu2_amd64.deb) ...
Unpacking replacement xserver-xorg-core ...
dpkg: dependency problems prevent configuration of xserver-xorg-core:
 xserver-xorg-core depends on xserver-common (>= 2:1.14.5-1ubuntu2); however:
  Version of xserver-common on system is 2:1.14.4.901+git20131203+server-1.14-branch.c30db601-0ubuntu0sarvatt4.
 xserver-xorg-core depends on libgcrypt11 (>= 1.5.1); however:
  Version of libgcrypt11:amd64 on system is 1.5.0-3ubuntu3.

dpkg: error processing xserver-xorg-core (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
 xserver-xorg-core

现在,每当我尝试升级或安装某些东西时,它都会显示:

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 xserver-xorg-core : Depends: xserver-common (>= 2:1.14.5-1ubuntu2) but 2:1.14.4.901+git20131203+server-1.14-branch.c30db601-0ubuntu0sarvatt4 is to be installed
                     Depends: libgcrypt11 (>= 1.5.1) but 1.5.0-3ubuntu3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

当我sudo apt-get -f install这样做时它说:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  ubuntu-desktop xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all
  xserver-xorg-input-evdev xserver-xorg-input-mouse
  xserver-xorg-input-synaptics xserver-xorg-input-vmmouse
  xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-ati
  xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-intel
  xserver-xorg-video-mach64 xserver-xorg-video-mga
  xserver-xorg-video-modesetting xserver-xorg-video-neomagic
  xserver-xorg-video-nouveau xserver-xorg-video-openchrome
  xserver-xorg-video-qxl xserver-xorg-video-r128 xserver-xorg-video-radeon
  xserver-xorg-video-s3 xserver-xorg-video-savage
  xserver-xorg-video-siliconmotion xserver-xorg-video-sis
  xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident
  xserver-xorg-video-vesa xserver-xorg-video-vmware
0 upgraded, 0 newly installed, 33 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 13,0 MB disk space will be freed.

如何解决这个问题?

请帮帮我,我不知道该怎么办。

答案1

问题是由于您尝试安装 14.04 中可用的软件包而导致的。xserver-xorg-core适用于 13.10 的版本是2:1.14.3

您只需输入以下内容即可安装xserver-xorg-core适合您的系统:

sudo apt-get install xserver-xorg-core

如果您仍然遇到问题,请添加以下输出:

apt-cache madison xserver-common

相关内容