[Aptitude-devel] Bug#411979: aptitude: can't suspend

Axel Beckert abe at debian.org
Mon Feb 25 16:43:52 UTC 2013


Control: tag -1 + confirmed
Control: found -1 0.6.8.2-1

Hi,

Ian Zimmerman wrote in 2007:
> Package: aptitude
> Version: 0.4.4-1
> Severity: normal
> 
> In some circumstances, which seem to involve planetary constellation,
> ^Z in aptitude doesn't work.  At all.  Like, it does nothing.

JFTR: I ran into this recently, too, in Sid, but couldn't reproduce it
again afterwards. So I'm adding the tag "confirmed", but leave the tag
"unreproducible". Feel free to remove the tag "unreproducible" if that
semantic is not wanted.

Yann Dirson wrote in 2008:
> I have also seen such a behaviour (although not recently), as well as
> a variant which may help to shed some light on the whole issue.
> 
> In the variant behaviour, I attempt to suspend aptitude while it runs
> another process, while installing packages.  This appears to freeze
> aptitude, but a look at the processes shows that aptitude is perfectly
> fine, but the subprocesses it has forked are stopped (ps report "T"
> state).  In this situation, sending a SIGCONT to those stopped
> processes allows them to proceed - but still no way to suspend the
> whole.
> 
> I observed this with various subprocesses - apt-listbugs and package
> postinst scripts.  After the requested installs are finished, Ctrl-Z
> is functional again.

That's a different issue.

I think the original issue is related to http://bugs.debian.org/658271
("Quitting" from curses interface has no effect.) as it showed up
under similar yet not identical circumstances, i.e. I could reproduce
#658271 and Ctrl-Z was still working. (IIRC "q" did not
work either when Ctrl-Z did no more work, but I'm not sure.)

> Another factor that may be worth noting, is that my aptitude process
> is always run from within a screen(1) session.  I'll try to think of
> launching one outside of it and check how it works.

That's mostly the case for me, too. Can't though remember if that was
the case when I ran into this issue.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the Aptitude-devel mailing list