Making Suggestions for dependency resolution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

How do I make a suggestion when an rpm dependency is not met?

ie:

My spec file for mypackage-1.0-1.i386.rpm:

Requires: somepackage

I'd like rpm to suggest a full package name for somepackage when the user tries to install the mypackage-1.0-1.i386.rpm

eg:

rpm -ivh mypackage-1.0-1.i386.rpm
error: Failed dependencies:
        somepackage is needed by mypackage-1.0-1.i386
suggestion:
        somepackage-0.9-1.i386.rpm

I thought I'd seen this behaviour before when installing rpms but can't seem to find any info on it.

Any help is greatly appreciated.

Thanks

Mike




_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux