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

Re: files getting overwritten




On May 8, 2008, at 1:19 AM, rpm-list-request redhat com 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

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