You can bypass this error by updating/upgrading through the terminal instead of AppCenter.
# downloads package info from all configured sources
$ sudo apt-get update
# upgrades all installed packages from the command above to their latest versions
$ sudo apt-get full-upgrade
apt-get full-upgrade
is the same as apt-get upgrade
but will also remove packages that are preventing the system from completing the upgrade -- which is what you want.
In my case, running "full-upgrade" removed libpantheon-files-widgets0
and installed the compatible libpantheon-files-core0
After running both apt-get
commands, if you still have AppCenter open, make sure you close out of it completely. The next time you navigate to AppCenter you will notice the previous Operating System Updates is now up-to-date and that there are no components in need of updates.
You can also confirm successful upgrade through the terminal by running the following command:
$ lsb_release -a
# No LSB modules are available.
# Distributor ID: Elementary
# Description: elementary OS 6.1 Jolnir
# Release: 6.1
# Codename: Jolnir
apt --fix-broken install
"? It's not often that core Pantheon files fall out of sync with each other ...