Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

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

You must log in to answer this question.