[Aptitude-devel] Bug#730795: aptitude: buggy newline output with aptitude-curses in case of error during package install
Vincent Lefevre
vincent at vinc17.net
Fri Nov 29 15:51:54 UTC 2013
Package: aptitude
Version: 0.6.8.2-1.2
Severity: normal
In an upgrade with aptitude (/usr/bin/aptitude-curses alternative in
my case):
ypig:/home/vlefevre# aptitude
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n]
Selecting previously unselected package libfakeroot:amd64.
(Reading database ... 466004 files and directories currently installed.)
Unpacking libfakeroot:amd64 (from .../libfakeroot_1.20-2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libfakeroot_1.20-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libfakeroot/libfakeroot-sysv.so', which is also in package fakeroot 1.20-1
Preparing to replace fakeroot 1.20-1 (using .../fakeroot_1.20-2_amd64.deb) ...
Unpacking replacement fakeroot ...
Preparing to replace foomatic-db 20130912-1 (using .../foomatic-db_20131129-1_all.deb) ...
Unpacking replacement foomatic-db ...
Preparing to replace lftp 4.4.11-1 (using .../lftp_4.4.13-1_amd64.deb) ...
Unpacking replacement lftp ...
Preparing to replace openprinting-ppds 20130912-1 (using .../openprinting-ppds_20131129-1_all.deb) ...
Unpacking replacement openprinting-ppds ...
Preparing to replace printer-driver-cjet 0.8.9-3 (using .../printer-driver-cjet_0.8.9-4_amd64.deb) ...
Unpacking replacement printer-driver-cjet ...
Preparing to replace openbios-ppc 1.1-1 (using .../openbios-ppc_1.1+svn1229-1_all.deb) ...
Unpacking replacement openbios-ppc ...
Preparing to replace qemu-slof 20130430+dfsg-1 (using .../qemu-slof_20131015+dfsg-1_all.deb) ...
Unpacking replacement qemu-slof ...
Processing triggers for man-db ...
Processing triggers for cups ...
Updating PPD files for foomatic-db ...
Updating PPD files for openprinting-ppds ...
Errors were encountered while processing:
/var/cache/apt/archives/libfakeroot_1.20-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up openprinting-ppds (20131129-1) ...
Setting up lftp (4.4.13-1) ...
dpkg: dependency problems prevent configuration of fakeroot:
fakeroot depends on libfakeroot (>= 1.20-2); however:
Package libfakeroot:amd64 is not installed.
dpkg: error processing fakeroot (--configure):
dependency problems - leaving unconfigured
Setting up openbios-ppc (1.1+svn1229-1) ...
Setting up qemu-slof (20131015+dfsg-1) ...
Setting up printer-driver-cjet (0.8.9-4) ...
Setting up foomatic-db (20131129-1) ...
Errors were encountered while processing:
fakeroot
Press Return to continue.
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.
-- Package-specific info:
Terminal: xterm-debian
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.6.8.2 compiled at Aug 25 2013 12:37:10
Compiler: g++ 4.8.1
Compiled against:
apt version 4.12.0
NCurses version 5.9
libsigc++ version: 2.2.10
Ept support enabled.
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 5.9.20130608
cwidget version: 0.5.16
Apt version: 4.12.0
aptitude linkage:
linux-vdso.so.1 (0x00007fff171a5000)
libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007f5a1dbf6000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f5a1d9c6000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f5a1d79c000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007f5a1d597000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f5a1d290000)
libept.so.1.aptpkg4.12 => /usr/lib/x86_64-linux-gnu/libept.so.1.aptpkg4.12 (0x00007f5a1d033000)
libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f5a1cc50000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f5a1ca38000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007f5a1c77f000)
libboost_iostreams.so.1.54.0 => /usr/lib/libboost_iostreams.so.1.54.0 (0x00007f5a1c565000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5a1c349000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5a1c045000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5a1bd47000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5a1bb31000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5a1b784000)
libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f5a1b581000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5a1b37d000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f5a1b16c000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f5a1b166000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f5a1af5d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5a1e584000)
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages aptitude depends on:
ii aptitude-common 0.6.8.2-1.2
ii libapt-pkg4.12 0.9.13
ii libboost-iostreams1.54.0 1.54.0-3
ii libc6 2.17-96
ii libcwidget3 0.5.16-3.5
ii libept1.4.12 1.0.12
ii libgcc1 1:4.8.2-5
ii libncursesw5 5.9+20130608-1
ii libsigc++-2.0-0c2a 2.2.10-0.2
ii libsqlite3-0 3.8.1-1
ii libstdc++6 4.8.2-5
ii libtinfo5 5.9+20130608-1
ii libxapian22 1.2.15-2
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages aptitude recommends:
ii apt-xapian-index 0.46
ii aptitude-doc-en [aptitude-doc] 0.6.8.2-1.2
ii libparse-debianchangelog-perl 1.2.0-1
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
pn debtags <none>
ii tasksel 3.18
-- no debconf information
More information about the Aptitude-devel
mailing list