I attempted to install a large package, forgetting that I had little space left, and now I am a little stuck.

When I attempt to remove any packages I get the following error:

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

And when I run the dpkg command, it complains I have no space. Is there a way I can explicitly tell it to abort installing, or free up the space (preferably without manually deleting package manager files).


sudo apt-get clean

resolved issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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