0

I am trying to run following command

$ sudo apt-get install cron

but it gives following error

E: dpkg was interrupted, 
A.B.
  • 90,397

1 Answers1

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
A.B.
  • 90,397