Whenever I try to install a package, a part or the whole series of these error massages keep showing and I am unable to install any package.
dpkg: error processing package gnome-software (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of ubuntu-software:
ubuntu-software depends on gnome-software (>= 3.28.1-0ubuntu4.18.04.8); however:
Package gnome-software is not configured yet.
dpkg: error processing package ubuntu-software (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gnome-software-plugin-snap:
gnome-software-plugin-snap depends on gnome-software (= 3.28.1-0ubuntu4.18.04.8); however:
Package gnome-software is not configured yet.
dpkg: error processing package gnome-software-plugin-snap (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
gnome-software
ubuntu-software
gnome-software-plugin-snap
Also adding any kind of repository results in issues with apt-secure.
Currently I am running LXDE environment on Ubuntu 18.04.
sudo apt -f install
. I suspect you've added non-official sources to your system causing issues that will be visible higher up in report than where you pasted. – guiverc Feb 03 '19 at 12:05apt-cache policy
queries) will show a invalid/non-official source that has invalid (or clashing) package versions; but I can't see what you don't paste. If you examine your logs, the command before your first error is your likely culprit. – guiverc Feb 03 '19 at 12:28