OT: yum truncating

Jack Tanner ihok at hotmail.com
Sat Aug 27 16:58:34 UTC 2005


Jeff Spaleta wrote:
> below a certain length as much as possible.  There is a physical
> constraint here.. 80 columns is very much a defacto standard..even
> email clients understand that and attempt to respect that 79/80 column
> line limit.  If packagenames inside this project need a 120 column
> terminal to uniquely identify and use.. thats a package naming policy
> problem.

But long filenames are a fact of life. They're more descriptive, and 
people like to use them, hardware limitations be damned.

> # rpm -ivh xorg-x11-driver-video-radeon-1-2.i386.rpm
> Preparing...                ########################################### [100%]
>  1:xorg-x11-driver-video-rad########################################### [100%]

So rpm makes a decision to display more hash signs than filename. That's 
nuts, isn't it? It could just as easily display something like this, 
where each hash stands for a 10% increment.

# rpm -ivh xorg-x11-driver-video-radeon-1-2.i386.rpm
Preparing...                                          ########## [100%]
  1:xorg-x11-driver-video-radeon-1-2.i386.rpm          ########## [100%]

If the hashes were so dear, you could have a display like this, which 
gives you much more room for the filename (over 70 chars).

# rpm -ivh xorg-x11-driver-video-radeon-1-2.i386.rpm
Preparing...                                          ########## [100%]
  1:xorg-x11-driver-video-radeon-1-2.i386.rpm
################################################################ [100%]

Same for yum, I imagine.




More information about the fedora-devel-list mailing list