Re: files getting overwritten

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

 




On May 8, 2008, at 1:19 AM, rpm-list-request@xxxxxxxxxx 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
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux