Nadia Baig |
Question: sudo apt-get update && sudo apt-get upgrade command is giving error
I get the following error when following command. sudo apt-get update && sudo apt-get upgrade error: Hit:1 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease |
Probably the database got corrupted while installing a package. Reconfiguring often fixes the problem.
Thanks
— Nadia Baig 1989 days ago
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of apparmor:
apparmor depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package apparmor (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-all:
python3-all depends on python3 (= 3.5.1-3); however:
Package python3 is not configured yet.
dpkg: error processing package python3-all (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-jinja2:
python3-jinja2 depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
dpkg: error processing package python3-jinja2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent processing triggers for gnome-menus:
gnome-menus depends on python3:any (>= 3.1~); however:
Package python3 is not configured yet.
dpkg: error processing package gnome-menus (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for ufw:
ufw depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
dpkg: error processing package ufw (--configure):
dependency problems - leaving triggers unprocessed
dpkg: dependency problems prevent processing triggers for gconf2:
gconf2 depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package gconf2 (--configure):
dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
python3
apparmor
python3-all
python3-jinja2
gnome-menus
ufw
gconf2
"first command sudo dpkg --configure -a" is giving me this error.
I guess I have messed up with the default python. Tried to reinstall it but no success.
— Nadia Baig 1989 days ago