On Fri, 4 Mar 2011, Panu Matilainen wrote:

On 03/04/11 13:00, Thomas Goirand wrote:
On 03/03/2011 06:02 PM, Panu Matilainen wrote:
The only real fix to the issue is to eliminate the loop, ie fix the
packaging.

install failure here with
# yum <...> install basesystem centos-release yum wget which yum-basearchonly nano rsyslog passwd joe screen

It looks like the long known problem seen in building chroots with circular dependencies (usually manually [and improperly added] by well meaning packagers) and un-called out script members

Usually I solve it by running a 'rpm --nodeps --noscripts -U *.rpm' install pass first, and then following with a 'rpm --force -U *.rpm' phase to run the scripts, once matter needed in %pre and %post scripts are present.

Essentially, an anaconda mediated installation is done '--nodeps' in a transaction set ordering, is a similar workaround

I am not aware that yum has such an option for such low level rpm jiggery-pokery, and frankly, it is probably outside of the scope of yum to have such options

-- Russ herrold
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to