0

I am trying to run following command

$ sudo apt-get install cron

but it gives following error

E: dpkg was interrupted, 
2
  • 2
    The error is asking you to run a command... Have you done it? – Katu Aug 18 '15 at 7:08
  • 1
    Run sudo dpkg --configure -a – Liso Aug 18 '15 at 7:11
2

The solution is simple and part of the full error message

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

Therefore

sudo dpkg --configure -a

and then

sudo apt-get install cron

Not the answer you're looking for? Browse other questions tagged or ask your own question.