Package: aptitude
Version 0.2.15.9-3
Severity: serious

I've recently noticed that aptitude, run from cron to update my unstable
chroot, is apparently hanging and definitely using all available CPU time.

The problem command (which was previously working well) is this:
  aptitude -y -d upgrade

I tried that from a shell prompt and aptitude promptly asked a question about
the installation of untrusted packages, which pointed me towards input
redirection...

  yes | aptitude -y -d upgrade
isn't enough: aptitude spins, continually complaining about unrecognised
input then reasking the question. Similarly if I redirect input to be from
/dev/null or press Ctrl-D when it asks. (It's as well that I have stdout
redirected to /dev/null in my cron script...)

I've just rechecked without '-y' and it now hangs when asking whether you
want to continue.

If EOF is reached on stdin, aptitude should assume "no" unless told "-y"; and
the untrusted packages prompt should be reduced to a warning if packages are
to be downloaded but not installed.

-- 
| Darren Salt   | nr. Ashington, | linux (or ds) at
| sarge,        | Northumberland | youmustbejoking
| RISC OS       | Toon Army      | demon co uk
|   Retrocomputing: a PC card in a Risc PC

If I save the whales, where do I keep them?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to