Re: Yum Package Remove Order

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

 



On Fri, Nov 30, 2012 at 09:11:54AM -0500, Mark Bidewell 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?

Requires(postun) should do it.

-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mattdm@xxxxxxxxxxxxxxxxx>
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux