[Yum] Run yum install with RPM Options "--force --nodeps --noscripts" ?

Jim Perrin perrin at ohio.edu
Wed Feb 23 17:29:01 UTC 2005


SOME rpm options are supported, but may have different names. For example, 
there is an --installroot=/your/path/here/ option. However, yum will likely 
never support --force or --nodeps, as they defeat the purpose of a good 
package management system. The --nodeps option for a program that relies on 
tracking dependencies to function properly just seems silly.

--On Wednesday, February 23, 2005 11:59 PM +0800 Steven Shiau 
<steven at nchc.org.tw> wrote:

> Hi,
> I need to install kernel in different root directory so that it can be
> shared with some other diskles clients.
>
> Is that possible to run
> yum install
> with some RPM options ? like "--root /tftpboot/node_root/ --force
> --nodeps --noscripts"
>
> Thanks.
>
> PS. in apt, I did that like this:
> apt-get -y --reinstall -o RPM::RootDir="/tftpboot/node_root/" -o \
> RPM::Install-Options::="--force" -o RPM::Install-Options::="--nodeps" -o \
> RPM::Install-Options::="--noscripts" install kernel-2.x
>
> --
> Steven Shiau
>
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum






More information about the Yum mailing list