[ILUG] RPM trickery

Dave O Connor doc at redbrick.dcu.ie
Thu Sep 7 16:30:32 IST 2000


Someone called Stephen Shirley said on Thu, Sep 07, 2000 at 04:24:57PM +0100:
> 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?
> 
Try with --root=/home/diamond/

It'll chroot itself to /home/diamond, and install there (i.e. glimmer goes in
/home/diamond/usr/bin/glimmer.

	- DoC




More information about the ILUG mailing list