Package mismanagement after removing python3 accidentally in Ubuntu 18.04Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't workApt errors since upgrade to 12.04Unmet Dependencies right after installing VLCdpkg: error processing procps (--configure)Cannot install anything! Unmet dependencies. Libre Officemysql-server-5.5 ErrorDependency errors for python3 and many others when I run sudo apt-get upgrade

How does aggregate routes behave in BGP?

Define macros by using `foreach` of TikZ

Leaving car in Lubbock, Texas for 1 month

Why do electrons tend to be in energy eigenstates?

Meaning of 'off one's brake fluid'

Computationally expensive AI techniques (that are promising)

Is exploit-free software possible?

Why is my Windows 7 recovery folder 53% of my disk

Is there a problem using A LOT of locks in a process?

Absorption of dark matter by black holes

Is it possible to have a healthy work-life balance as a professor?

Allow all users to create files in a directory, but only the owner can delete

Uncooked peppers and garlic in olive oil fizzled when opened

Why does Thorin tell Bilbo that he has "keen eyes"?

Does no-one standing against the speaker of the house in UK lead to the local electorate being disenfranchised?

How to help my son improve without being discouraging?

Is velocity a valid measure of team and process improvement?

Help resolve territory acquisition design difference of opinion in MMO RTS

Was this “caterpillar” strategy a good way to advance my pawns?

Create a program that prints the amount of characters it has, in words

Continents with simplex noise

I've seen it repeated several times now that both Aikido and Hapkido have many thousands of techniques, is it true?

Why does Wonder Woman say "goodbye brother" to Ares?

Alternatives to boxes



Package mismanagement after removing python3 accidentally in Ubuntu 18.04


Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't workApt errors since upgrade to 12.04Unmet Dependencies right after installing VLCdpkg: error processing procps (--configure)Cannot install anything! Unmet dependencies. Libre Officemysql-server-5.5 ErrorDependency errors for python3 and many others when I run sudo apt-get upgrade






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0



















After upgrading to Ubuntu 18.04 LTS I was getting the following error



bash: /usr/bin/python3: No such file or directory
virtualenvwrapper.sh: There was a problem running the initialization hooks.

If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 and that PATH is set properly.


So after searching this problem online I ran the command sudo apt remove python3 which removed most of the thing from my OS like Chrome, GUI etc. I was able to recover my GUI but when I run the command sudo apt upgrade I get the following errors



Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
106 not fully installed or removed.
Need to get 0 B/47.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
No apport report written because the error message indicates it's a follow-up error from a previous failure.
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-lxml:amd64:
python3-lxml:amd64 depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-lxml:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-m2300w:
printer-driver-m2300w depends on python3; however:
Package python3 is not configured yet.

dpkg: error pNo apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached

