I tried adding something like:
signal.signal(SIGINT, SIG_IGN)
but it seem that this does not fix the case when libapt runs one of its helpers (e.g. http fetching is a seperate process). The signal still reaches the child and that dies then (no idea why, the child should inherit the parenty signal mask).
I tried adding something like:
signal. signal( SIGINT, SIG_IGN)
but it seem that this does not fix the case when libapt runs one of its helpers (e.g. http fetching is a seperate process). The signal still reaches the child and that dies then (no idea why, the child should inherit the parenty signal mask).