sudo apt install gnome-tweaks не работает из-за libc6
Я пытаюсь установить gnome-tweaks, но установка не выполняется. Я запускаю в терминале следующую команду:
sudo apt install gnome-tweaks
Затем я получаю следующую ошибку:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gnome-tweaks : Depends: gir1.2-handy-0.0 but it is not going to be installed
Depends: gnome-shell-extension-prefs but it is not going to be installed
libc6-dbg : Depends: libc6 (= 2.31-0ubuntu9.1) but 2.31-0ubuntu9 is to be installed
libc6-dev : Depends: libc6 (= 2.31-0ubuntu9.1) but 2.31-0ubuntu9 is to be installed
libc6-i386 : Depends: libc6 (= 2.31-0ubuntu9.1) but 2.31-0ubuntu9 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
После запуска
apt --fix-broken install
, в консоли отображается та же ошибка:
dpkg: error processing archive /var/cache/apt/archives/libc6_2.31-0ubuntu9.1_amd64.deb (--unpack):
new libc6:amd64 package pre-installation script subprocess returned error exit status 1
Preparing to unpack .../libc6_2.31-0ubuntu9.1_i386.deb ...
De-configuring libc6:amd64 (2.31-0ubuntu9) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing archive /var/cache/apt/archives/libc6_2.31-0ubuntu9.1_i386.deb (--unpack):
new libc6:i386 package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.31-0ubuntu9.1_amd64.deb
/var/cache/apt/archives/libc6_2.31-0ubuntu9.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)