Description of problem: When yum downloads packages and prints out progress messages, the lines are truncated so they don't show what is being downloaded. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: sts-rhel5.4 x86_64 1-1.el5 mspqa 621 k Installing for dependencies: collie x86_64 0.14-1.el5 mspqa 40 k gxpp x86_64 1.0-1.el5 mspqa 12 k Transaction Summary ================================================================================ Install 3 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 673 k Is this ok [y/N]: y Downloading Packages: (1/3): g (2/3): c (3/3): s -------- Total Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : collie 1/3 Installing : gxpp 2/3 Installing : sts-rhel5.4 3/3 Installed: sts-rhel5.4.x86_64 0:1-1.el5 Dependency Installed: collie.x86_64 0:0.14-1.el5 gxpp.x86_64 0:1.0-1.el5 Complete! Version-Release number of selected component (if applicable): yum-3.2.22-10.el5 How reproducible: Every time Steps to Reproduce: 1. yum install anything Actual results: download messages are incomplete Expected results: The complete package name should be printed while packages are being downloaded. Additional info:
I can't reproduce this ... can I have access to the box this is happening on? Are you doing anything "weird", like pipe output to expect?
Nate, ping?
Sorry, I must have missed your earlier add. This appears to be a problem when I run yum via the serial console. I just tried it over a serial console and via ssh. The serial console still truncated the output, but the ssh session looked correct.
Ahh, right ... yeh, this is a urlgrabber "bug" in that we call fcntl.ioctl(fd, termios.TIOCGWINSZ, buf) ... and it reutrns 0. yum itself works around this by doing 0 == 80, which should probably be moved down into urlgrabber itself. I'll propose for 5.5
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
urlgrabber is on the 5.6 list, so we should fix this too.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0038.html