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

Occasionally I have connection problem with apt-get (typically because I use it behind a proxy and try to install/upgrade flash). I have been trying sending Ctrlc but it would not stop. I thought it was something wrong with synaptic but obviously I just tried with a terminal and don't know how to stop it now.

share|improve this question
up vote 14 down vote accepted

This is a known bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599007
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/578625

The bug report mentions that even Ctrl + \ doesn't work.

Solution:

  • Suspend the job: Ctrl + Z

  • Kill it: sudo killall apt-get

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.