Re: Installing dependencies only
- From: Anne Wilson <cannewilson@xxxxxxxxxxxxx>
- Date: Sun, 26 Mar 2006 13:38:40 +0100
On Sunday 26 March 2006 13:23, Paul Smith wrote:
On 3/26/06, Anne Wilson <cannewilson@xxxxxxxxxxxxx> wrote:
Is it possible with yum and with only one instruction to install
not a certain package but all its dependencies?
That is the normal behaviour. You ask for one package, and if you
already have all the dependencies you will get one package. If you
haven't got them all you may find that it says it needs to install 3
or more. It always asks permission before installing.
Thanks, Anne, but it is not what I wanted to mean: imagine that the
package x.rpm has, as dependencies, the packages y.rpm and z.rpm; in
this case, I would like to install only the dependencies, i.e., only
y.rpm and z.rpm, and NOT x.rpm.
All I can suggest, then, is to ask yum for the original package, then
when it lists the necessaries, reject the install and give a new yum
command listing the required dependency packages.
It seems a rather strange requirement, so telling the reason for the
requirement may spark of some better solution from a more knowledgeable
poster.
Taking my example above, x.rpm is not supplied by any repository;
then, a simple method to install it is
yum localinstall x.rpm
With this procedure, I will know the dependencies, which I will install
before
rpm -ihv x.rpm
as "yum localinstall" is not able to install x.rpm due to the fact
that x.rpm is not signed.
Hmm - when the unsigned install failed, didn't it tell you what was missing?
I don't think there's a one-click solution to this, but it shouldn't be very
hard to track down the dependencies. I think that when I needed an unsigned
one installed I used rpm -Uvh to install it, though.
Anne
Attachment:
pgpOgS2RpKTmA.pgp
Description: PGP signature
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- Installing dependencies only
- From: Paul Smith
- Re: Installing dependencies only
- From: Anne Wilson
- Re: Installing dependencies only
- From: Paul Smith
- Installing dependencies only
- Prev by Date: Re: Security: Macromedia Flash 7.0.63- question
- Next by Date: Re: Security: Macromedia Flash 7.0.63- question
- Previous by thread: Re: Installing dependencies only
- Next by thread: Re: Installing dependencies only
- Index(es):
Relevant Pages
|