Ubuntu 14.04 升级硬件支持堆栈 (HWE) 显示未满足的依赖关系

Ubuntu 14.04 升级硬件支持堆栈 (HWE) 显示未满足的依赖关系

使用此命令手动升级到新的硬件支持堆栈时:

sudo apt-get install --install-recommends linux-generic-lts-utopic xserver-xorg-lts-utopic libgl1-mesa-glx-lts-utopic libegl1-mesa-drivers-lts-utopic

出现此错误:

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:
 indicator-bluetooth : Depends: unity-control-center but it is not going to be installed or
                                gnome-control-center but it is not going to be installed or
                                ubuntu-system-settings but it is not going to be installed
 libqt5feedback5 : Depends: libqt5multimedia5 (>= 5.0.2) but it is not going to be installed
 libqt5quick5 : Depends: libqt5gui5 (>= 5.2.0) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

这可能是什么原因造成的?我该如何解决?

系统:

Linux sandsturm 3.13.0-45-generic #74-Ubuntu SMP
  Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

答案1

我遇到了完全相同的问题,这对我有用:

  1. 我首先安装了这些软件包的 14.04(可信任)版本:

    sudo apt-get install --install-recommends linux-generic-lts-trusty xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty libegl1-mesa-drivers-lts-trusty
    
  2. 安装完这些后,我就可以运行升级启用堆栈的命令

    sudo apt-get install --install-recommends linux-generic-lts-utopic xserver-xorg-lts-utopic libgl1-mesa-glx-lts-utopic libegl1-mesa-drivers-lts-utopic
    
  3. 最后,进行一些清理:

    sudo apt-get autoremove
    

编辑:

按照上述步骤操作后,Steam 尝试安装几个软件包(libgl1-mesa-dri:i386 和 libgl1-mesa-glx:i386),但安装失败。我可以轻松修复它:

sudo apt-get install libgl1-mesa-dri-lts-utopic:i386 libgl1-mesa-glx-lts-utopic:i386

如果将来安装/升级软件包失败,我将不得不记住该模式(尝试添加-lts-utopic到软件包名称)。

相关内容