apt-get doesn't stop on Ctrl-c, what to do?

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.

Asked By: phunehehe

||

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

Answered By: iamsid
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.