[ILUG] RPM trickery
Kenn Humborg
kenn at bluetree.ie
Thu Sep 7 16:34:04 IST 2000
> 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
More information about the ILUG
mailing list