you just place a copy of the shared file at other place
after you remove package C, you mv the copy to the orginal place
try it , I have no idea if it will work
after you remove package C, you mv the copy to the orginal place
try it , I have no idea if it will work
2008/7/18 <rpm-list-request@xxxxxxxxxx>:
Today's Topics:
1. handling removal of shared file (Victoria Muntean)
---------- 已转发邮件 ----------
From: "Victoria Muntean" <vikimun@xxxxxxxxx>
To: rpm-list@xxxxxxxxxx
Date: Thu, 17 Jul 2008 08:43:18 +0300
Subject: handling removal of shared file[cross post rpm-list@xxxxxxxxxx, usenet group linux.redhat.rpm ]I have 3 specfiles for 3 [somehow related] packages, A, B, C.All 3 specfiles include same configfile /etc/abc_common.cfg.
When I remove package C, rpm -e removes file /etc/abc_common.cfg,
even though A and B are still installed. This breaks packages A and B.
How to make rpm keep shared file until last package that uses it is
removed ?
Thanks
Viki
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list