Werner:
This annoys me as well. I am using a patched version of yum to work
around the problem. The main reason why I care about this, though, is
that I have scripts which parse the output of 'ts list' and
'check-update', and obviously need the complete information. If it was
not for that fact, this would only be a cosmetic bug.
Here is the patch (against yum source; I just rebuilt the yum RPM):
diff -uNr yum-3.0.1.orig/output.py yum-3.0.1/output.py
--- yum-3.0.1.orig/output.py 2006-09-08 09:32:51.000000000 -0400
+++ yum-3.0.1/output.py 2007-06-18 22:14:57.000000000 -0400
@@ -65,7 +65,7 @@
na = '%s.%s' % (pkg.name, pkg.arch)
repo = pkg.returnSimple('repoid')
- print "%-40.40s %-22.22s %-16.16s" % (na, ver, repo)
+ print "%-40s %-22s %-16s" % (na, ver, repo)
def infoOutput(self, pkg):
On Tue, 27 Nov 2007, werner maes wrote:
hello
does anobody how to make the columns in yum output wider?
e.g.
(1/10): firefox-1.5.0.12- 100% |=========================| 20 MB 00:07
I would like to see firefox-1.5.0.12-7.el5.i686.rpm
or another example
yum list all -d 5 --disablerepo=rhel5 |grep compat-open
compat-openldap.i386 2.3.27_2.2.29-8.el5_1.
rhel-i386-server
I would like to see 2.3.27_2.2.29-8.el5_1.1 (the complete revision number)
any ideas?
werner
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list