Dave wrote:
> Wow, I got a lot of help on searching RPM and info from the Ping thread
> below, now for a quick question.
>
> When installing a package it sometimes referrs to needing it's dependencys
> for installation. Is there a way to have it install all it's dependencys
> automaticly?
>
> D.
Not that I know of. I usually move the rpms that satify the dependencies to
a tmp directory and use rpm -Uvh * Primarily so I can add the dependencies
for the dependencies too. You could also place the file names in a file and
feed it into the rpm statement like so :
rpm -Uvh $(cat fileWithRpmNames)
I may actually try this next time. seems like something like:
rpm -Uvh initialpackage.rpm > rpm.out
edit rpm.out so that all there is is the fully qualified path to package
names spit out as dependencies
then run:
rpm -Uvh $(cat rpm.out)
Might actually work.
There is a query option to rpm that will printout the dependencies and you
could probably automate the instllation of it but it is safer to actually see
what you are doing and getting the rpm files from where you want.
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list