问题描述
从昨天开始,我的更新经理给了我这个消息:
Your current Hardware Enablement Stack (HWE) is going out of support on 07/08/2014. After this date security updates for critical parts (kernel and graphics stack) of your system will no longer be available.
For more information, please see: http://wiki.ubuntu.com/1204_HWE_EOL
但是当我尝试使用 hwe-support-status --verbose
建议的命令升级 HWE 时
sudo apt-get install linux-generic-lts-trusty libgl1-mesa-glx-lts-trusty xserver-xorg-lts-trusty linux-image-generic-lts-trusty
我得到依赖错误:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgl1-mesa-glx-lts-trusty : Depends: libglapi-mesa-lts-trusty (= 10.1.3-0ubuntu0.1~precise1) but it is not going to be installed
xserver-xorg-lts-trusty : Recommends: xserver-xorg-input-all-lts-trusty but it is not going to be installed
Recommends: xserver-xorg-video-all-lts-trusty but it is not going to be installed
Recommends: x11-xserver-utils-lts-trusty but it is not going to be installed
Conflicts: libglapi-mesa:i386 (>= 0~)
E: Unable to correct problems, you have held broken packages.
我该如何解决这个问题?
我正在使用内核 3.5.0-53-generic
运行 Ubuntu 12.04.4 LTS
64 位。
最佳方法
我有同样的问题,这对我有用
命令:
对于 AMD64:
sudo apt-get install -V libglapi-mesa-lts-trusty libgl1-mesa-glx-lts-trusty xserver-xorg-lts-trusty xserver-xorg-input-all-lts-trusty xserver-xorg-video-all-lts-trusty libgl1-mesa-dri-lts-trusty x11-xserver-utils-lts-trusty libglapi-mesa-lts-trusty:i386 libgl1-mesa-dri-lts-trusty:i386 libgl1-mesa-glx-lts-trusty:i386 libgles2-mesa-lts-trusty libglapi-mesa-lts-trusty mesa-vdpau-drivers-lts-trusty
对于 i386:
sudo apt-get install -V libglapi-mesa-lts-trusty libgl1-mesa-glx-lts-trusty xserver-xorg-lts-trusty xserver-xorg-input-all-lts-trusty xserver-xorg-video-all-lts-trusty libgl1-mesa-dri-lts-trusty x11-xserver-utils-lts-trusty mesa-vdpau-drivers-lts-trusty libgles2-mesa-lts-trusty libglapi-mesa-lts-trusty
次佳方法
首先手动安装 xserver-xorg-lts-precise
将确保您拥有所需的所有依赖项。然后安装 hwe-support-status
定义的包。
对你来说,这意味着运行这两个命令……
sudo apt-get install xserver-xorg-lts-precise
hwe-support-status --verbose
sudo apt-get install linux-generic-lts-trusty xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty linux-image-generic-lts-trusty
这个问题在 bug #1328264 中讨论过,我只是没有正确阅读 🙂