Yum Package Remove Order
Bruno Wolff III
bruno at wolff.to
Fri Nov 30 14:39:47 UTC 2012
On Fri, Nov 30, 2012 at 09:11:54 -0500,
Mark Bidewell <mbidewel at gmail.com> wrote:
>I have been working on packaging software into RPMs for my company. These
>RPMs create directories in %post into which dependent RPMs install
>components. If I yum remove the main package it will be erased first by
>yum prior to erasing the dependent packages. When the uninstall scripts
>for the dependent packages run, they may fail due to files and directories
>being missing that they expect from the main package leaving things in an
>inconsistent state. Is this a bug or known behavior we need to account for
>in some way?
Which way are the dependencies? Normally the packages are removed so that
packages which are depended on by other packages, are not removed until
after the packages that depend on them have been removed.
More information about the devel
mailing list