我见过各种标准的治疗方法,但都没有奏效。基本问题:
sudo apt-get --fix-broken 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:
gir1.2-bamf-3 libbamf3-2 libgnome-menu-3-0 libplank-common libxcb-ewmh2
libxcb-xrm0 rofi vala-panel-appmenu-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
locales
The following NEW packages will be installed:
locales
0 upgraded, 1 newly installed, 0 to remove and 84 not upgraded.
2 not fully installed or removed.
Need to get 0 B/6,445 kB of archives.
After this operation, 17.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Preconfiguring packages ...
dpkg: error processing package libc6:amd64 (--configure):
package libc6:amd64 cannot be configured because libc6:i386 is not ready (current status 'half-installed')
Errors were encountered while processing:
libc6:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
我非常需要解决这个问题,因为我目前正忙于安装任何东西或进行升级。
最佳答案
这个http://www.iasptk.com/ubuntu-fix-broken-package-best-solution/建议编辑 dpkg 状态文件,然后是“sudo apt --fix-broken install”在我的情况下解决了这个问题。看起来很可怕的东西,但如果它有效..
关于ubuntu - libc6 部分安装在 ubuntu 上,我被卡住了,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70726446/