On Tue, 24 Jul 2007, Michael Dengler wrote:
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.
For rpm to suggest dependency resolutions you'll need to have a "solve database" available, for example on RHL, early FC and RHEL <= 4 this is called rpmdb-redhat, newer releases don't have that anymore.
- Panu - _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list