> Mornin',
> I have a user account on a machine which I want
> to install an rpm on. I do not have root access, but I
> want to try install the rpm into my own directory. I have
> already created an rpm db in my home dir using
> rpm --initdb --dbpath=/home/dimaond/myrpm/
> But when I try to install the package using
> rpm -Uvh --dbpath=/home/diamond/myrpm glimmer.rpm
> I get
> glimmer unpacking of archive failed on file
> /usr/bin/glimmer: cpio: open failed - Permission denied
> Any ideas?
Use rpm --root <dir> to specify a new root. All paths
(including dbpath) will then be relative to this. So
you'll end up with /home/diamond/usr/bin/...
Also try rpm --relocate if it is a relocatable package
(which is probably won't be).
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!