硬件启用堆栈(HWE)已不再受支持。

从昨天开始,我的更新管理器给我发了这个消息:
你当前的硬件支持栈(HWE)将于2014年7月8日停止支持。在此日期之后,你的系统的关键部分(内核和图形堆栈)将不再提供安全更新。
更多信息,请参见: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.

怎么解决这个问题?
我正在运行64位的Ubuntu 12.04.4 LTS,内核版本是3.5.0-53-generic。

1这个问题有一个讨论此问题的错误报告,但目前为止我还没有找到解决办法。 - Dogsbody
我没有足够的积分来评论,所以我必须回答。 Dogsbody的回答对我没用。 ECII的回答有用(我试了amd64版本)。 - pmontrasio
只是提醒一下:我遇到了一个类似但稍有不同的问题,其中没有推荐的软件包。 - Paul
请注意,不同的用户似乎对HWE升级问题/解决方案报告不同的情况。请参阅hwe-support-status does not tell me how to upgrade to 12.04.5Hardware Enablement Stack (HWE) out of supportbug #1341324bug #1341320 - Paul
2个回答

我遇到了同样的问题,这是对我有效的解决方法。
命令: 对于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

在“amd64”第一行的末尾,软件包xserver-xorg-lts-trusty的名称中有一个额外的空格。 - Red
2我不知道为什么这个被投票否决了,它对我解决了问题... - Maidomax
使用您的命令(64位版本)破坏了其他软件包的依赖关系。我通过重新安装“14.04 LTS”来解决了这个问题。 - Red

手动先安装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中有讨论,我只是没有仔细阅读它 :-)

2安装xserver-xorg-lts-trusty为我安装了其他的软件包。 - metasequoia
是的,不同的系统会有不同的软件包。不过它们都应该能正确解决依赖关系 :-/ - Dogsbody