On Fri, Jul 15, 2011 at 4:59 AM, Anupam Jain <[email protected]> wrote: > Hi all, > > I originally posted this question on > stackoverflow<http://stackoverflow.com/questions/6624622/what-happens-in-bash-when-you-do-ctrl-c-hint-its-not-simply-sending-a-sigint>, > but did not receive a satisfactory response. Any ideas?
Mystery solved! The reason is because apt-get invokes a program called http to download packages. Here is what I tried. Terminal 1 $ sudo su $ apt-get install wetlands-data (some package I found randomly to be big) Terminal 2 8493 pts/0 S+ 0:00 apt-get install widelands-data 8495 pts/0 S+ 0:00 /usr/lib/apt/methods/http When you press control+c, the signal is sent to http and NOT apt-get. That's the difference. I tried sending SIGINT to process 8495 and I was able to resume download :) Sharad _______________________________________________ Ilugd mailing list [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd
