[Yum] Resolve dependencies while "yum downgrade" process
Paul Howarth
paul at city-fan.org
Thu Nov 19 08:00:53 UTC 2009
On Thu, 19 Nov 2009 02:27:30 +0300
devel anaconda <anaconda-devel at yandex.ru> wrote:
> Hello everybody.
>
> Please, enlighten me, what should I do to make my yum-3.2.23 resolve
> dependencies when I do yum downgrade?
>
> I have program-0.0.2 that depends on lib-0.0.2
> I want to downgrade to program-0.0.1 that depends on lib-0.0.1
>
> When I do "yum downgrade program-0.0.1", it breaks due to unresolved
> dependencie :( But when I type "yum downgrade program-0.0.1
> lib-0.0.1" - everything is fine, I can downgrade it. Why? No, not
> like that. WHY?!? yum doesn't make depsolve? :) Is there any chances
> to make me happy? May be some unofficial patches?
Not the answer you're looking for, but an approach often used for
libraries is to package compat-lib-0.0.1, which can be installed at the
same time as lib-0.0.2. A downgrade of program-0.0.2 to program-0.0.1
would then be able to pull in compat-lib-0.0.1 to satisfy the
dependency.
Paul.
More information about the Yum
mailing list