1

I forced exit on Ubuntu upgrade and when I try a new command it gives me this

E: dpkg was interrupted, you must manually run 'dpkg --configure -a'

If I run that command will upgrade continue? If yes, how do I just do so it won't continue because I don't want to upgrade anything?

I read about removing files from /var/lib/dpkg/updates and that should solve the issue, but I don't want to try things out of the blue on Linux machines because that got me into troubles already.

David Foerster
  • 36,890
  • 56
  • 97
  • 151
edward
  • 59

1 Answers1

2

The short answer to your question is No.

The longer answer is: dpkg --configure -a will likely repair the damage caused by the interruption you forced, so regardless of what you might be thinking you should do that. The upgrade process that you interrupted will not automatically resume or restart. However, repairing the damage as suggested to you by your system greatly increases the chance of success the next time you attempt to update and upgrade your system.

Elder Geek
  • 36,752