No apport report written because MaxReports has already been reached
Processing package printer-driver-m2300w (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of usb-creator-gtk:
usb-creator-gtk depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package usb-creator-gtk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-olefile:
python3-olefile depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-olefile (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-web-launchers:
ubuntu-web-launchers depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package ubuntu-web-launchers (--configure):
dependency problems - leaving unconfigured
dpkg: dependNo apport report written because MaxReports has already been reached

No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of libglib2.0-dev-bin:
libglib2.0-dev-bin depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package libglib2.0-dev-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rhythmbox-plugin-zeitgeist:
rhythmbox-plugin-zeitgeist depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package rhythmbox-plugin-zeitgeist (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-brlapi:
python3-brlapi depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-brlapi depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-brlapi depends on python3:any (>= 3.2~); however:
Package python3 is not configured yet.

dpkg: error proNo apport report written because MaxReports has already been reached
Processing package python3-brlapi (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-commandnotfound:
python3-commandnotfound depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-commandnotfound (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-postscript-hp:
printer-driver-postscript-hp depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-postscript-hp (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-numpy:
python3-numpy depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-numpy depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-numpy depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-numpy (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of system-config-printer-common:
system-config-printer-common depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package system-config-printer-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of language-selector-common:
language-selector-common depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package language-selector-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-foo2zjs-common:
printer-driver-foo2zjs-common depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-foo2zjs-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-keyrings.alt:
python3-keyrings.alt depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package python3-keyrings.alt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apt-xapian-index:
apt-xapian-index depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package apt-xapian-index (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of openprinting-ppds:
openprinting-ppds depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package openprinting-ppds (--configure):
dependency problems - leaving unconfigured
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
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-shell:
gnome-shell depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package gnome-shell (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of apport-gtk:
apport-gtk depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package apport-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-aptdaemon.gtk3widgets:
python3-aptdaemon.gtk3widgets depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-aptdaemon.gtk3widgets (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of apturl:
apturl depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
apturl depends on python3-aptdaemon.gtk3widgets; however:
Package python3-aptdaemon.gtk3widgets is not configured yet.

dpkg: error processing package apturl (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-wheel:
python3-wheel depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-wheel (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-gi-cairo:
python3-gi-cairo depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-gi-cairo depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-gi-cairo depends on python3:any (>= 3.3~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-gi-cairo (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of hplip-data:
hplip-data depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package hplip-data (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-bs4:
python3-bs4 depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-bs4 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of lsb-release:
lsb-release depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package lsb-release (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-control-center:
gnome-control-center depends on system-config-printer-common (>= 1.4); however:
Package system-config-printer-common is not configured yet.

dpkg: error processing package gnome-control-center (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of orca:
orca depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
orca depends on python3-brlapi (>= 0.5.1); however:
Package python3-brlapi is not configured yet.

dpkg: error processing package orca (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-terminal:
gnome-terminal depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package gnome-terminal (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of ubuntu-session:
ubuntu-session depends on gnome-shell (>= 3.24.3-0ubuntu2); however:
Package gnome-shell is not configured yet.

dpkg: error processing package ubuntu-session (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-asn1crypto:
python3-asn1crypto depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package python3-asn1crypto (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-blinker:
python3-blinker depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-blinker (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-reportlab:
python3-reportlab depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-reportlab (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-tweaks:
gnome-tweaks depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package gnome-tweaks (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-feedparser:
python3-feedparser depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-feedparser (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-macaroonbakery:
python3-macaroonbakery depends on python3:any (>= 3.5~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-macaroonbakery (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of snapd:
snapd depends on apparmor (>= 2.10.95-0ubuntu2.2); however:
Package apparmor is not configured yet.

dpkg: error processing package snapd (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of printer-driver-pxljr:
printer-driver-pxljr depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-pxljr (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-debconf:
python3-debconf depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-debconf (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-uno:
python3-uno depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
python3-uno depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-uno depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-uno (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of software-properties-gtk:
software-properties-gtk depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
software-properties-gtk depends on python3; however:
Package python3 is not configured yet.
software-properties-gtk depends on python3-aptdaemon.gtk3widgets; however:
Package python3-aptdaemon.gtk3widgets is not configured yet.

dpkg: error processing package software-properties-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-oauthlib:
python3-oauthlib depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.
python3-oauthlib depends on python3-blinker; however:
Package python3-blinker is not configured yet.

dpkg: error processing package python3-oauthlib (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of ubuntu-system-service:
ubuntu-system-service depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package ubuntu-system-service (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-pexpect:
python3-pexpect depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-pexpect (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-systemd:
python3-systemd depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-systemd depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-systemd depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-systemd (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of xdiagnose:
xdiagnose depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package xdiagnose (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of update-notifier:
update-notifier depends on update-notifier-common (= 3.192.1.7); however:
Package update-notifier-common is not configured yet.

dpkg: error processing package update-notifier (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-all:
python3-all depends on python3 (= 3.6.7-1~18.04); however:
Package python3 is not configured yet.

dpkg: error processing package python3-all (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: too many errors, stopping
Errors were encountered while processing:
python3
update-notifier-common
python3-lxml:amd64
printer-driver-m2300w
usb-creator-gtk
python3-olefile
ubuntu-web-launchers
libglib2.0-dev-bin
rhythmbox-plugin-zeitgeist
python3-brlapi
python3-commandnotfound
printer-driver-postscript-hp
python3-numpy
system-config-printer-common
language-selector-common
printer-driver-foo2zjs-common
python3-keyrings.alt
apt-xapian-index
openprinting-ppds
apparmor
gnome-shell
apport-gtk
python3-aptdaemon.gtk3widgets
apturl
python3-wheel
python3-gi-cairo
hplip-data
python3-bs4
lsb-release
gnome-control-center
orca
gnome-terminal
ubuntu-session
python3-asn1crypto
python3-blinker
python3-reportlab
gnome-tweaks
python3-feedparser
python3-macaroonbakery
snapd
printer-driver-pxljr
python3-debconf
python3-uno
software-properties-gtk
python3-oauthlib
ubuntu-system-service
python3-pexpect
python3-systemd
xdiagnose
update-notifier
python3-all
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)


Can somebody help me to overcome this situation?










share|improve this question




























  • Possible duplicate of Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't work

    – karel
    Sep 28 at 6:38

















0



















After upgrading to Ubuntu 18.04 LTS I was getting the following error



bash: /usr/bin/python3: No such file or directory
virtualenvwrapper.sh: There was a problem running the initialization hooks.

If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 and that PATH is set properly.


So after searching this problem online I ran the command sudo apt remove python3 which removed most of the thing from my OS like Chrome, GUI etc. I was able to recover my GUI but when I run the command sudo apt upgrade I get the following errors



Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
106 not fully installed or removed.
Need to get 0 B/47.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
No apport report written because the error message indicates it's a follow-up error from a previous failure.
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-lxml:amd64:
python3-lxml:amd64 depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-lxml:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-m2300w:
printer-driver-m2300w depends on python3; however:
Package python3 is not configured yet.

dpkg: error pNo apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached

No apport report written because MaxReports has already been reached
Processing package printer-driver-m2300w (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of usb-creator-gtk:
usb-creator-gtk depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package usb-creator-gtk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-olefile:
python3-olefile depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-olefile (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-web-launchers:
ubuntu-web-launchers depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package ubuntu-web-launchers (--configure):
dependency problems - leaving unconfigured
dpkg: dependNo apport report written because MaxReports has already been reached

No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of libglib2.0-dev-bin:
libglib2.0-dev-bin depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package libglib2.0-dev-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rhythmbox-plugin-zeitgeist:
rhythmbox-plugin-zeitgeist depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package rhythmbox-plugin-zeitgeist (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-brlapi:
python3-brlapi depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-brlapi depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-brlapi depends on python3:any (>= 3.2~); however:
Package python3 is not configured yet.

dpkg: error proNo apport report written because MaxReports has already been reached
Processing package python3-brlapi (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-commandnotfound:
python3-commandnotfound depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-commandnotfound (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-postscript-hp:
printer-driver-postscript-hp depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-postscript-hp (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-numpy:
python3-numpy depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-numpy depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-numpy depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-numpy (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of system-config-printer-common:
system-config-printer-common depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package system-config-printer-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of language-selector-common:
language-selector-common depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package language-selector-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-foo2zjs-common:
printer-driver-foo2zjs-common depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-foo2zjs-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-keyrings.alt:
python3-keyrings.alt depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package python3-keyrings.alt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apt-xapian-index:
apt-xapian-index depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package apt-xapian-index (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of openprinting-ppds:
openprinting-ppds depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package openprinting-ppds (--configure):
dependency problems - leaving unconfigured
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
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-shell:
gnome-shell depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package gnome-shell (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of apport-gtk:
apport-gtk depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package apport-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-aptdaemon.gtk3widgets:
python3-aptdaemon.gtk3widgets depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-aptdaemon.gtk3widgets (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of apturl:
apturl depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
apturl depends on python3-aptdaemon.gtk3widgets; however:
Package python3-aptdaemon.gtk3widgets is not configured yet.

dpkg: error processing package apturl (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-wheel:
python3-wheel depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-wheel (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-gi-cairo:
python3-gi-cairo depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-gi-cairo depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-gi-cairo depends on python3:any (>= 3.3~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-gi-cairo (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of hplip-data:
hplip-data depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package hplip-data (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-bs4:
python3-bs4 depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-bs4 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of lsb-release:
lsb-release depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package lsb-release (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-control-center:
gnome-control-center depends on system-config-printer-common (>= 1.4); however:
Package system-config-printer-common is not configured yet.

dpkg: error processing package gnome-control-center (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of orca:
orca depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
orca depends on python3-brlapi (>= 0.5.1); however:
Package python3-brlapi is not configured yet.

dpkg: error processing package orca (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-terminal:
gnome-terminal depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package gnome-terminal (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of ubuntu-session:
ubuntu-session depends on gnome-shell (>= 3.24.3-0ubuntu2); however:
Package gnome-shell is not configured yet.

dpkg: error processing package ubuntu-session (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-asn1crypto:
python3-asn1crypto depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package python3-asn1crypto (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-blinker:
python3-blinker depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-blinker (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-reportlab:
python3-reportlab depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-reportlab (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-tweaks:
gnome-tweaks depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package gnome-tweaks (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-feedparser:
python3-feedparser depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-feedparser (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-macaroonbakery:
python3-macaroonbakery depends on python3:any (>= 3.5~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-macaroonbakery (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of snapd:
snapd depends on apparmor (>= 2.10.95-0ubuntu2.2); however:
Package apparmor is not configured yet.

dpkg: error processing package snapd (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of printer-driver-pxljr:
printer-driver-pxljr depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-pxljr (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-debconf:
python3-debconf depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-debconf (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-uno:
python3-uno depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
python3-uno depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-uno depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-uno (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of software-properties-gtk:
software-properties-gtk depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
software-properties-gtk depends on python3; however:
Package python3 is not configured yet.
software-properties-gtk depends on python3-aptdaemon.gtk3widgets; however:
Package python3-aptdaemon.gtk3widgets is not configured yet.

dpkg: error processing package software-properties-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-oauthlib:
python3-oauthlib depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.
python3-oauthlib depends on python3-blinker; however:
Package python3-blinker is not configured yet.

dpkg: error processing package python3-oauthlib (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of ubuntu-system-service:
ubuntu-system-service depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package ubuntu-system-service (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-pexpect:
python3-pexpect depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-pexpect (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-systemd:
python3-systemd depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-systemd depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-systemd depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-systemd (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of xdiagnose:
xdiagnose depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package xdiagnose (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of update-notifier:
update-notifier depends on update-notifier-common (= 3.192.1.7); however:
Package update-notifier-common is not configured yet.

dpkg: error processing package update-notifier (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-all:
python3-all depends on python3 (= 3.6.7-1~18.04); however:
Package python3 is not configured yet.

dpkg: error processing package python3-all (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: too many errors, stopping
Errors were encountered while processing:
python3
update-notifier-common
python3-lxml:amd64
printer-driver-m2300w
usb-creator-gtk
python3-olefile
ubuntu-web-launchers
libglib2.0-dev-bin
rhythmbox-plugin-zeitgeist
python3-brlapi
python3-commandnotfound
printer-driver-postscript-hp
python3-numpy
system-config-printer-common
language-selector-common
printer-driver-foo2zjs-common
python3-keyrings.alt
apt-xapian-index
openprinting-ppds
apparmor
gnome-shell
apport-gtk
python3-aptdaemon.gtk3widgets
apturl
python3-wheel
python3-gi-cairo
hplip-data
python3-bs4
lsb-release
gnome-control-center
orca
gnome-terminal
ubuntu-session
python3-asn1crypto
python3-blinker
python3-reportlab
gnome-tweaks
python3-feedparser
python3-macaroonbakery
snapd
printer-driver-pxljr
python3-debconf
python3-uno
software-properties-gtk
python3-oauthlib
ubuntu-system-service
python3-pexpect
python3-systemd
xdiagnose
update-notifier
python3-all
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)


Can somebody help me to overcome this situation?










share|improve this question




























  • Possible duplicate of Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't work

    – karel
    Sep 28 at 6:38













0












0








0


0








After upgrading to Ubuntu 18.04 LTS I was getting the following error



bash: /usr/bin/python3: No such file or directory
virtualenvwrapper.sh: There was a problem running the initialization hooks.

If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 and that PATH is set properly.


So after searching this problem online I ran the command sudo apt remove python3 which removed most of the thing from my OS like Chrome, GUI etc. I was able to recover my GUI but when I run the command sudo apt upgrade I get the following errors



Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
106 not fully installed or removed.
Need to get 0 B/47.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
No apport report written because the error message indicates it's a follow-up error from a previous failure.
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-lxml:amd64:
python3-lxml:amd64 depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-lxml:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-m2300w:
printer-driver-m2300w depends on python3; however:
Package python3 is not configured yet.

dpkg: error pNo apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached

No apport report written because MaxReports has already been reached
Processing package printer-driver-m2300w (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of usb-creator-gtk:
usb-creator-gtk depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package usb-creator-gtk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-olefile:
python3-olefile depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-olefile (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-web-launchers:
ubuntu-web-launchers depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package ubuntu-web-launchers (--configure):
dependency problems - leaving unconfigured
dpkg: dependNo apport report written because MaxReports has already been reached

No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of libglib2.0-dev-bin:
libglib2.0-dev-bin depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package libglib2.0-dev-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rhythmbox-plugin-zeitgeist:
rhythmbox-plugin-zeitgeist depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package rhythmbox-plugin-zeitgeist (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-brlapi:
python3-brlapi depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-brlapi depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-brlapi depends on python3:any (>= 3.2~); however:
Package python3 is not configured yet.

dpkg: error proNo apport report written because MaxReports has already been reached
Processing package python3-brlapi (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-commandnotfound:
python3-commandnotfound depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-commandnotfound (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-postscript-hp:
printer-driver-postscript-hp depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-postscript-hp (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-numpy:
python3-numpy depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-numpy depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-numpy depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-numpy (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of system-config-printer-common:
system-config-printer-common depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package system-config-printer-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of language-selector-common:
language-selector-common depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package language-selector-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-foo2zjs-common:
printer-driver-foo2zjs-common depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-foo2zjs-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-keyrings.alt:
python3-keyrings.alt depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package python3-keyrings.alt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apt-xapian-index:
apt-xapian-index depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package apt-xapian-index (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of openprinting-ppds:
openprinting-ppds depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package openprinting-ppds (--configure):
dependency problems - leaving unconfigured
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
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-shell:
gnome-shell depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package gnome-shell (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of apport-gtk:
apport-gtk depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package apport-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-aptdaemon.gtk3widgets:
python3-aptdaemon.gtk3widgets depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-aptdaemon.gtk3widgets (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of apturl:
apturl depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
apturl depends on python3-aptdaemon.gtk3widgets; however:
Package python3-aptdaemon.gtk3widgets is not configured yet.

dpkg: error processing package apturl (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-wheel:
python3-wheel depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-wheel (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-gi-cairo:
python3-gi-cairo depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-gi-cairo depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-gi-cairo depends on python3:any (>= 3.3~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-gi-cairo (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of hplip-data:
hplip-data depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package hplip-data (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-bs4:
python3-bs4 depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-bs4 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of lsb-release:
lsb-release depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package lsb-release (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-control-center:
gnome-control-center depends on system-config-printer-common (>= 1.4); however:
Package system-config-printer-common is not configured yet.

dpkg: error processing package gnome-control-center (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of orca:
orca depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
orca depends on python3-brlapi (>= 0.5.1); however:
Package python3-brlapi is not configured yet.

dpkg: error processing package orca (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-terminal:
gnome-terminal depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package gnome-terminal (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of ubuntu-session:
ubuntu-session depends on gnome-shell (>= 3.24.3-0ubuntu2); however:
Package gnome-shell is not configured yet.

dpkg: error processing package ubuntu-session (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-asn1crypto:
python3-asn1crypto depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package python3-asn1crypto (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-blinker:
python3-blinker depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-blinker (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-reportlab:
python3-reportlab depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-reportlab (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-tweaks:
gnome-tweaks depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package gnome-tweaks (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-feedparser:
python3-feedparser depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-feedparser (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-macaroonbakery:
python3-macaroonbakery depends on python3:any (>= 3.5~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-macaroonbakery (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of snapd:
snapd depends on apparmor (>= 2.10.95-0ubuntu2.2); however:
Package apparmor is not configured yet.

dpkg: error processing package snapd (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of printer-driver-pxljr:
printer-driver-pxljr depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-pxljr (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-debconf:
python3-debconf depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-debconf (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-uno:
python3-uno depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
python3-uno depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-uno depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-uno (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of software-properties-gtk:
software-properties-gtk depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
software-properties-gtk depends on python3; however:
Package python3 is not configured yet.
software-properties-gtk depends on python3-aptdaemon.gtk3widgets; however:
Package python3-aptdaemon.gtk3widgets is not configured yet.

dpkg: error processing package software-properties-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-oauthlib:
python3-oauthlib depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.
python3-oauthlib depends on python3-blinker; however:
Package python3-blinker is not configured yet.

dpkg: error processing package python3-oauthlib (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of ubuntu-system-service:
ubuntu-system-service depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package ubuntu-system-service (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-pexpect:
python3-pexpect depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-pexpect (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-systemd:
python3-systemd depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-systemd depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-systemd depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-systemd (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of xdiagnose:
xdiagnose depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package xdiagnose (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of update-notifier:
update-notifier depends on update-notifier-common (= 3.192.1.7); however:
Package update-notifier-common is not configured yet.

dpkg: error processing package update-notifier (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-all:
python3-all depends on python3 (= 3.6.7-1~18.04); however:
Package python3 is not configured yet.

dpkg: error processing package python3-all (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: too many errors, stopping
Errors were encountered while processing:
python3
update-notifier-common
python3-lxml:amd64
printer-driver-m2300w
usb-creator-gtk
python3-olefile
ubuntu-web-launchers
libglib2.0-dev-bin
rhythmbox-plugin-zeitgeist
python3-brlapi
python3-commandnotfound
printer-driver-postscript-hp
python3-numpy
system-config-printer-common
language-selector-common
printer-driver-foo2zjs-common
python3-keyrings.alt
apt-xapian-index
openprinting-ppds
apparmor
gnome-shell
apport-gtk
python3-aptdaemon.gtk3widgets
apturl
python3-wheel
python3-gi-cairo
hplip-data
python3-bs4
lsb-release
gnome-control-center
orca
gnome-terminal
ubuntu-session
python3-asn1crypto
python3-blinker
python3-reportlab
gnome-tweaks
python3-feedparser
python3-macaroonbakery
snapd
printer-driver-pxljr
python3-debconf
python3-uno
software-properties-gtk
python3-oauthlib
ubuntu-system-service
python3-pexpect
python3-systemd
xdiagnose
update-notifier
python3-all
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)


Can somebody help me to overcome this situation?










share|improve this question



















After upgrading to Ubuntu 18.04 LTS I was getting the following error



bash: /usr/bin/python3: No such file or directory
virtualenvwrapper.sh: There was a problem running the initialization hooks.

If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 and that PATH is set properly.


So after searching this problem online I ran the command sudo apt remove python3 which removed most of the thing from my OS like Chrome, GUI etc. I was able to recover my GUI but when I run the command sudo apt upgrade I get the following errors



Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
106 not fully installed or removed.
Need to get 0 B/47.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing package python3 (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
No apport report written because the error message indicates it's a follow-up error from a previous failure.
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python3:any; however:
Package python3 is not configured yet.

dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-lxml:amd64:
python3-lxml:amd64 depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-lxml:amd64 depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-lxml:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-m2300w:
printer-driver-m2300w depends on python3; however:
Package python3 is not configured yet.

dpkg: error pNo apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached

No apport report written because MaxReports has already been reached
Processing package printer-driver-m2300w (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of usb-creator-gtk:
usb-creator-gtk depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package usb-creator-gtk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-olefile:
python3-olefile depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-olefile (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-web-launchers:
ubuntu-web-launchers depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package ubuntu-web-launchers (--configure):
dependency problems - leaving unconfigured
dpkg: dependNo apport report written because MaxReports has already been reached

No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of libglib2.0-dev-bin:
libglib2.0-dev-bin depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package libglib2.0-dev-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of rhythmbox-plugin-zeitgeist:
rhythmbox-plugin-zeitgeist depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package rhythmbox-plugin-zeitgeist (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-brlapi:
python3-brlapi depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-brlapi depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-brlapi depends on python3:any (>= 3.2~); however:
Package python3 is not configured yet.

dpkg: error proNo apport report written because MaxReports has already been reached
Processing package python3-brlapi (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-commandnotfound:
python3-commandnotfound depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-commandnotfound (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-postscript-hp:
printer-driver-postscript-hp depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-postscript-hp (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-numpy:
python3-numpy depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-numpy depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-numpy depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-numpy (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of system-config-printer-common:
system-config-printer-common depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package system-config-printer-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of language-selector-common:
language-selector-common depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package language-selector-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of printer-driver-foo2zjs-common:
printer-driver-foo2zjs-common depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-foo2zjs-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-keyrings.alt:
python3-keyrings.alt depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package python3-keyrings.alt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apt-xapian-index:
apt-xapian-index depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package apt-xapian-index (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of openprinting-ppds:
openprinting-ppds depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package openprinting-ppds (--configure):
dependency problems - leaving unconfigured
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
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-shell:
gnome-shell depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package gnome-shell (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of apport-gtk:
apport-gtk depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package apport-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-aptdaemon.gtk3widgets:
python3-aptdaemon.gtk3widgets depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-aptdaemon.gtk3widgets (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of apturl:
apturl depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
apturl depends on python3-aptdaemon.gtk3widgets; however:
Package python3-aptdaemon.gtk3widgets is not configured yet.

dpkg: error processing package apturl (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-wheel:
python3-wheel depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-wheel (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-gi-cairo:
python3-gi-cairo depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-gi-cairo depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-gi-cairo depends on python3:any (>= 3.3~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-gi-cairo (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of hplip-data:
hplip-data depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package hplip-data (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-bs4:
python3-bs4 depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-bs4 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of lsb-release:
lsb-release depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.

dpkg: error processing package lsb-release (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-control-center:
gnome-control-center depends on system-config-printer-common (>= 1.4); however:
Package system-config-printer-common is not configured yet.

dpkg: error processing package gnome-control-center (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of orca:
orca depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
orca depends on python3-brlapi (>= 0.5.1); however:
Package python3-brlapi is not configured yet.

dpkg: error processing package orca (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-terminal:
gnome-terminal depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package gnome-terminal (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of ubuntu-session:
ubuntu-session depends on gnome-shell (>= 3.24.3-0ubuntu2); however:
Package gnome-shell is not configured yet.

dpkg: error processing package ubuntu-session (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-asn1crypto:
python3-asn1crypto depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
dpkg: error processing package python3-asn1crypto (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-blinker:
python3-blinker depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-blinker (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-reportlab:
python3-reportlab depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-reportlab (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of gnome-tweaks:
gnome-tweaks depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package gnome-tweaks (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-feedparser:
python3-feedparser depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-feedparser (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-macaroonbakery:
python3-macaroonbakery depends on python3:any (>= 3.5~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-macaroonbakery (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of snapd:
snapd depends on apparmor (>= 2.10.95-0ubuntu2.2); however:
Package apparmor is not configured yet.

dpkg: error processing package snapd (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of printer-driver-pxljr:
printer-driver-pxljr depends on python3; however:
Package python3 is not configured yet.

dpkg: error processing package printer-driver-pxljr (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-debconf:
python3-debconf depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-debconf (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-uno:
python3-uno depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
python3-uno depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-uno depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-uno (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of software-properties-gtk:
software-properties-gtk depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.
software-properties-gtk depends on python3; however:
Package python3 is not configured yet.
software-properties-gtk depends on python3-aptdaemon.gtk3widgets; however:
Package python3-aptdaemon.gtk3widgets is not configured yet.

dpkg: error processing package software-properties-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-oauthlib:
python3-oauthlib depends on python3:any (>= 3.4~); however:
Package python3 is not configured yet.
python3-oauthlib depends on python3-blinker; however:
Package python3-blinker is not configured yet.

dpkg: error processing package python3-oauthlib (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of ubuntu-system-service:
ubuntu-system-service depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package ubuntu-system-service (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-pexpect:
python3-pexpect depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-pexpect (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-systemd:
python3-systemd depends on python3 (<< 3.7); however:
Package python3 is not configured yet.
python3-systemd depends on python3 (>= 3.6~); however:
Package python3 is not configured yet.
python3-systemd depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package python3-systemd (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of xdiagnose:
xdiagnose depends on python3:any (>= 3.3.2-2~); however:
Package python3 is not configured yet.

dpkg: error processing package xdiagnose (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of update-notifier:
update-notifier depends on update-notifier-common (= 3.192.1.7); however:
Package update-notifier-common is not configured yet.

dpkg: error processing package update-notifier (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: dependency problems prevent configuration of python3-all:
python3-all depends on python3 (= 3.6.7-1~18.04); however:
Package python3 is not configured yet.

dpkg: error processing package python3-all (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached

dpkg: too many errors, stopping
Errors were encountered while processing:
python3
update-notifier-common
python3-lxml:amd64
printer-driver-m2300w
usb-creator-gtk
python3-olefile
ubuntu-web-launchers
libglib2.0-dev-bin
rhythmbox-plugin-zeitgeist
python3-brlapi
python3-commandnotfound
printer-driver-postscript-hp
python3-numpy
system-config-printer-common
language-selector-common
printer-driver-foo2zjs-common
python3-keyrings.alt
apt-xapian-index
openprinting-ppds
apparmor
gnome-shell
apport-gtk
python3-aptdaemon.gtk3widgets
apturl
python3-wheel
python3-gi-cairo
hplip-data
python3-bs4
lsb-release
gnome-control-center
orca
gnome-terminal
ubuntu-session
python3-asn1crypto
python3-blinker
python3-reportlab
gnome-tweaks
python3-feedparser
python3-macaroonbakery
snapd
printer-driver-pxljr
python3-debconf
python3-uno
software-properties-gtk
python3-oauthlib
ubuntu-system-service
python3-pexpect
python3-systemd
xdiagnose
update-notifier
python3-all
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)


Can somebody help me to overcome this situation?







apt 18.04 dpkg






share|improve this question
















share|improve this question













share|improve this question




share|improve this question








edited Jun 11 at 17:01









Kulfy

8,33411 gold badges33 silver badges60 bronze badges




8,33411 gold badges33 silver badges60 bronze badges










asked Jun 11 at 16:41









Naman JainNaman Jain

55 bronze badges




55 bronze badges















  • Possible duplicate of Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't work

    – karel
    Sep 28 at 6:38

















  • Possible duplicate of Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't work

    – karel
    Sep 28 at 6:38
















Possible duplicate of Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't work

– karel
Sep 28 at 6:38





Possible duplicate of Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't work

– karel
Sep 28 at 6:38










1 Answer
1






active

oldest

votes


















1


















Your last command's output stated clearly 106 not fully installed or removed. This should be fixed by issuing the following command in a terminal:



sudo apt-get install --fix-missing


If this doesn't resolve the situation do the following:



sudo dpkg --configure -a
sudo apt-get update
sudo apt-get dist-upgrade





share|improve this answer



























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1150345%2fpackage-mismanagement-after-removing-python3-accidentally-in-ubuntu-18-04%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1


















    Your last command's output stated clearly 106 not fully installed or removed. This should be fixed by issuing the following command in a terminal:



    sudo apt-get install --fix-missing


    If this doesn't resolve the situation do the following:



    sudo dpkg --configure -a
    sudo apt-get update
    sudo apt-get dist-upgrade





    share|improve this answer






























      1


















      Your last command's output stated clearly 106 not fully installed or removed. This should be fixed by issuing the following command in a terminal:



      sudo apt-get install --fix-missing


      If this doesn't resolve the situation do the following:



      sudo dpkg --configure -a
      sudo apt-get update
      sudo apt-get dist-upgrade





      share|improve this answer




























        1














        1










        1









        Your last command's output stated clearly 106 not fully installed or removed. This should be fixed by issuing the following command in a terminal:



        sudo apt-get install --fix-missing


        If this doesn't resolve the situation do the following:



        sudo dpkg --configure -a
        sudo apt-get update
        sudo apt-get dist-upgrade





        share|improve this answer














        Your last command's output stated clearly 106 not fully installed or removed. This should be fixed by issuing the following command in a terminal:



        sudo apt-get install --fix-missing


        If this doesn't resolve the situation do the following:



        sudo dpkg --configure -a
        sudo apt-get update
        sudo apt-get dist-upgrade






        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Jun 11 at 18:15









        mgwmgw

        266 bronze badges




        266 bronze badges































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1150345%2fpackage-mismanagement-after-removing-python3-accidentally-in-ubuntu-18-04%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown









            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?