Error using package updater

Hi, I receive the attached error when trying to run package updater.
Librem 14. PureOS 10 (Byzantium).

1 Like

Try: sudo apt --fix-broken install

1 Like

Related:

1 Like

sudo apt --fix-broken install

Reading package listsā€¦ Done
Building dependency treeā€¦ Done
Reading state informationā€¦ Done
Correcting dependenciesā€¦ failed.
The following packages have unmet dependencies:
grass : Depends: libwebkit2gtk-4.1-0 but it is not installable
grass-core : Breaks: grass (< 6.4.2-1~) but 4.30.0 is installed
grass-gui : Breaks: grass (< 6.4.2-1~) but 4.30.0 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

1 Like

sudo apt remove <insert name of whatever package you installed that didnā€™t work>

You either have to go forward or backward. You canā€™t go forward unless you can resolve those unmet dependencies. So just going backward is the right approach i.e. get rid of the problem package. At least then you can use the system normally to apply updates and to install new packages that do work.

1 Like

sudo dpkg --purge --force-depends grass grass-core grass-gui

1 Like