I'm getting the above error when I try and update my system.
I have tried to sudo dpkg --configure -a
as well as sudo apt install -f gimp
, sudo apt remove gimp
and sudo apt purge gimp
. I even tried to do the recommended sudo apt --fix-broken install
via Recovery to no avail.
Due to being super frustrated and after some searching, I even tried to sudo mv /var/lib/dpkg/info/polar-bookshelf.* /tmp
but I'm still seeing no joy in getting this fixed. Can someone suggest a solution please?
In terminal type
sudo gedit /var/lib/dpkg/info/gimp.postinst
Then find
set -e
and replace it with# set -e
, save and close.Then type
sudo apt-get -f install
Before
sudo apt update
And finally
sudo apt upgrade
The issue should be fixed.
The cause of this error is: