[Aptitude-devel] Bug#730795: Bug#730795: aptitude: buggy newline output with aptitude-curses in case of error during package install

Axel Beckert abe at debian.org
Fri Nov 29 16:11:21 UTC 2013


Control: tag -1 + confirmed

Hi Vincent,

Vincent Lefevre wrote:
> See the incorrect newline handling after the dpkg error (there's a LF
> but not a CR). Since /usr/bin/aptitude-curses contains both messages
> "A package failed to install" and "Trying to recover", I suppose this
> comes from this process.
>
> FYI, the terminal is an xterm.

Same here, also with xterm and on nearly every architecture. But just
for a few days so far.

Since aptitude hasn't seen much change recently I rather suspect an
hook in /etc/apt/apt.conf.d/ to be the cause.

Didn't notice that Enter no more works afterwards as I usually stop
aptitude with Ctrl-C at that point anyway. But I noticed that typing
into the terminal does not echo the keys either, so it looks as if the
terminal has been set to some different mode, but no more set back.

So typing "reset<Enter>" blindly after pressing Ctrl-C should always
help.

		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