Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was downloading a package from a terminal. Actually i want to install some package 'A'. But,by mistake installing some other package 'B'. So, i wanted to stop the download of that package 'B' and start downloading 'A'. But, i couldnt able to do that. I reset my network connnection. I could stop downloading the package B. But, the administratory directory was locked and wasn't able to download other packages which made me to restart my system.

Is there a way or any command to abort the active download of packages in ubuntu. ?



share|improve this question

migrated from Oct 24 '10 at 9:15

This question came from our site for professional and enthusiast programmers.

isn't there an askubuntu exchange better suited to this? – albert_vad Oct 23 '10 at 9:22
@raticulin, yep: Ask Ubuntu. – David Thomas Oct 23 '10 at 19:13

1 Answer 1

You should be able to gracefully abort download by pressing CTRL+C in the apt-get install <package> terminal window.

share|improve this answer
@Pawel : Thank U for the reply. – Vinaychalluru Oct 24 '10 at 4:22

Your Answer


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