LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] RPM trickery

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell