[plug] rpm problems

Paul Dean paul at thecave.cantech.net.au
Tue May 7 22:55:25 WST 2002


Hya,

As rpm --help defines;

 --prefix=<dir>                   relocate the package to <dir>, if
                                    relocatable
 --relocate=<old>=<new>
				      relocate files from path <old> to
				      <new>

"prefix" says it will work "IF" it is possible and "relocate" will also
depend on the "IF" fator too. But you may try;

 --badreloc[|=0x8]                relocate files in non-relocateable
 package

I think this is the switch you are looking for.

Hope this helps..


On Tue, 7 May 2002, Rob Dunne wrote:

> Thanks -- moving /usr/share/doc made enough room and it installed.
> 
> Can you see why the --relocate and --prefix options did not work?
> 	
> 						bye
> 						rob
> 
> Paul Dean writes:
>  > Hya,
>  > 
>  > Ok you need 14 mb for the program, but rpm may require alot more than
>  > that, as in "tmp" space to install the package.
>  > 
>  > Maybe `rm /usr/share/doc/*` to give you some space, or try `rpm -ivh
>  > intel-mkl_p-5.1-2.i386.rpm --excludedocs` , this may help too.
>  > 
>  > Hope this helps.
>  > 
>  > 
>  > On Tue, 7 May 2002, Rob Dunne wrote:
>  > 
>  > > Hi pluggers,
>  > >              I'm having a problem with rpm.
>  > > It wont install a package because it needs 14Mb on the / filesystem.
>  > > However there is plenty of room on /
>  > > 
>  > > Also --relocate and --prefix give strange errors. If I want
>  > > a prefix of /home/robd/intel2 it complains that it cant 
>  > > make /home/robdintel2 
>  > > 
>  > > any ideas welcome
>  > > 						bye
>  > > 						rob
>  > > 
>  > >                                         
>  > > 
>  > > 1146 anville% rpm --install intel-mkl_p-5.1-2.i386.rpm
>  > > installing package intel-mkl_p-5.1-2 needs 14Mb on the / filesystem
>  > > 
>  > > 1147 anville% df
>  > > Filesystem           1k-blocks      Used Available Use% Mounted on
>  > > /dev/sda1              2016016   1821628     91976  96% /
>  > > 
>  > > 
>  > > 1154 anville% sudo rpm --install --relocate /opt/intel=/local/local/intel intel-mkl_p-5.1-2.i386.rpm
>  > > error: can't unlink /local/localintel-RPMDELETE: Is a directory
>  > > error: can't rename /local/localintel to /local/localintel-RPMDELETE: Is a directory
>  > > error: unpacking of archive failed on file /local/localintel: cpio: unlink failed - Is a directory
>  > > 
>  > > 
>  > > 1157 anville% sudo rpm --install --prefix /home/robd/intel2 intel-mkl_p-5.1-2.i386.rpm
>  > > error: unpacking of archive failed on file /home/robdintel2: cpio: mkdir failed - Permission denied
>  > > 
>  > > 
>  > 
>  > -- 
>  > Paul...
>  > 
>  > /***** Experience is that marvelous thing that enables you to 
>  > 	recognize a mistake when you make it again. 
>  > 	-- Franklin P. Jones *****/
>  > 
>  > /*****All programmers are playwrights and all computers are lousy actors.
>  >             -- Unknown*****/
>  > 
>  > /* How smart are Computers? They seem to need instructions all the time... 
>  > 	-- Me */
> 
> 

-- 
Paul...

/***** Experience is that marvelous thing that enables you to 
	recognize a mistake when you make it again. 
	-- Franklin P. Jones *****/

/*****All programmers are playwrights and all computers are lousy actors.
            -- Unknown*****/

/* How smart are Computers? They seem to need instructions all the time... 
	-- Me */



More information about the plug mailing list