For whom who landed here from Google, I have exactly the same problem with OP on Ubuntu 22.04. And the apt install -f doesn't really help which provides me similar errors with dpkg: Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'saga' instead of './saga_8.2.2+dfsg-1_amd64.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some...