首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何安装libgl1-Mesa-dev:i 386

如何安装libgl1-Mesa-dev:i 386
EN

Ask Ubuntu用户
提问于 2016-04-04 18:46:35
回答 1查看 9.9K关注 0票数 2

今天我安装了UbuntuUbuntu14.04.4LTS 64位,我想安装libgl1-Mesa-dev:i 386数据包。我执行以下命令:

代码语言:javascript
运行
复制
sudo apt-get install libgl1-mesa-dev:i386

我得到了以下结果:

代码语言:javascript
运行
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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-dev:i386 : Depends: libgl1-mesa-glx:i386 (= 10.1.3-0ubuntu0.6) or
                                 libgl1-mesa-glx-lts-utopic:i386 but it is not going to be installed or
                                 libgl1-mesa-glx-lts-vivid:i386 but it is not going to be installed or
                                 libgl1-mesa-glx-lts-wily:i386 but it is not going to be installed or
                                 libgl1-mesa-glx-lts-xenial:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

更新

我执行以下命令:

代码语言:javascript
运行
复制
dpkg -l | grep xserver-xorg-core

我得到了:

代码语言:javascript
运行
复制
ii  xserver-xorg-core-lts-wily                            2:1.17.2-1ubuntu9.1~trusty1                         amd64        Xorg X server - core server

第二次更新

代码语言:javascript
运行
复制
sudo apt-get install libgl1-mesa-dev-lts-wily:i386

我得到:

代码语言:javascript
运行
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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-dev-lts-wily:i386 : Depends: libgl1-mesa-glx-lts-wily:i386 (= 11.0.2-1ubuntu4~trusty1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

更新3

代码语言:javascript
运行
复制
sudo apt-get install libgl1-mesa-glx-lts-wily:i386 libglapi-mesa-lts-wily:i386 libgl1-mesa-dev-lts-wily:i386

我得到:

代码语言:javascript
运行
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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-wily:i386 : Depends: libudev1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
EN

回答 1

Ask Ubuntu用户

发布于 2016-04-04 19:00:39

您有wily图形堆栈。正确的命令应该是

代码语言:javascript
运行
复制
sudo apt-get install libgl1-mesa-glx-lts-wily:i386 libglapi-mesa-lts-wily:i386 libgl1-mesa-dev-lts-wily:i386 libudev1:i386
票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/753782

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档