Bug#42284: apt: apt-get -qy dselect-upgrade won't run in the background
Package: apt
Version: 0.1.9
Hi,
I'm one of two administrators for a small Debian box. To keep each other
informed, we post small notes about package installations/removals to a
list; however, when one of us is doing some cleanup using dselect, the
changes are far too many to memorize, and so I use the following commands:
apt-get -qy dselect-upgrade >instlog 2>&1 & (sleep 1; tail -f instlog)
However, nothing happens then, and when I Ctrl-C tail, I get a message
stating that apt-get had been suspended because it expected tty input.
Running it in the foreground with output redirected works fine without
asking any questions, though.
Simon
-- System Information
Debian Release: 2.1
Kernel Version: Linux phobos 2.2.10 #1 Sat Jun 19 17:39:45 CEST 1999 i486 unknown
Versions of the packages apt depends on:
ii libc6 2.0.7.19981211 GNU C Library: shared libraries
ii libstdc++2.9 2.91.60-5 The GNU stdc++ library (egcs version)
--- Begin /etc/apt/sources.list (modified conffile)
deb ftp://ftp.de.debian.org/debian stable main contrib non-free non-US
deb http://security.debian.org/ stable updates
--- End /etc/apt/sources.list
Reply to: