[CentOS] Bugs in yum update
Mike -- EMAIL IGNORED
m_d_berger_1900 at yahoo.com
Tue Jan 13 15:00:50 UTC 2009
On Tue, 13 Jan 2009 11:18:37 +0000, Tony Mountifield wrote:
> This suggests that yum is not flushing output, possibly because it
> doesn't think it's stdio is on a tty.
> 1. Were you running yum update locally on the console, or remotely via a
> network connection of some kind, e.g. ssh? If you do it as a direct
> command to ssh (ssh myhost yum update) you might get those symptoms,
> unless you also give -t to ssh: ssh -t myhost yum update
> 2. If you were on the console, were you piping the output of yum through
> something else like tee? e.g. yum update | tee mylogfile
> If so, you might again get the same symptoms. If you want to capture the
> output of the session, use the script command:
> # script mylogfile
> Script started, file is mylogfile
> # yum update
> # exit
> Script done, file is mylogfile
> If neither of the above is applicable, please explain exactly what you
> did, step by step, including what you might consider insignificant.
On the local console, I did:
yum update 2>&1 | tee log
so, as you say, that might account for the
problem. But it is not clear to me why this would be
so. I'll try the script suggestion.
FWIW, the missing output did not appear in the log file.
More information about the CentOS