Help!

rpm not showing the Relocations

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management RSS
Next:  [gentoo-user] dvdrip help  
Author Message
ctippur
External


Since: Jul 05, 2005
Posts: 6



PostPosted: Wed Mar 08, 2006 1:55 pm    Post subject: rpm not showing the Relocations
Archived from groups: linux>redhat>rpm (more info?)


All,

I have a package that I am trying to install using RPM. This is the
command I use to install. ( Note that I am using --relocate)

rpm -i --nodeps --relocate /=/home/user/app $packagename

Installation goes through fine but when I query the rpm package as in
rpm -ql $packagename, I still get the Relocations as / instead of
/home/user/app.

# rpm -qi mypackage-3.0-1.i386
Name : mypackage Relocations: /
Version : 3.0 Vendor: ViKtor
Release : 1 Build Date: Wed 08 Mar 2006
03:53:29 PM EST
Install Date: Wed 08 Mar 2006 05:02:31 PM EST Build Host: RH1
Group : System Environment/Base Source RPM:
mypackage-3.0-1.src.rpm
Size : 2877 License: ViKtor
Signature : (none)

I appreciate any help.

Thanks,
Shekar
Back to top
J.O. Aho
External


Since: Mar 26, 2004
Posts: 2257



PostPosted: Wed Mar 08, 2006 6:55 pm    Post subject: Re: rpm not showing the Relocations [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

wrote:
> All,
>
> I have a package that I am trying to install using RPM. This is the
> command I use to install. ( Note that I am using --relocate)
>
> rpm -i --nodeps --relocate /=/home/user/app $packagename

Do you do this as the 'user' or as root?
If you do it as 'user', then it usually don't have write right to the rpmdb,
and if you do have the package installed as root too on the system, then it
would show where root did install it. Remember that the -i option don't remove
packages (yous should use -F or -U for that).

Another option that may make things to show up as you want is the --badreloc
not sure if any of these are relevant or will do anything for your problem.


//Aho
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> PRM - Partner Relationship Management All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum