Недавно из ниоткуда, когда я пытался обновить пакет (libcap2 100: 2.48-1) на моем сервере (Ubuntu 20.04.2) отказ выполнить обновление вызывает проблему с зависимостью
Reading package lists...
Building dependency tree...
Reading state information...
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:
libcap2 : Depends: libc6 (>= 2.32) but 2.31-0ubuntu9.2 is to be installed
E: Unable to correct problems, you have held broken packages.
Вот результат политики apt-cache policy libcap2 libc6
libcap2:
Installed: 1:2.32-1
Candidate: 100:2.48-1
Version table:
100:2.48-1 500
500 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.10 Packages
*** 1:2.32-1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
libc6:
Installed: 2.31-0ubuntu9.2
Candidate: 2.31-0ubuntu9.2
Version table:
*** 2.31-0ubuntu9.2 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.31-0ubuntu9 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu focal/main amd64 Packages
Это все он отображается, и я не совсем уверен в удалении libc6 и его повторной установке
Вы должны отключить хранилище http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.10
и затем повторить попытку.