Failed dependencies on /usr
"ELASRI Patrice SOFRECOM" <[email protected]>
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <8F97125A217C9A4E919BA0B9121C2479A81713@PUEXCBC0.nanterre.francetelecom.fr> |
Hi,
I have built a package located by default under /usr/local.
When I try to install it, I'm returned the following error :
$ rpm -U sof-u-2.1.2-1.noarch.rpm
error: Failed dependencies:
/usr is needed by sof-u-2.1.2-1.noarch
If I relocate the package, I'm returned the following error, with
dependencies on original paths :
$ rpm -U --define "_autorelocate_path %{nil}" --prefix
/usr/local/sofrecom sof-u-2.1.2-1.noarch.rpm
error: Failed dependencies:
/usr is needed by sof-u-2.1.2-1.noarch
/usr/local is needed by sof-u-2.1.2-1.noarch
/usr/local/etc is needed by sof-u-2.1.2-1.noarch
...
The _autorelocate_path macro setting is necessary. Otherwise, the
package is installed under /emul/noarch-hpux11.23 !!!
I'm using rpm 4.4.7 which I have built on HPUX 11.23 / ia64. The RPM
database was initialised with a pseudo package providing usual
interpreters ( /bin/sh, /bin/ksh, /bin/perl, ... ).
Regards,
mailto: [email protected] <mailto:[email protected]>
phone: +33 1 43985883
_______________________________________________
Rpm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rpm-list