Hi, I receive the attached error when trying to run package updater.
Librem 14. PureOS 10 (Byzantium).
Try: sudo apt --fix-broken install
Related:
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
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.
Which particular command worked?
sudo dpkg --purge --force-depends grass grass-core grass-gui