[Yum] I _need_ a way to ignore dependencies in my rpm script.

Jennis Pruett jennyp at lanl.gov
Mon Oct 20 18:09:26 UTC 2008


 Hi All,

I have an rpm script that used to use
 AutoReq: 0
 AutoReqProv: 0
 to ignore meaningless dependencies.

 I know I do NOT need the dependencies that are listed, and I
 have to get this rpm build for a system install.

I know the whole idea is to address dependencies, but sometimes
 there are exceptions to the rule.

Anyone able to tell me how this can be done *within the rpm build script*?

 I know about the --nodeps, yes, and that is not an option.
 It's too complicated to go into.

 rpm -ivh --test
 RPMS/yr-fe1.lanl.gov/idl-7.0.unix-7.0.unix.ptools1.RHEL4.x86_64.rpm

 error: Failed dependencies:
         libclntsh.so is needed by idl-7.0.unix-7.0-unix.x86_64
        libivicu20.so is needed by idl-7.0.unix-7.0-unix.x86_64
       libjawt.so()(64bit) is needed by idl-7.0.unix-7.0-unix.x86_64
       libprocli92.so is needed by idl-7.0.unix-7.0-unix.x86_64

Direct mail would be very much appreciated, but I'll

 monitor the email for a while.

Thanks,
 PJ





More information about the Yum mailing list