将 libc6 降级到 2.23-0ubuntu11.2

将 libc6 降级到 2.23-0ubuntu11.2

我正在运行 ubuntu16,上周我安装了https://ubuntu.pkgs.org/20.04/ubuntu-universe-amd64/clang-10_10.0.0-4ubuntu1_amd64.deb.html来自 ubuntu20 软件包存储库(只需将 ubuntu20 存储库添加到/etc/apt/sources.list),它还安装了一些新版本 libc6/libc6-dev/etc 作为依赖项,导致我的环境被破坏。

现在我只想将我的环境回滚到以前的状态。有没有办法重新安装属于 ubuntu16 的旧版本的 libc?

我尝试过的:

sudo apt install libc6=2.23-0ubuntu11.2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Depends: libc6 (= 2.31-0ubuntu9) but 2.23-0ubuntu11.2 is to be installed
             Depends: libc-dev-bin (= 2.31-0ubuntu9)
             Depends: libcrypt-dev but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

相关内容