[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Doesn't "rpm -e" erase in reverse dependency order?



Jos Vos wrote:

On Thu, Feb 23, 2006 at 12:31:45PM -0800, Frank Cusack wrote:

Sure it does.  If I 'rpm -i foo.rpm bar.rpm baz.rpm', they are installed
in the correct order based on dependencies.  Or did I just imagine that?

Yes, but that was not what then question was about, AFAIK (or I have
misinterpreted it).   It was not about packages on the command line,
but about finding other packages that could be removed when a certain
package was removed.

Actually, the question was exactly that. I observed that if you say:

# rpm -e foo bar baz

it may choose to erase foo prior to bar, even though bar depends on foo.

This means I cannot rely on the existence of features witn %postun scriptlets, for example.
--
cg



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]