Ubuntu – How to install android studio

aptdpkgsoftware installation

I have used the following command to install android studio to Ubuntu:

sudo apt-get install android-studio 

However, the following message appears :

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

What is the problem and how to solve it ?

Best Answer

You can safely run what the apt-get output says:

sudo dpkg --configure -a

It should solve your problem. This command configures all packages that has been unpacked but not configured yet. See:

man dpkg

for more details.

Related Question