dpkg:处理软件包 libgl1-mesa-glx:i386 时出错(--configure)

dpkg:处理软件包 libgl1-mesa-glx:i386 时出错(--configure)

您好,我在 dpkg 中遇到了一个错误。以下是详细信息:

$ sudo dpkg --audit | more
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 ubuntu-emulator      Create and run emulator images of Ubuntu Touch
 ubuntu-emulator-runtime:i386 Ubuntu Touch emulator runtime

The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 less                 pager program similar to more
 libgl1-mesa-glx:i386 free implementation of the OpenGL API -- GLX runtime

如果我能找到这个错误的解决方案就太好了。

答案1

我们可以通过运行以下命令来解决这个问题:

dpkg --force-depends --purge libgl1-mesa-glx
sudo apt-get -f install

此时只有团结仍处于“破裂”状态。

之后,为了修复该问题,请运行:

dpkg --force-depends --purge unity
sudo apt-get -f install

相关内容