A few days ago, i wanted to update my system, but run into the following error:
user@pop-os:~$ sudo apt upgrade
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).
Trying to upgrade using the Pop!_Shop application failed as well. The shop just crashes a moment after starting the update process.
The recommended `apt --fix-broken install` doesn't work as well, "too many errors".
I found this [reddit post](https://www.reddit.com/r/pop_os/comments/wduw8k/help_when_upgrading_my_system_i_the_the_following/) describing the same problem. The [first answer](https://www.reddit.com/r/pop_os/comments/wduw8k/comment/iikpzfp) contains a solution that worked for me:
sudo dpkg --configure -a
sudo apt --fix-broken install
# then of course
sudo apt upgrade
I thought to share this here, so we don't have to leave the fediverse to fix this problem.