Code:$ sudo apt --fix-broken install Reading package lists... Done Building dependency tree... Done Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libgsoap-2.8.117 liblzf1 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libc6 libc6:i386 Suggested packages: glibc-doc glibc-doc:i386 locales:i386 Recommended packages: libnss-nis libnss-nisplus The following packages will be upgraded: libc6 libc6:i386 2 upgraded, 0 newly installed, 0 to remove and 104 not upgraded. 1 not fully installed or removed. Need to get 0 B/6,248 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable (Reading database ... 230731 files and directories currently installed.) Preparing to unpack .../libc6_2.35-0ubuntu3.7_amd64.deb ... De-configuring libc6:i386 (2.35-0ubuntu3.6), to allow configuration of libc6:amd64 (2.35-0ubuntu3.6) ... 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.35-0ubuntu3.7_amd64.deb (--unpack): new libc6:amd64 package pre-installation script subprocess returned error exit status 1 Preparing to unpack .../libc6_2.35-0ubuntu3.7_i386.deb ... De-configuring libc6:amd64 (2.35-0ubuntu3.6), to allow configuration of libc6:i386 (2.35-0ubuntu3.6) ... 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.35-0ubuntu3.7_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.35-0ubuntu3.7_amd64.deb /var/cache/apt/archives/libc6_2.35-0ubuntu3.7_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
The image you meant to post in post #11 did not post?
Based on your terminal outputs, the fix will likely be to run
or, alternatively,Code:sudo apt install libc6:amd64=2.35-0ubuntu3.7 libc6:i386=2.35-0ubuntu3.7
But you still have something else running interfering with apt/dpkg package operations. These fixes (or anything else involving apt) will not work while that process is running.Code:sudo apt --fix-broken install
Could you please try running
to get the numeric process ID (PID) of the culprit, then to help identify why this process is running, runCode:sudo lsof /var/cache/debconf/config.dat
replacing <PID> with the numeric PID from the lsof command?Code:pstree -s <PID>
Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
If your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."
Sorry I wasn't clear. That last command wasn't meant to be copy-pasted literally. According the output of your lsof command, replace <PID> with 7863
This PID number is not a permanent part of the system, so please re-run the lsof command to check that the relevant PID is still 7863 before substituting it in the pstree command.
Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
If your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."
Code:$ sudo lsof /var/cache/debconf/config.dat lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs Output information may be incomplete. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME frontend 7863 root 4uW REG 8,2 47694 537324 /var/cache/debconf/config.datCode:$ sudo pstree -s 7863 systemd───frontend───update-securebo
The problem is there is a loose debconf process stuck trying to run what is probably update-secureboot-policy from shim-signed package. Sorry I don't know how or why this can happen, I'm not familiar with secure boot & don't feel I have the right knowledge to advise further here
Xubuntu 22.04, ArchLinux ♦ System76 hardware, virt-manager/KVM, VirtualBox
If your questions are resolved to your satisfaction, please use Thread Tools > "Mark this thread as solved..."
Bookmarks