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
_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list
05-07-2008, 09:50 PM
"Richard Shade"
files getting overwritten
On Wed, May 7, 2008 at 3:17 PM, Zac Elston <Zac.Elston@metavante.com> 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
what did I do wrong?I am considering from this context that PackageA=psi-test-1-dev, and PackageB=psi-retest-2-dev. If so I think you also need
%config(noreplace) /usr/local/psi/testfile in PackageB instead of just leaving it under files.
Richard Shade
RightScale
http://www.rightscale.com/
_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list
05-08-2008, 08:53 AM
devzero2000
files getting overwritten
In reality the file isn't overwritten, there isn't "conflict": the md5sum is the same, the perm also ecc. And this, in rpm, is OK.
In fact if you remove a package only, the file testfile is not* removed as well: the other package own it.
OTHO,* if you change in a spec file only the perm for example
(or the file content ) there is a true conflict and it is possible to install only one rpm: rpm refuse to install the other.
In conclusion, the behavior of the RPM is corrected avoiding the real
conflicts
Best Regards
2008/5/7 Richard Shade <rshade@rightscale.com>:
On Wed, May 7, 2008 at 3:17 PM, Zac Elston <Zac.Elston@metavante.com> 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
what did I do wrong?I am considering from this context that PackageA=psi-test-1-dev, and PackageB=psi-retest-2-dev. If so I think you also need
%config(noreplace) /usr/local/psi/testfile in PackageB instead of just leaving it under files.
Richard Shade
RightScale
http://www.rightscale.com/
_______________________________________________
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
05-09-2008, 02:58 PM
Zac Elston
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
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/testfileithis is from psi-test$ cat psi-retest/testfilethis is from retest
$ cat psi-retest/testfile |md5sum995d311d3427b79c74090566eeadb78d *-$ cat psi-test/testfile |md5sum80e19d61c34a1879546740c1aa44625b *-
your serve.
-zac_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list
05-09-2008, 03:14 PM
Zac Elston
files getting overwritten
On May 8, 2008, at 1:19 AM, rpm-list-request@redhat.com wrote:Subject: files getting overwritten
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