Package: aptitude
Version: 0.8.13-8.1
Severity: important
X-Debbugs-Cc: [email protected], [email protected]
User: [email protected]
Usertags: arm64

Dear Maintainer,

Package: aptitude
Version: 0.8.13-7

System:
- Raspberry Pi arm64
- Linux 6.18.39+rpt-rpi-v8
- glibc 2.43
- ncurses 6.6

The aptitude curses interface exits immediately with:

Uncaught exception: Unable to read from stdin: Invalid argument

The failure is reproducible from:
- SSH sessions
- PuTTY
- Console terminal /dev/tty1
- script(1)

Non-interactive aptitude commands work:

aptitude search '~i'
aptitude update

The interface starts, builds the package view and displays package groups, then 
exits.

GDB catchpoint on the final exception shows:

cwidget::toplevel::input_thread::fatal_input_error::dispatch()
cwidget::toplevel::mainloop()

Relevant debugging performed:
- Tested aptitude 0.8.13-8.1 and 0.8.13-7
- Tested libcwidget4 0.5.18-6+b3 and 0.5.18-6+b2
- Tested apt/libapt-pkg 3.3.3 and 3.0.3
- Tested TERM=putty, xterm and vt100
- Tested via SSH and script(1)
- Python curses applications work correctly

strace of input operations shows repeated:

ppoll([{fd=0, events=POLLIN}], ...) = 0

and no failing read(), poll(), or ioctl() returning EINVAL was observed.

I also tried a fresh install of the current Debian image (trixie)

1. Copy Pi image (trixie) to SD, boot and login
2. Install aptitude
3. Check it works
4. Change all references from trixie to testing in 
/etc/apt/sources.list.d/debian.sources so it's using the testing repository
5. sudo apt update
6. Update aptitude from 0.8.13-7 to 0.8.13-8.1 which is the current version in 
testing (sudo apt install aptitude=0.8.13-8.1)
7. Check aptitude still works
8. Update libc6 from 2.41-12+rpt1+deb13u4 to 2.43-5, current version in testing 
(sudo apt install libc6=2.43-5)
9. aptitude is now broken and fails as above.


-- Package-specific info:
Terminal: xterm
$DISPLAY not set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.8.13
Compiler: g++ 15.2.0
Compiled against:
  apt version 7.0.0
  NCurses version 6.6
  libsigc++ version: 2.12.1
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.5.20250216
  cwidget version: 0.5.18
  Apt version: 7.0.0

aptitude linkage:
        linux-vdso.so.1 (0x0000007f8018c000)
        libapt-pkg.so.7.0 => /usr/lib/aarch64-linux-gnu/libapt-pkg.so.7.0 
(0x0000007f7fab0000)
        libncursesw.so.6 => /usr/lib/aarch64-linux-gnu/libncursesw.so.6 
(0x0000007f7fa50000)
        libtinfo.so.6 => /usr/lib/aarch64-linux-gnu/libtinfo.so.6 
(0x0000007f7fa00000)
        libsigc-2.0.so.0 => /usr/lib/aarch64-linux-gnu/libsigc-2.0.so.0 
(0x0000007f7f9d0000)
        libcwidget.so.4 => /usr/lib/aarch64-linux-gnu/libcwidget.so.4 
(0x0000007f7f8b0000)
        libsqlite3.so.0 => /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 
(0x0000007f7f710000)
        libboost_iostreams.so.1.90.0 => 
/usr/lib/aarch64-linux-gnu/libboost_iostreams.so.1.90.0 (0x0000007f7f6d0000)
        libxapian.so.30 => /usr/lib/aarch64-linux-gnu/libxapian.so.30 
(0x0000007f7f470000)
        libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 
(0x0000007f7f200000)
        libgcc_s.so.1 => /usr/lib/aarch64-linux-gnu/libgcc_s.so.1 
(0x0000007f7f1c0000)
        libc.so.6 => /usr/lib/aarch64-linux-gnu/libc.so.6 (0x0000007f7f000000)
        /lib/ld-linux-aarch64.so.1 (0x0000007f80150000)
        libz.so.1 => /usr/lib/aarch64-linux-gnu/libz.so.1 (0x0000007f7efc0000)
        libbz2.so.1.0 => /usr/lib/aarch64-linux-gnu/libbz2.so.1.0 
(0x0000007f7ef90000)
        liblzma.so.5 => /usr/lib/aarch64-linux-gnu/liblzma.so.5 
(0x0000007f7ef40000)
        liblz4.so.1 => /usr/lib/aarch64-linux-gnu/liblz4.so.1 
(0x0000007f7eef0000)
        libzstd.so.1 => /usr/lib/aarch64-linux-gnu/libzstd.so.1 
(0x0000007f7ee20000)
        libudev.so.1 => /usr/lib/aarch64-linux-gnu/libudev.so.1 
(0x0000007f7edc0000)
        libsystemd.so.0 => /usr/lib/aarch64-linux-gnu/libsystemd.so.0 
(0x0000007f7ec90000)
        libcrypto.so.3 => /usr/lib/aarch64-linux-gnu/libcrypto.so.3 
(0x0000007f7e670000)
        libxxhash.so.0 => /usr/lib/aarch64-linux-gnu/libxxhash.so.0 
(0x0000007f7e640000)
        libm.so.6 => /usr/lib/aarch64-linux-gnu/libm.so.6 (0x0000007f7e570000)
        libuuid.so.1 => /usr/lib/aarch64-linux-gnu/libuuid.so.1 
(0x0000007f7e540000)
        libcap.so.2 => /usr/lib/aarch64-linux-gnu/libcap.so.2 
(0x0000007f7e510000)

-- System Information:
Debian Release: 13.7
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf

Kernel: Linux 6.18.50+rpt-rpi-v8 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages aptitude depends on:
ii  aptitude-common           0.8.13-8.1
ii  libapt-pkg7.0             3.0.3
ii  libboost-iostreams1.90.0  1.90.0-6.1+b1
ii  libc6                     2.43-5
ii  libcwidget4               0.5.18-6+b2
ii  libgcc-s1                 14.2.0-19
ii  libncursesw6              6.5+20250216-2
ii  libsigc++-2.0-0v5         2.12.1-3
ii  libsqlite3-0              3.46.1-7+deb13u2
ii  libstdc++6                14.2.0-19
ii  libtinfo6                 6.5+20250216-2
ii  libxapian30               1.4.29-3+deb13u1

Versions of packages aptitude recommends:
ii  libdpkg-perl    1.22.22
ii  sensible-utils  0.0.25

Versions of packages aptitude suggests:
pn  apt-xapian-index                <none>
pn  aptitude-doc-en | aptitude-doc  <none>
pn  debtags                         <none>
pn  tasksel                         <none>

-- no debconf information

Reply via email to