Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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).

share|improve this question

sudo apt-get clean

resolved issue.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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