Re: Bugs in yum update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.
> 
> Cheers
> Tony

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.

Thanks,
Mike.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux