Re: Yum Package Remove Order

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

 



Hi, 

Why are you creating these directories in %post in the firs place?

If you create them in %install (empty) and own them regularly in %file and do the same on
the other packages that install thins on it, they will be properly removed when the last
RPM that owns them go away.

Regards,
Fernando

----- Original Message -----
> From: "Mark Bidewell" <mbidewel@xxxxxxxxx>
> To: "Development discussions related to Fedora" <devel@xxxxxxxxxxxxxxxxxxxxxxx>
> Sent: Friday, November 30, 2012 9:11:54 AM
> Subject: Yum Package Remove Order
> 
> 
> 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?
> 
> 
> Thanks.
> 
> 
> --
> Mark Bidewell
> http://www.linkedin.com/in/markbidewell
> 
> --
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/devel
-- 
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