0

It returned an error:

E: Internal Error, No file name for python-cryptography:amd64

I tried to run follow command and follow instruction from here How to resolve E: Internal Error when using apt-get remove?

sudo dpkg --configure -a

but it doesn't work, the terminal returned another error:

dpkg: Error handling package python-gi (--configure):

The software package is in a very unstable state.

You'd better reinstall it before configuring it.

Errors occur during processing:

Python-gi

according to this error I try to use follow command to solve it:

sudo apt-get purge --auto-remove python-gi

but same error appear again. I am new to ubuntu, I dont know what should I do, if anyone can help me?Thanks!

1 Answers1

0

I solve this problem by following command:

sudo apt-get -m --reinstall install python python-minimal