[Aptitude-devel] Bug#748524: aptitude dies with an error message but exits with an exit code of 0 (zero)

Daniel Hartwig mandyke at gmail.com
Sun May 18 00:49:28 UTC 2014


Control: forcemerge 675833 -1

On 18 May 2014 08:17, Daniel Leidert <daniel.leidert at wgdd.de> wrote:
> Package: aptitude
> Version: 0.6.10-1
> Severity: normal
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I was trying to hack something together and found, that e.g.
>
> aptitude changelog bluefish/squeeze-backports
>
> reports an error, because there is no changelog of bluefish here. But
> why does aptitude then exit with an exit code of zero (0)? It shouldn't do
> that. It should throw an error, which then can be catched.
>

Sure.  This will be resolved for Jessie.


> Regards, Daniel
>
>
>
> - -- Package-specific info:
> Terminal: xterm
> $DISPLAY is set.
> which aptitude: /usr/bin/aptitude
>
> aptitude version information:
> aptitude 0.6.10 compiled at Feb 20 2014 17:26:22
> Compiler: g++ 4.8.2
> Compiled against:
>   apt version 4.12.0
>   NCurses version 5.9
>   libsigc++ version: 2.2.11
>   Ept support enabled.
>   Gtk+ support disabled.
>   Qt support disabled.
>
> Current library versions:
>   NCurses version: ncurses 5.9.20140118
>   cwidget version: 0.5.17
>   Apt version: 4.12.0
>
> aptitude linkage:
>         linux-vdso.so.1 (0x00007fffa55a8000)
>         libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007fd18dc98000)
>         libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007fd18da63000)
>         libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fd18d838000)
>         libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007fd18d633000)
>         libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007fd18d32c000)
>         libept.so.1.aptpkg4.12 => /usr/lib/x86_64-linux-gnu/libept.so.1.aptpkg4.12 (0x00007fd18d0cf000)
>         libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007fd18ccd1000)
>         libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fd18cab9000)
>         libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fd18c7fc000)
>         libboost_iostreams.so.1.54.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.54.0 (0x00007fd18c5e2000)
>         libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd18c3c5000)
>         libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd18c0b9000)
>         libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd18bdb6000)
>         libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd18bba0000)
>         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd18b7f5000)
>         libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fd18b5f2000)
>         libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd18b3ee000)
>         libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fd18b1dd000)
>         liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fd18afba000)
>         libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fd18adb4000)
>         librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd18abac000)
>         /lib64/ld-linux-x86-64.so.2 (0x00007fd18e62d000)
>
> - -- System Information:
> Debian Release: jessie/sid
>   APT prefers unstable
>   APT policy: (850, 'unstable'), (700, 'testing'), (560, 'stable'), (500, 'oldstable'), (110, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.14-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages aptitude depends on:
> ii  aptitude-common           0.6.10-1
> ii  libapt-pkg4.12            1.0.3
> ii  libboost-iostreams1.54.0  1.54.0-5
> ii  libc6                     2.18-6
> ii  libcwidget3               0.5.17-1
> ii  libept1.4.12              1.0.12
> ii  libgcc1                   1:4.9.0-3
> ii  libncursesw5              5.9+20140118-1
> ii  libsigc++-2.0-0c2a        2.2.11-3
> ii  libsqlite3-0              3.8.4.3-3
> ii  libstdc++6                4.9.0-3
> ii  libtinfo5                 5.9+20140118-1
> ii  libxapian22               1.2.17-1
> ii  zlib1g                    1:1.2.8.dfsg-1
>
> Versions of packages aptitude recommends:
> pn  apt-xapian-index                <none>
> pn  aptitude-doc-en | aptitude-doc  <none>
> 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.20
>
> - -- no debconf information
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iEYEARECAAYFAlN3/B4ACgkQm0bx+wiPa4wIsQCgxgyrt2iRpeuf5p0n9Hoh/VKf
> Q1AAoNAuqvV12C8AB0Kqtuw7CZS9ktXy
> =6yUv
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Aptitude-devel mailing list
> Aptitude-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel



More information about the Aptitude-devel mailing list