Bug#214141: apt-listchanges: ignores SIGINT while scanning changelogs
On Fri, Feb 27, 2004 at 01:30:12PM -0500, Branden Robinson wrote:
> On Thu, Feb 26, 2004 at 05:02:55PM -0800, Matt Zimmerman wrote:
> > I just checked, and apt seems to do the right thing. ExecFork() forks and
> > sets a bunch of signals to default (including SIGINT).
> > And I still can't reproduce this. Any ideas?
> I still *can* reproduce it.
> It happens with aptitude, too.
> redwald:~# aptitude dist-upgrade
> Reading Package Lists... Done
> Building Dependency Tree
> Reading extended state information... Done
> The following NEW packages will be installed:
> The following packages will be upgraded:
> base-config blender cpp cpp-2.95 docbook-xml docbook-xsl fdutils g++
> g++-2.95 gcc gcc-2.95 iso-codes kaffe librsvg2-2 libstdc++2.10-dev
> libstdc++2.10-glibc2.2 procps python2.1 python2.2 python2.2-dev
> xprt-common xprt-xprintorg
> 22 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 9134B/19.0MB of archives. After unpacking 1286kB will be used.
> Do you want to continue? [Y/n/?]
> Writing extended state information... Done
> Get:1 http://archive.progeny.com sarge/main gsfonts-x11 0.17 [9134B]
> Fetched 9134B in 0s (22.9kB/s)
> Reading changelogs... 27%
> Reading changelogs... 40%logs... 31%
> Reading changelogs... 68%logs... 45%
> redwald:~# Reading changelogs... 72%
> Reading changelogs... 81%logs... 77%
> redwald:~# Reading changelogs... 86%
> Reading changelogs... Doneogs... 90%
> base-config (2.13) unstable; urgency=HIGH
> * Petter Reinholdtsen
> Every time I hit CTRL-C, a newline is echoed, but otherwise it just
> keeps on trucking.
It looks to me like maybe apt is receiving the SIGINT, and apt-listchanges
is not, since I see your shell prompt there. Can you confirm this? Maybe
it's a shell/process group/controlling tty thing.