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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx
> https://lists.dulug.duke.edu/mailman/listinfo/yum




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux