dpkg was interrupted you must manually run dpkg configure a to correct the problem ubuntu

dpkg was interrupted you must manually run dpkg configure a to correct the problem ubuntu:

 when i run command
   $ sudo apt-get install <package-name>
there comes error

dpkg was interrupted you must manually run dpkg configure

Solution:

step 1:

run command
sudo dpkg –configure -a

 Step 2:

Now you can run
sudo apt-get install <package-name>

Leave a Reply

Your email address will not be published. Required fields are marked *

18 − 8 =