As the title says, I cannot install anything from the Ubuntu Software Centre. After pressing the install button, the progress bar reaches 14% or sometime 100%, but then aborts and the following error messages displays:
Cannot install --application name-- Cannot perform the following tasks:
But no following tasks appear.
I have tried on several different applications with the same result. I have tried different commands for updating the Software Center (see Ubuntu Software Center Not Working? Here Are the Fixes - Make Tech Easier for details).
I found an earlier question that seemed to be about the same problem, but remained unsolved: Cannot install anything from Ubuntu software
I am running Ubuntu 18.04.4 LTS on a Dell XPS 13, updated from 16.04. I am not sure when the problem started, but with 16.04 it definitely worked.
EDIT: This is what I get when using the terminal:
joran@joran-laptop:~$ sudo apt install Matterhorn
[sudo] password for joran:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package Matterhorn
However, I also just tried to use the terminal to install klines, and that did work