ubuntu - libc6 部分安装在 ubuntu 上,我被卡住了

标签 ubuntu apt libc

我见过各种标准的治疗方法,但都没有奏效。基本问题:

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/

相关文章:

ubuntu - 弓工具包 ubuntu/usr/bin/ld : cannot find -lgcc_s collect2: ld returned 1 exit status make: *** [rainbow] Error 1

python - 如何使 django 全局可用

linux - 在 linux 的 windows 子系统上安装 g++

c - 为什么没有 strnspn() 或 strncspn()?

linux - Makefile:252: 目标 'install' 的配方失败

linux - 在 Debian 中列出所有用户安装的软件包

ubuntu - 在没有 ca-certificates 包的情况下将受信任的 CA 添加到 ubuntu

不使用 libc 编译

linux - killall(1) 等效系统调用或 C 库调用

oracle - 在 Linux 中使用 PowerShell 连接到 Oracle Autonomous db