Hi

I built a relocatable package, and I'm trying to install it on another
system with a different OpenPKG root. Using e.g.
rpm --prefix /home/username/openpkg <pkg>.rpm

results in
error: unpacking of archive failed on file /home/usernameopenpkg: cpio:
 open failed - Permission denied

I.e. At some stage too many /es get removed from the pathname.

Using two //es gets further:
rpm --prefix /home/username//openpkg <pkg>.rpm

results in
error: can't unlink /home/username/openpkg-RPMDELETE: Is a directory
error: can't rename /home/username/openpkg to
/home/username/openpkg-RPMDELETE: Is a directory
error: unpacking of archive failed on file /home/username/openpkg: cpio:
unlink failed - Is a directory

This is with OpenPKG CURRENT compiled from source on Redhat-7.3, with
e.g. joe-2.9.8-20030506.

'Normal' rpm on the same system does relocations correctly.

Any ideas how to do relocations properly? Or is the second behaviour
also a bug?

Thanks!

Conrad



-- 
Conrad Steenberg <[EMAIL PROTECTED]>

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to