Ctrl + C
will simply send a SIGINT signal to apt-get
which will by default cause process to terminate. Also, I don't recommeded you to do this.
(Not recommdend in any scenarios)Ctrl+\
will allow you to send SIGQUIT signal to apt-get
which force the process to terminate and create a dump.
If network drops , you should use Ctrl + Z
to suspend the process in the background and then use fg %1
(%x , value of x can be different).
Also, if you are getting too much time taken by apt-get
then you should remove/deactivate some of the PPAs you don't require using software updates program. (I have personally deactivated webup8 PPA because I don't want upgrade a higher Oracle JDK version.) After, deactivating PPAs, apt-get
will ignore deactivated PPAs.
Note: Removing PPAs should be handled with care.