Need a way to update an RPM install base (files) for the next generation Honeywall. I asked about this earlier and you suggested using --installroot but I cant figure out a way to make this work. I already know Perl/Shell/Sed/awk so I'm using a combo of them and what I'm able to barrow from yum... In short: (1) build a $name.$arch -> $epoch:$filename hash (perl + use RPM2;) from the RPM files (2) Use the $keys from the hash in (1) and yum with modified output.py to "list available" $all_name.arch (Side note: you can send a list of 548 package names.archs to 'list available' with no problem ;P) (3) "Screen Scrape" (c) Seth Vidal the output of (2) and create a hash of "available" $name.$arch -> $epoch:$filename (4) Go through the $keys of (1) and if defined $val in (3) send both $val's off to "isnewer.py" which is a modified version of your string comparison code that will give me back the newer of the two $value's I know... its ugly... any suggestions until I learn more python? You would be my best friend in the whole world if I could someday wake up and: yum update $dir and have yum update individual files within $dir. Dependancy checks seem to be working with the temp RPM DB + rpm --test -Uvh trick... I looked at using yum-arch -n but we have rpms in differnt dirs so I'd have to figure that out... BTW: Is yum-arch's ability to do dependancy checking "depricated" or just its ability to correctly creat yum repos? (no meta data) Thanks for any feedback anyone can offer Earl --- seth vidal <skvidal@xxxxxxxxxxxx> wrote: > On Tue, 2005-03-01 at 21:37 -0800, Earl wrote: > >Screen scrape <grin> got me on that one... > > > >Now why would I want to go be all original when I > can > >just beg for help then > > > >- print "%-40.40s %-22.22s %-16.16s" % (na, ver, > repo) > >+ print "%s %s %s" % (na, ver, repo) > > > >and get what I need? :) > > > sounds like you got what you want. > > though I'd suggest you look at what you're doing and > see if it's more > worth your while to write your script in python and > just import the yum > module. > > What are you doing anyway? > > -sv > > > _______________________________________________ > Yum mailing list > Yum@xxxxxxxxxxxxxxxxxxxx > https://lists.dulug.duke.edu/mailman/listinfo/yum > __________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/