libc6 Bionic 升级失败

libc6 Bionic 升级失败

在基于 64 位的 VPS 服务器上从 Xenial 升级到 Bionic 时,出现以下错误:

Could not install the upgrades    
The upgrade has aborted. Your system could be in an unusable state. 
A recovery will run now (dpkg --configure -a).

dpkg: dependency problems prevent configuration of libc-bin:
 libc-bin depends on libc6 (>> 2.27); however:
  Version of libc6:amd64 on system is 2.23-0ubuntu10.

dpkg: error processing package libc-bin (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc-bin

Upgrade incomplete  
The upgrade has partially completed but there were errors during the
upgrade process.

我尝试了几乎所有可以谷歌搜索的方法,但都不起作用:

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libc6 : Breaks: libc6:i386 (!= 2.27-3ubuntu1) but 2.23-0ubuntu10 is to be installed
 libc6:i386 : Breaks: libc6 (!= 2.23-0ubuntu10) but 2.27-3ubuntu1 is to be installed
 libc6-amd64:i386 : Depends: libc6:i386 (= 2.27-3ubuntu1) but 2.23-0ubuntu10 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

如果我尝试,apt-get -f install我会得到:

 Configuring libc6 tqqqqqqqqqqqqqqqqqqqqqqqqqk
   x                                                                       x
   x Kernel must be upgraded                                               x
   x                                                                       x
   x This version of the GNU libc requires kernel version 3.2 or later.    x
   x Please upgrade your kernel before installing glibc.                   x
   x                                                                       x
   x                                <Ok>                                   x
   x                                                                       x
   mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

我陷入了困境。

这次升级失败有没有什么解决办法?

相关内容