On Mon, 12 Apr 2004, Mark Hatle wrote: > The only time breaking up the list is necessary is if the list becomes > longer then the max arg length. In that case you can put all of the > packages you want to install/upgrade into a text file and pass the text > filename to RPM.. (just note that you have to have at least two names > listed or RPM doesn't want to work with the text file..) :| > You can have only one, the problem was that at one point it expected the file to be a certain size of more. To work around this I create a manifest with some leading comments to make it that exact size: # 96 bytes (at least) of fabulous comments due to: # # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=89006 # (-; > Also on an erase option, the text file approach doesn't work so you have > to place games if you want to try to do something like that for rpm -e. > And kernel installs have to go in seperate transaction...sigh. librpm supports this, but I have not moved to it yet. > (yes I have hit max argument length before.. real pain..) > Seems to not be a problem with latest versions of bash, but I too have seen this on other OS's so I program defensively. Cheer...james _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list