[Aptitude-devel] 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 17:11:32 UTC 2013


Control: reassign -1 libapt-pkg4.12 0.9.13
Control: affects -1 aptitude

Hi,

Sven Joachim wrote:
> > 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.
> 
> More likely it's due to a buggy change in apt 0.9.13.

"which-pkg-broke aptitude" also suggests apt (besides libcwidget):

libapt-pkg4.12:i386                                    Mon Nov 25 12:15:28 2013
libcwidget3                                            Mon Nov 25 12:19:22 2013

But downgrading apt didn't help on a first for me. Maybe I need to make
sure that the terminal mode is definitely reset before trying again.

So this helped finally: Downgrading all packages built from the apt
source package, exiting the screen session in which aptitude was
running, calling reset in the xterm, starting screen again and
aptitude again.

> The problem is also reproducible with apt-get rather than aptitude,
> in a quite minimal pbuilder chroot.

Thanks for checking. So maybe this is related to
http://bugs.debian.org/730490 ?

		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