Michael Dengler
2007-07-24 20:37:55 UTC
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
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