Package: aptitude
Version: 0.6.3-3.2
Severity: minor
Instead of -sy, I tried -s <&-, which instructs the shell to close
stdin after forking and before execing. The behaviour was
undesirable:
$ aptitude -s install <&- vim
The following NEW packages will be installed:
vim vim-common{a} vim-runtime{a}
0 packages upgraded, 3 newly installed, 0 to remove and 30 not upgraded.
Need to get 7,425 kB of archives. After unpacking 28.6 MB will be used.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?]
At this point it hangs, and (obviously) you cannot provide input.
On Ubuntu 10.04 (aptitude 0.4.11.11-1ubuntu10) the behaviour was even
stranger -- it showed the changelog for the "check" package in my
$PAGER (w3m)!
lucid$ aptitude -s install <&- vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
libpython2.6{a} vim vim-runtime{a}
0 packages upgraded, 3 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/7,765kB of archives. After unpacking 30.2MB will be used.
Do you want to continue? [Y/n/?] E: You must put some 'source' URIs in your
sources.list
Get:1 ChangeLog of check [5,410B]
Fetched 5,410B in 1s (5,030B/s)
E: You must put some 'source' URIs in your sources.list
E: Couldn't find a changelog for these
E: You must put some 'source' URIs in your sources.list
E: Couldn't find a changelog for filesystems
E: You must put some 'source' URIs in your sources.list
E: Couldn't find a changelog for yet.
Press Return to continueThe following NEW packages will be installed:
libpython2.6{a} vim vim-runtime{a}
0 packages upgraded, 3 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/7,765kB of archives. After unpacking 30.2MB will be used.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?] Invalid response. Please enter a valid
command or '?' for help.
Do you want to continue? [Y/n/?] Would download/install/remove packages.
-- Package-specific info:
aptitude 0.6.3 compiled at Oct 16 2010 18:18:04
Compiler: g++ 4.4.5
Compiled against:
apt version 4.10.1
NCurses version 5.7
libsigc++ version: 2.2.4.2
Ept support enabled.
Gtk+ support disabled.
Current library versions:
NCurses version: ncurses 5.8.20110307
cwidget version: 0.5.16
Apt version: 4.10.1
linux-vdso.so.1 => (0x00007fff213ff000)
libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0x00007f5788059000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f5787e06000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f5787c00000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f5787934000)
libept.so.1 => /usr/lib/libept.so.1 (0x00007f57876d8000)
libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f57872d3000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f57870bc000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f5786e21000)
libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0
(0x00007f5786c05000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f57869e9000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f57866e0000)
libm.so.6 => /lib/libm.so.6 (0x00007f578645d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f5786247000)
libc.so.6 => /lib/libc.so.6 (0x00007f5785ee5000)
libutil.so.1 => /lib/libutil.so.1 (0x00007f5785ce1000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f5785add000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00007f57858d8000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f57856c8000)
librt.so.1 => /lib/librt.so.1 (0x00007f57854c0000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5788382000)
Terminal: screen
$DISPLAY not set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:
aptitude linkage:
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages aptitude depends on:
ii apt [libapt-pkg4.10] 0.8.13 Advanced front-end for dpkg
ii libboost-iostreams1.42. 1.42.0-4 Boost.Iostreams Library
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
ii libcwidget3 0.5.16-3 high-level terminal interface libr
ii libept1 1.0.5 High-level library for managing De
ii libgcc1 1:4.6.0~rc1-3 GCC support library
ii libncursesw5 5.8+20110307-1 shared libraries for terminal hand
ii libsigc++-2.0-0c2a 2.2.4.2-1 type-safe Signal Framework for C++
ii libsqlite3-0 3.7.5-1 SQLite 3 shared library
ii libstdc++6 4.6.0~rc1-3 The GNU Standard C++ Library v3
ii libxapian22 1.2.4-1 Search engine library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages aptitude recommends:
ii apt-xapian-index 0.41 maintenance and search tools for a
ii aptitude-doc-en [aptitude-doc 0.6.3-3.2 English manual for aptitude, a ter
ii libparse-debianchangelog-perl 1.1.1-2.1 parse Debian changelogs and output
ii sensible-utils 0.0.6 Utilities for sensible alternative
Versions of packages aptitude suggests:
ii debtags 1.7.11 Enables support for package tags
pn tasksel <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]