sudo apt-get -f upgrade Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done Calculating upgrade... Done The following NEW packages will be installed: libc6:i386 The following packages will be upgraded: snap-confine ubuntu-core-launcher 2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 31 not fully installed or removed. Need to get 22.1 kB/2,292 kB of archives. After this operation, 9,814 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 snap-confine amd64 1.0.38-0ubuntu0.16.04.8 [19.4 kB] Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-core-launcher amd64 1.0.38-0ubuntu0.16.04.8 [2,688 B] Fetched 22.1 kB in 0s (53.3 kB/s) debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable (Reading database ... 211284 files and directories currently installed.) Preparing to unpack .../libc6_2.23-0ubuntu3_i386.deb ... 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.23-0ubuntu3_i386.deb (--unpack): subprocess new pre-installation script returned error exit status 1 Preparing to unpack .../snap-confine_1.0.38-0ubuntu0.16.04.8_amd64.deb ... Unpacking snap-confine (1.0.38-0ubuntu0.16.04.8) over (1.0.38-0ubuntu0.16.04.4) ... Preparing to unpack .../ubuntu-core-launcher_1.0.38-0ubuntu0.16.04.8_amd64.deb ... Unpacking ubuntu-core-launcher (1.0.38-0ubuntu0.16.04.8) over (1.0.38-0ubuntu0.16.04.4) ... Processing triggers for libc-bin (2.23-0ubuntu3) ... Processing triggers for man-db (2.7.5-1) ... Errors were encountered while processing: /var/cache/apt/archives/libc6_2.23-0ubuntu3_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)