Take the 2-minute tour ×
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.

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

1 Answer 1

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.