[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cobbler
Subject:    Yumdownloader and dependencies
From:       Brian Wong <bwlist () gmail ! com>
Date:       2010-07-26 21:59:38
Message-ID: AANLkTi=Ne8=-F9ib0umfKTDBByiaNsspyvxqoLKAXtjZ () mail ! gmail ! com
[Download RAW message or body]

Cobbler list,
When running `cobbler reposync` on a locally mirrored repository with
a defined rpm-list, the dependencies are not always downloaded. The
circumstances in which the dependencies are not downloaded actually
depend on the packages installed on the server running cobbler. The
cobbler servers configuration should not have any factor in repository
mirroring.

For example, if I have a hypothetical package named 'foo' and I add it
to the rpm-list of a locally mirrored repository, the dependency 'bar'
will not be downloaded and mirrored if the cobbler machine itself has
the 'bar' package installed. Since the dependency is satisfied on the
system which cobbler resides, yumdownloader does not think it is
necessary to download that package. This causes a problem when a
system is provisioned through cobbler and configured to use this
repository. When the provisioned system tries to install package 'foo'
through yum, there will be missing dependencies because the repository
does not have 'bar'. This is a consequence of yumdownloader being run
from the cobbler server, which is unavoidable.

Ideally, Cobbler should not check against the repo database of the
system from whch cobbler is running, but should resolve dependencies
against what is available in the repos that cobbler is mirroring. This
is not a trivial task though, because Cobbler does not manage
repositories from a Systems perspective. Cobbler would not know which
repositories a given system will have access to and therefore it may
still be useless to ensure that the dependency exists in at least one
other repository definition.

Thoughts?
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic