Mailinglist Archive: opensuse (3729 mails)

< Previous Next >
Re: [SLE] RPM redirection
  • From: Rikard Johnels <rjhn@xxxxxxxx>
  • Date: Sat, 21 Jun 2003 16:05:05 +0200
  • Message-id: <200306211605.09998.rjhn@xxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 21 June 2003 15.54, Rikard Johnels wrote:
> Hello all..
>
> I am trying to get RPM to install the kernel source in a different
> location. Usally they end up in /usr/src as expected, but i want them in
> /some/other/place
> I rtfm, but i cant figure out how to redirect the files...
>
> How to?
> --


I tried:
# rpm -i --relocate /usr/src/=/extra/hdd/OS/SuSE/axp/kernel/
linux-2.4.19-3.alpha.rpm

error: failed dependencies:
gcc is needed by linux-2.4.19-3

# rpm -i --nodeps --relocate /usr/src/=/extra/hdd/OS/SuSE/axp/kernel/
linux-2.4.19-3.alpha.rpm
package linux-2.4.19-3 is for a different architecture
path /usr/src is not relocateable for package linux-2.4.19-3

# rpm -i --nodeps --ignoreos --relocate
/usr/src/=/extra/hdd/OS/SuSE/axp/kernel/ linux-2.4.19-3.alpha.rpm
package linux-2.4.19-3 is for a different architecture
path /usr/src is not relocateable for package linux-2.4.19-3

# rpm -i --nodeps --ignoreos --badreloc --relocate
/usr/src/=/extra/hdd/OS/SuSE/axp/kernel/ linux-2.4.19-3.alpha.rpm
package linux-2.4.19-3 is for a different architecture

I am out of ideas here....



- --

/Rikard

- ------------------------------------------------------------------------------------
Rikard Johnels email : rjhn@xxxxxxxx
Web : http://www.rikjoh.com
Mob : +46 70 464 99 39

- ------------------------ Public PGP fingerprint ----------------------------
< 15 28 DF 78 67 98 B2 16 1F D3 FD C5 59 D4 B6 78 46 1C EE 56 >
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE+9GYUWdS2eEYc7lYRAtEqAKD/5d6Flc2ih8HvPPCzG92rJ7LmVgCdEQxk
pAl93iDdR8RJCTejaaG4a94=
=p9gH
-----END PGP SIGNATURE-----


< Previous Next >
References