Re: files getting overwritten

Rex Dieter <[email protected]> Wed, 07 May 2008 16:18:11 -0500
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
Zac Elston wrote:

> Greetings.
> 
> 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.

-- Rex