libc6:amd64 当前状态 'half-install' POP-OS



我在电脑上运行POP操作系统。昨天我运行了sudo apt upgrade,但收到以下错误

The following packages have unmet dependencies.
locales : Depends: libc-bin (> 2.32)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)

所以我运行了sudoapt --fix-broken install并得到了

package libc6:amd64 is not ready for configuration
cannot configure (current status 'half-installed')
Errors were encountered while processing:
libc6:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

所以尝试了sudoapt install libc6:amd64,得到了像以前一样的libc bin错误,所以尝试了sudo apt install libc-bin,得到了下面的

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies.
locales : Depends: libc-bin (> 2.32)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

我觉得我在兜圈子

$ sudo dpkg -i /var/cache/apt/archives/libc6_2.33*
$ sudo dpkg -i /var/cache/apt/archives/libc-bin_2.33-0ubuntu5_amd64.deb 
$ sudo dpkg -i /var/cache/apt/archives/libc-dev-bin_2.33-0ubuntu5_amd64.deb 
$ sudo apt --fix-broken install

可能对我有效。

我在stackoverflow中是新的,但我想添加到响应中,它们是成功的,并更正了答案,它们确实对我有效,在我的情况下,我尝试了这个:

$ sudo dpkg -i /var/cache/apt/archives/libc6_2.33*

但在我更换这个部件之前";libc6_2.33*";对于这个";libc6_2.31-0ubuntu9.9_amd64.deb";,所以最后y放入终端::

$ sudo dpkg -i /var/cache/apt/archives/libc6_2.31-0ubuntu9.9_amd64.deb

这对我来说很有效,因为我在那个目录的文件夹中搜索,找到了那个lib文件,希望对你有用!祝好运

相关内容

  • 没有找到相关文章

最新更新