Terminal not opening and unable to run apt-get commands in Ubuntu 16.04. Python related error
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I accidentally deleted python3 from ubuntu and now my terminal is not opening. I tried to update using sudo apt-get update
and this the error I am getting. I tried all related solutions from the web and nothing seems to work. Can anyone help me with it? FYI I still got python 2.7.12 installed
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3-dateutil (2.4.2-1) ...
/var/lib/dpkg/info/python3-dateutil.postinst: 6:
/var/lib/dpkg/info/python3-dateutil.postinst: py3compile: not found
dpkg: error processing package python3-dateutil (--configure):
subprocess installed post-installation script returned error exit
status 127
Setting up python3-roman (2.0.0-2) ...
/var/lib/dpkg/info/python3-roman.postinst: 6:
/var/lib/dpkg/info/python3-roman.postinst: py3compile: not found
dpkg: error processing package python3-roman (--configure):
subprocess installed post-installation script returned error exit
status 127
dpkg: dependency problems prevent configuration of python3-docutils:
python3-docutils depends on python3-roman; however:
Package python3-roman is not configured yet.
dpkg: error processing package python3-docutils (--configure):
dependency problems - leaving unconfigured
Setting up python3-jmespath (0.9.0-2) ...
No apport report written because the error message indicates its a
followup error from a previous failure.
/var/lib/dpkg/info/python3-jmespath.postinst: 6:
/var/lib/dpkg/info/python3-jmespath.postinst: py3compile: not found
dpkg: error processing package python3-jmespath (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
dpkg:
dependency problems prevent configuration of python3-botocore:
python3-botocore depends on python3-dateutil; however:
Package python3-dateutil is not configured yet.
python3-botocore depends on python3-docutils; however:
Package python3-docutils is not configured yet.
python3-botocore depends on python3-jmespath; however:
Package python3-jmespath is not configured yet.
dpkg: error processing package python3-botocore (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up
python3-colorama (0.3.7-1) ...
/var/lib/dpkg/info/python3-colorama.postinst: 6:
/var/lib/dpkg/info/python3-colorama.postinst: py3compile: not found
dpkg: error processing package python3-colorama (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
Setting up
python3-pygments (2.1+dfsg-1) ...
/var/lib/dpkg/info/python3-pygments.postinst: 6:
/var/lib/dpkg/info/python3-pygments.postinst: py3compile: not found
dpkg: error processing package python3-pygments (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
Setting up
python3-rsa (3.2.3-1.1) ...
/var/lib/dpkg/info/python3-rsa.postinst: 6: /var/lib/dpkg/info/python3-rsa.postinst: py3compile: not found
dpkg: error processing package python3-rsa (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-s3transfer:
python3-s3transfer depends on python3-botocore; however:
Package python3-botocore is not configured yet.
dpkg: error processing package python3-s3transfer (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
python3-dateutil
python3-roman
python3-docutils
python3-jmespath
python3-botocore
python3-colorama
python3-pygments
python3-rsa
python3-s3transfer
E: Sub-process /usr/bin/dpkg returned an error code (1)
dev (lifecycle-management) lambdas $ sudo apt-get --reinstall install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of python3 is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python3-dateutil (2.4.2-1) ...
/var/lib/dpkg/info/python3-dateutil.postinst: 6: /var/lib/dpkg/info/python3-dateutil.postinst: py3compile: not found
dpkg: error processing package python3-dateutil (--configure):
subprocess installed post-installation script returned error exit status 127
Setting up python3-roman (2.0.0-2) ...
/var/lib/dpkg/info/python3-roman.postinst: 6: /var/lib/dpkg/info/python3-roman.postinst: py3compile: not found
dpkg: error processing package python3-roman (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of python3-docutils:
python3-docutils depends on python3-roman; however:
Package python3-roman is not configured yet.
dpkg: error processing package python3-docutils (--configure):
dependency problems - leaving unconfigured
Setting up python3-jmespath (0.9.0-2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
/var/lib/dpkg/info/python3-jmespath.postinst: 6: /var/lib/dpkg/info/python3-jmespath.postinst: py3compile: not found
dpkg: error processing package python3-jmespath (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-botocore:
python3-botocore depends on python3-dateutil; however:
Package python3-dateutil is not configured yet.
python3-botocore depends on python3-docutils; however:
Package python3-docutils is not configured yet.
python3-botocore depends on python3-jmespath; however:
Package python3-jmespath is not configured yet.
dpkg: error processing package python3-botocore (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up python3-colorama (0.3.7-1) ...
/var/lib/dpkg/info/python3-colorama.postinst: 6: /var/lib/dpkg/info/python3-colorama.postinst: py3compile: not found
dpkg: error processing package python3-colorama (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Setting up python3-pygments (2.1+dfsg-1) ...
/var/lib/dpkg/info/python3-pygments.postinst: 6: /var/lib/dpkg/info/python3-pygments.postinst: py3compile: not found
dpkg: error processing package python3-pygments (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Setting up python3-rsa (3.2.3-1.1) ...
/var/lib/dpkg/info/python3-rsa.postinst: 6: /var/lib/dpkg/info/python3-rsa.postinst: py3compile: not found
dpkg: error processing package python3-rsa (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-s3transfer:
python3-s3transfer depends on python3-botocore; however:
Package python3-botocore is not configured yet.
16.04 command-line apt python
add a comment |Â
up vote
0
down vote
favorite
I accidentally deleted python3 from ubuntu and now my terminal is not opening. I tried to update using sudo apt-get update
and this the error I am getting. I tried all related solutions from the web and nothing seems to work. Can anyone help me with it? FYI I still got python 2.7.12 installed
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3-dateutil (2.4.2-1) ...
/var/lib/dpkg/info/python3-dateutil.postinst: 6:
/var/lib/dpkg/info/python3-dateutil.postinst: py3compile: not found
dpkg: error processing package python3-dateutil (--configure):
subprocess installed post-installation script returned error exit
status 127
Setting up python3-roman (2.0.0-2) ...
/var/lib/dpkg/info/python3-roman.postinst: 6:
/var/lib/dpkg/info/python3-roman.postinst: py3compile: not found
dpkg: error processing package python3-roman (--configure):
subprocess installed post-installation script returned error exit
status 127
dpkg: dependency problems prevent configuration of python3-docutils:
python3-docutils depends on python3-roman; however:
Package python3-roman is not configured yet.
dpkg: error processing package python3-docutils (--configure):
dependency problems - leaving unconfigured
Setting up python3-jmespath (0.9.0-2) ...
No apport report written because the error message indicates its a
followup error from a previous failure.
/var/lib/dpkg/info/python3-jmespath.postinst: 6:
/var/lib/dpkg/info/python3-jmespath.postinst: py3compile: not found
dpkg: error processing package python3-jmespath (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
dpkg:
dependency problems prevent configuration of python3-botocore:
python3-botocore depends on python3-dateutil; however:
Package python3-dateutil is not configured yet.
python3-botocore depends on python3-docutils; however:
Package python3-docutils is not configured yet.
python3-botocore depends on python3-jmespath; however:
Package python3-jmespath is not configured yet.
dpkg: error processing package python3-botocore (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up
python3-colorama (0.3.7-1) ...
/var/lib/dpkg/info/python3-colorama.postinst: 6:
/var/lib/dpkg/info/python3-colorama.postinst: py3compile: not found
dpkg: error processing package python3-colorama (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
Setting up
python3-pygments (2.1+dfsg-1) ...
/var/lib/dpkg/info/python3-pygments.postinst: 6:
/var/lib/dpkg/info/python3-pygments.postinst: py3compile: not found
dpkg: error processing package python3-pygments (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
Setting up
python3-rsa (3.2.3-1.1) ...
/var/lib/dpkg/info/python3-rsa.postinst: 6: /var/lib/dpkg/info/python3-rsa.postinst: py3compile: not found
dpkg: error processing package python3-rsa (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-s3transfer:
python3-s3transfer depends on python3-botocore; however:
Package python3-botocore is not configured yet.
dpkg: error processing package python3-s3transfer (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
python3-dateutil
python3-roman
python3-docutils
python3-jmespath
python3-botocore
python3-colorama
python3-pygments
python3-rsa
python3-s3transfer
E: Sub-process /usr/bin/dpkg returned an error code (1)
dev (lifecycle-management) lambdas $ sudo apt-get --reinstall install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of python3 is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python3-dateutil (2.4.2-1) ...
/var/lib/dpkg/info/python3-dateutil.postinst: 6: /var/lib/dpkg/info/python3-dateutil.postinst: py3compile: not found
dpkg: error processing package python3-dateutil (--configure):
subprocess installed post-installation script returned error exit status 127
Setting up python3-roman (2.0.0-2) ...
/var/lib/dpkg/info/python3-roman.postinst: 6: /var/lib/dpkg/info/python3-roman.postinst: py3compile: not found
dpkg: error processing package python3-roman (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of python3-docutils:
python3-docutils depends on python3-roman; however:
Package python3-roman is not configured yet.
dpkg: error processing package python3-docutils (--configure):
dependency problems - leaving unconfigured
Setting up python3-jmespath (0.9.0-2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
/var/lib/dpkg/info/python3-jmespath.postinst: 6: /var/lib/dpkg/info/python3-jmespath.postinst: py3compile: not found
dpkg: error processing package python3-jmespath (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-botocore:
python3-botocore depends on python3-dateutil; however:
Package python3-dateutil is not configured yet.
python3-botocore depends on python3-docutils; however:
Package python3-docutils is not configured yet.
python3-botocore depends on python3-jmespath; however:
Package python3-jmespath is not configured yet.
dpkg: error processing package python3-botocore (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up python3-colorama (0.3.7-1) ...
/var/lib/dpkg/info/python3-colorama.postinst: 6: /var/lib/dpkg/info/python3-colorama.postinst: py3compile: not found
dpkg: error processing package python3-colorama (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Setting up python3-pygments (2.1+dfsg-1) ...
/var/lib/dpkg/info/python3-pygments.postinst: 6: /var/lib/dpkg/info/python3-pygments.postinst: py3compile: not found
dpkg: error processing package python3-pygments (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Setting up python3-rsa (3.2.3-1.1) ...
/var/lib/dpkg/info/python3-rsa.postinst: 6: /var/lib/dpkg/info/python3-rsa.postinst: py3compile: not found
dpkg: error processing package python3-rsa (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-s3transfer:
python3-s3transfer depends on python3-botocore; however:
Package python3-botocore is not configured yet.
16.04 command-line apt python
How did you runsudo apt-get update
without a terminal?
â Melebius
May 10 at 13:31
Good thing you keep a good backup. It will always save you from impulsive acts like this.
â SDsolar
May 10 at 17:31
1
@melebius I ran that command from my IDE terminal
â lazycoder18
May 11 at 3:14
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I accidentally deleted python3 from ubuntu and now my terminal is not opening. I tried to update using sudo apt-get update
and this the error I am getting. I tried all related solutions from the web and nothing seems to work. Can anyone help me with it? FYI I still got python 2.7.12 installed
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3-dateutil (2.4.2-1) ...
/var/lib/dpkg/info/python3-dateutil.postinst: 6:
/var/lib/dpkg/info/python3-dateutil.postinst: py3compile: not found
dpkg: error processing package python3-dateutil (--configure):
subprocess installed post-installation script returned error exit
status 127
Setting up python3-roman (2.0.0-2) ...
/var/lib/dpkg/info/python3-roman.postinst: 6:
/var/lib/dpkg/info/python3-roman.postinst: py3compile: not found
dpkg: error processing package python3-roman (--configure):
subprocess installed post-installation script returned error exit
status 127
dpkg: dependency problems prevent configuration of python3-docutils:
python3-docutils depends on python3-roman; however:
Package python3-roman is not configured yet.
dpkg: error processing package python3-docutils (--configure):
dependency problems - leaving unconfigured
Setting up python3-jmespath (0.9.0-2) ...
No apport report written because the error message indicates its a
followup error from a previous failure.
/var/lib/dpkg/info/python3-jmespath.postinst: 6:
/var/lib/dpkg/info/python3-jmespath.postinst: py3compile: not found
dpkg: error processing package python3-jmespath (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
dpkg:
dependency problems prevent configuration of python3-botocore:
python3-botocore depends on python3-dateutil; however:
Package python3-dateutil is not configured yet.
python3-botocore depends on python3-docutils; however:
Package python3-docutils is not configured yet.
python3-botocore depends on python3-jmespath; however:
Package python3-jmespath is not configured yet.
dpkg: error processing package python3-botocore (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up
python3-colorama (0.3.7-1) ...
/var/lib/dpkg/info/python3-colorama.postinst: 6:
/var/lib/dpkg/info/python3-colorama.postinst: py3compile: not found
dpkg: error processing package python3-colorama (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
Setting up
python3-pygments (2.1+dfsg-1) ...
/var/lib/dpkg/info/python3-pygments.postinst: 6:
/var/lib/dpkg/info/python3-pygments.postinst: py3compile: not found
dpkg: error processing package python3-pygments (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
Setting up
python3-rsa (3.2.3-1.1) ...
/var/lib/dpkg/info/python3-rsa.postinst: 6: /var/lib/dpkg/info/python3-rsa.postinst: py3compile: not found
dpkg: error processing package python3-rsa (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-s3transfer:
python3-s3transfer depends on python3-botocore; however:
Package python3-botocore is not configured yet.
dpkg: error processing package python3-s3transfer (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
python3-dateutil
python3-roman
python3-docutils
python3-jmespath
python3-botocore
python3-colorama
python3-pygments
python3-rsa
python3-s3transfer
E: Sub-process /usr/bin/dpkg returned an error code (1)
dev (lifecycle-management) lambdas $ sudo apt-get --reinstall install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of python3 is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python3-dateutil (2.4.2-1) ...
/var/lib/dpkg/info/python3-dateutil.postinst: 6: /var/lib/dpkg/info/python3-dateutil.postinst: py3compile: not found
dpkg: error processing package python3-dateutil (--configure):
subprocess installed post-installation script returned error exit status 127
Setting up python3-roman (2.0.0-2) ...
/var/lib/dpkg/info/python3-roman.postinst: 6: /var/lib/dpkg/info/python3-roman.postinst: py3compile: not found
dpkg: error processing package python3-roman (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of python3-docutils:
python3-docutils depends on python3-roman; however:
Package python3-roman is not configured yet.
dpkg: error processing package python3-docutils (--configure):
dependency problems - leaving unconfigured
Setting up python3-jmespath (0.9.0-2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
/var/lib/dpkg/info/python3-jmespath.postinst: 6: /var/lib/dpkg/info/python3-jmespath.postinst: py3compile: not found
dpkg: error processing package python3-jmespath (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-botocore:
python3-botocore depends on python3-dateutil; however:
Package python3-dateutil is not configured yet.
python3-botocore depends on python3-docutils; however:
Package python3-docutils is not configured yet.
python3-botocore depends on python3-jmespath; however:
Package python3-jmespath is not configured yet.
dpkg: error processing package python3-botocore (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up python3-colorama (0.3.7-1) ...
/var/lib/dpkg/info/python3-colorama.postinst: 6: /var/lib/dpkg/info/python3-colorama.postinst: py3compile: not found
dpkg: error processing package python3-colorama (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Setting up python3-pygments (2.1+dfsg-1) ...
/var/lib/dpkg/info/python3-pygments.postinst: 6: /var/lib/dpkg/info/python3-pygments.postinst: py3compile: not found
dpkg: error processing package python3-pygments (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Setting up python3-rsa (3.2.3-1.1) ...
/var/lib/dpkg/info/python3-rsa.postinst: 6: /var/lib/dpkg/info/python3-rsa.postinst: py3compile: not found
dpkg: error processing package python3-rsa (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-s3transfer:
python3-s3transfer depends on python3-botocore; however:
Package python3-botocore is not configured yet.
16.04 command-line apt python
I accidentally deleted python3 from ubuntu and now my terminal is not opening. I tried to update using sudo apt-get update
and this the error I am getting. I tried all related solutions from the web and nothing seems to work. Can anyone help me with it? FYI I still got python 2.7.12 installed
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python3-dateutil (2.4.2-1) ...
/var/lib/dpkg/info/python3-dateutil.postinst: 6:
/var/lib/dpkg/info/python3-dateutil.postinst: py3compile: not found
dpkg: error processing package python3-dateutil (--configure):
subprocess installed post-installation script returned error exit
status 127
Setting up python3-roman (2.0.0-2) ...
/var/lib/dpkg/info/python3-roman.postinst: 6:
/var/lib/dpkg/info/python3-roman.postinst: py3compile: not found
dpkg: error processing package python3-roman (--configure):
subprocess installed post-installation script returned error exit
status 127
dpkg: dependency problems prevent configuration of python3-docutils:
python3-docutils depends on python3-roman; however:
Package python3-roman is not configured yet.
dpkg: error processing package python3-docutils (--configure):
dependency problems - leaving unconfigured
Setting up python3-jmespath (0.9.0-2) ...
No apport report written because the error message indicates its a
followup error from a previous failure.
/var/lib/dpkg/info/python3-jmespath.postinst: 6:
/var/lib/dpkg/info/python3-jmespath.postinst: py3compile: not found
dpkg: error processing package python3-jmespath (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
dpkg:
dependency problems prevent configuration of python3-botocore:
python3-botocore depends on python3-dateutil; however:
Package python3-dateutil is not configured yet.
python3-botocore depends on python3-docutils; however:
Package python3-docutils is not configured yet.
python3-botocore depends on python3-jmespath; however:
Package python3-jmespath is not configured yet.
dpkg: error processing package python3-botocore (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up
python3-colorama (0.3.7-1) ...
/var/lib/dpkg/info/python3-colorama.postinst: 6:
/var/lib/dpkg/info/python3-colorama.postinst: py3compile: not found
dpkg: error processing package python3-colorama (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
Setting up
python3-pygments (2.1+dfsg-1) ...
/var/lib/dpkg/info/python3-pygments.postinst: 6:
/var/lib/dpkg/info/python3-pygments.postinst: py3compile: not found
dpkg: error processing package python3-pygments (--configure):
subprocess installed post-installation script returned error exit
status 127
No apport report written because MaxReports is reached already
Setting up
python3-rsa (3.2.3-1.1) ...
/var/lib/dpkg/info/python3-rsa.postinst: 6: /var/lib/dpkg/info/python3-rsa.postinst: py3compile: not found
dpkg: error processing package python3-rsa (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-s3transfer:
python3-s3transfer depends on python3-botocore; however:
Package python3-botocore is not configured yet.
dpkg: error processing package python3-s3transfer (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
python3-dateutil
python3-roman
python3-docutils
python3-jmespath
python3-botocore
python3-colorama
python3-pygments
python3-rsa
python3-s3transfer
E: Sub-process /usr/bin/dpkg returned an error code (1)
dev (lifecycle-management) lambdas $ sudo apt-get --reinstall install python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of python3 is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python3-dateutil (2.4.2-1) ...
/var/lib/dpkg/info/python3-dateutil.postinst: 6: /var/lib/dpkg/info/python3-dateutil.postinst: py3compile: not found
dpkg: error processing package python3-dateutil (--configure):
subprocess installed post-installation script returned error exit status 127
Setting up python3-roman (2.0.0-2) ...
/var/lib/dpkg/info/python3-roman.postinst: 6: /var/lib/dpkg/info/python3-roman.postinst: py3compile: not found
dpkg: error processing package python3-roman (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of python3-docutils:
python3-docutils depends on python3-roman; however:
Package python3-roman is not configured yet.
dpkg: error processing package python3-docutils (--configure):
dependency problems - leaving unconfigured
Setting up python3-jmespath (0.9.0-2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
/var/lib/dpkg/info/python3-jmespath.postinst: 6: /var/lib/dpkg/info/python3-jmespath.postinst: py3compile: not found
dpkg: error processing package python3-jmespath (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-botocore:
python3-botocore depends on python3-dateutil; however:
Package python3-dateutil is not configured yet.
python3-botocore depends on python3-docutils; however:
Package python3-docutils is not configured yet.
python3-botocore depends on python3-jmespath; however:
Package python3-jmespath is not configured yet.
dpkg: error processing package python3-botocore (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up python3-colorama (0.3.7-1) ...
/var/lib/dpkg/info/python3-colorama.postinst: 6: /var/lib/dpkg/info/python3-colorama.postinst: py3compile: not found
dpkg: error processing package python3-colorama (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Setting up python3-pygments (2.1+dfsg-1) ...
/var/lib/dpkg/info/python3-pygments.postinst: 6: /var/lib/dpkg/info/python3-pygments.postinst: py3compile: not found
dpkg: error processing package python3-pygments (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Setting up python3-rsa (3.2.3-1.1) ...
/var/lib/dpkg/info/python3-rsa.postinst: 6: /var/lib/dpkg/info/python3-rsa.postinst: py3compile: not found
dpkg: error processing package python3-rsa (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-s3transfer:
python3-s3transfer depends on python3-botocore; however:
Package python3-botocore is not configured yet.
16.04 command-line apt python
asked May 10 at 13:01
lazycoder18
1
1
How did you runsudo apt-get update
without a terminal?
â Melebius
May 10 at 13:31
Good thing you keep a good backup. It will always save you from impulsive acts like this.
â SDsolar
May 10 at 17:31
1
@melebius I ran that command from my IDE terminal
â lazycoder18
May 11 at 3:14
add a comment |Â
How did you runsudo apt-get update
without a terminal?
â Melebius
May 10 at 13:31
Good thing you keep a good backup. It will always save you from impulsive acts like this.
â SDsolar
May 10 at 17:31
1
@melebius I ran that command from my IDE terminal
â lazycoder18
May 11 at 3:14
How did you run
sudo apt-get update
without a terminal?â Melebius
May 10 at 13:31
How did you run
sudo apt-get update
without a terminal?â Melebius
May 10 at 13:31
Good thing you keep a good backup. It will always save you from impulsive acts like this.
â SDsolar
May 10 at 17:31
Good thing you keep a good backup. It will always save you from impulsive acts like this.
â SDsolar
May 10 at 17:31
1
1
@melebius I ran that command from my IDE terminal
â lazycoder18
May 11 at 3:14
@melebius I ran that command from my IDE terminal
â lazycoder18
May 11 at 3:14
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1034486%2fterminal-not-opening-and-unable-to-run-apt-get-commands-in-ubuntu-16-04-python%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
How did you run
sudo apt-get update
without a terminal?â Melebius
May 10 at 13:31
Good thing you keep a good backup. It will always save you from impulsive acts like this.
â SDsolar
May 10 at 17:31
1
@melebius I ran that command from my IDE terminal
â lazycoder18
May 11 at 3:14