0

I am trying to run following command

$ sudo apt-get install cron

but it gives following error

E: dpkg was interrupted, 
A.B.
  • 89,123
  • 21
  • 245
  • 323
Shubham Batra
  • 215
  • 1
  • 4
  • 12

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.
  • 89,123
  • 21
  • 245
  • 323