Re: Rpm-list Digest, Vol 53, Issue 5
"jijun gao" <[email protected]> Fri, 18 Jul 2008 08:58:20 +0800
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
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 2008/7/18 <[email protected]>: > <[email protected]>Today's Topics: > > 1. handling removal of shared file (Victoria Muntean) > > > ---------- 已转发邮件 ---------- > From: "Victoria Muntean" <[email protected]> > To: [email protected] > Date: Thu, 17 Jul 2008 08:43:18 +0300 > Subject: handling removal of shared file > [cross post [email protected], 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 > <[email protected]> > _______________________________________________ > Rpm-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rpm-list