Edit: Fixed with Curglaff’s solution below. Moved to top of my post if anybody is having the same problem.
dpkg --configure -a
is how I fixed it
followed by
sudo apt --fix-broken install
see this link: apt - dpkg: error processing package libglib2.0-0:i386 - Ask Ubuntu
“Package libc6:i386 is not configured yet.” is the hint I think
Original problem below
I’ve been having trouble updating Pop OS lately. I had recently switched to KDE, so I thought that might have something to do with it, but after a full nuke and pave I’m still having trouble in Cinnamon. I’m running a System76 Gazelle i7-10750H GTX 1660 Ti
sudo apt update is giving me these errors:
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 2775 (apt-get)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/
sudo apt upgrade is throwing up the following message.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
gir1.2-mutter-10 : Depends: libmutter-10-0 (= 42.2-0ubuntu1pop1~1656366415~22.04~8e50951) but 42.3-1ubuntu1pop1~1658401497~22.04~928bf97 is installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
I’ve tried sudo apt --fix-broken install and it fails due to too many error. Seems to be a problem with this library: libglib2.0-0:i386
Some other highlights from failed fix include:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Correcting dependencies… Done
The following package was automatically installed and is no longer required:
app-install-data
Use ‘sudo apt autoremove’ to remove it.
The following additional packages will be installed:
gir1.2-mutter-10
The following packages will be upgraded:
gir1.2-mutter-10
1 upgraded, 0 newly installed, 0 to remove and 107 not upgraded.
49 not fully installed or removed.
Need to get 0 B/183 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: dependency problems prevent processing triggers for libglib2.0-0:i386:
libglib2.0-0:i386 depends on libc6 (>= 2.34); however:
Package libc6:i386 is not configured yet.
I tried running ps aux | grep -i apt to see if anything else was running and got:
root 1060 0.0 0.0 138368 9384 ? SNsl 17:30 0:00 /usr/sbin/thermald --systemd --dbus-enable --adaptive
apoptan+ 5207 22.6 2.1 1179617484 345204 tty2 SNl+ 17:46 1:33 /opt/google/chrome/chrome --type=renderer --enable-crashpad --crashpad-handler-pid=5008 --enable-crash-reporter=, --display-capture-permissions-policy-allowed --change-stack-guard-on-fork=enable --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=12 --launch-time-ticks=981390685 --shared-files=v8_context_snapshot_data:100 --field-trial-handle=0,i,7321052516219313218,13338869811651026891,131072