首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Libgl1-mesa尚未配置

Libgl1-mesa尚未配置
EN

Ask Ubuntu用户
提问于 2012-07-11 21:13:37
回答 1查看 3.2K关注 0票数 0

从我今天的sudo apt-get upgrade开始,每次安装apt-get软件时,我都会有一个奇怪的错误(S),例如:

代码语言:javascript
复制
    $apt-get -f install 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  liblzo2-2 uswsusp
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libglu1-mesa
The following NEW packages will be installed:
  libglu1-mesa
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
1 not fully installed or removed.
Need to get 0 B/165 kB of archives.
After this operation, 561 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Selecting previously deselected package libglu1-mesa.
(Reading database ... 140491 files and directories currently installed.)
Unpacking libglu1-mesa (from .../libglu1-mesa_7.10.2-0ubuntu2.1_amd64.deb) ...
Setting up libgl1-mesa-glx (7.10.2-0ubuntu2.1) ...
update-alternatives: error: alternative link /usr/lib/xorg/extra-modules is already managed by x86_64-linux-gnu_gl_conf.
dpkg: error processing libgl1-mesa-glx (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libglu1-mesa:
 libglu1-mesa depends on libgl1-mesa-glx | libgl1; however:
  Package libgl1-mesa-glx is not configured yet.
  Package libgl1 is not installed.
  Package libgl1-mesa-glx which provides libgl1 is not configured yet.
dpkg: error processing libglu1-mesa (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 libgl1-mesa-glx
 libglu1-mesa
E: Sub-process /usr/bin/dpkg returned an error code (1)

有人知道怎么修理吗?我曾经尝试过apt-get purgeapt-get install上的‘这些’包,但没有帮助。

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2012-07-12 10:40:18

好的,我终于通过卸载nvidia-common修复了它。

sudo apt-get purge nvidia-common

并使用Additional drivers图形用户界面重放驱动程序。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/162568

复制
相关文章

相似问题

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