Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   RPM Package Manager (http://www.linux-archive.org/rpm-package-manager/)
-   -   Rpm-list Digest, Vol 53, Issue 5 (http://www.linux-archive.org/rpm-package-manager/126881-rpm-list-digest-vol-53-issue-5-a.html)

"jijun gao" 07-18-2008 12:58 AM

Rpm-list Digest, Vol 53, Issue 5
 
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 <rpm-list-request@redhat.com>:

Today's Topics:



* 1. handling removal of shared file (Victoria Muntean)



---------- 已转发邮件 ----------
From:*"Victoria Muntean" <vikimun@gmail.com>
To:*rpm-list@redhat.com
Date:*Thu, 17 Jul 2008 08:43:18 +0300

Subject:*handling removal of shared file

[cross post rpm-list@redhat.com, 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@redhat.com

https://www.redhat.com/mailman/listinfo/rpm-list


_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list


All times are GMT. The time now is 05:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.