Re: files getting overwritten

Zac Elston <[email protected]> Fri, 9 May 2008 10:58:28 -0400
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
On May 8, 2008, at 1:19 AM, [email protected] wrote:

>> I'm attempting to demonstrate how RPMs will save the developer's butt
>> by not allowing a file to be overwritten and during my demo, PackageB
>> overwrites PackageA's file
>>
>> [root@webd-m01 ~]# rpm -q --whatprovides /usr/local/testfile
>> psi-test-1-dev
>> psi-retest-2-dev
>>
>> what did I do wrong?
>
> Nothing, as long as the file is the *same* (content, checksum,  
> permissions,
> timestamp, etc), then it's perfectly legal to be owned by multiple  
> pkgs.
>
>

$ cat psi-test/testfile
ithis is from psi-test
$ cat psi-retest/testfile
this is from retest

$ cat psi-retest/testfile |md5sum
995d311d3427b79c74090566eeadb78d  -
$ cat psi-test/testfile |md5sum
80e19d61c34a1879546740c1aa44625b  -

your serve.

-zac

_______________________________________________
Rpm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rpm-list