Lundgren, Andrew
2008-Jan-10 16:58 UTC
[Lustre-discuss] e2fsprogs-1.40.2.cfs5-0redhat.x86_64.rpm install conflicts with e2fsprogs-libs-1.39-10.el5.rpm
I am working with CentOS 5 and e2fsprogs-1.40.2.cfs5-0redhat.x86_64.rpm. I had to build the rpm myself from the source rpm as the version on the distribution site is built with db4-4.2 and the CentOS distro comes with db4-4.3. Not a concern there. However when I go to install the RPM with the --upgrade option it complains that there is a conflict with e2fsprogs-libs-1.39-10.el5.rpm Is there a newer version of the libs as well? I did a --force on the install to proceed, but I am concerned that this may cause more problems. What is the correct solution? Thank you! -- Andrew Lundgren -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20080110/f56cd58f/attachment-0002.html
Andreas Dilger
2008-Jan-10 22:00 UTC
[Lustre-discuss] e2fsprogs-1.40.2.cfs5-0redhat.x86_64.rpm install conflicts with e2fsprogs-libs-1.39-10.el5.rpm
On Jan 10, 2008 09:58 -0700, Lundgren, Andrew wrote:> I am working with CentOS 5 and e2fsprogs-1.40.2.cfs5-0redhat.x86_64.rpm. > > I had to build the rpm myself from the source rpm as the version on the distribution site is built with db4-4.2 and the CentOS distro comes with db4-4.3. Not a concern there. > > However when I go to install the RPM with the --upgrade option it complains that there is a conflict with e2fsprogs-libs-1.39-10.el5.rpm > > Is there a newer version of the libs as well? I did a --force on the install to proceed, but I am concerned that this may cause more problems. > > What is the correct solution?It seems the newer versions of the distros are splitting up e2fsprogs in order to allow the component libraries (libcom_err, libblkid, libuuid) to be installed separately from the e2fsprogs tools (e2fsck, mke2fs, etc). You could add a couple lines to the redhat section of e2fsprogs.spec.in so that rpm knows to remove that library when doing an upgrade: Obsoletes: e2fsprogs-libs < %{version} Provides: e2fsprogs-libs = %{version} ldiskfsprogs Please let me know if this works, and I can add it to the next release. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.
Lundgren, Andrew
2008-Feb-19 21:53 UTC
[Lustre-discuss] e2fsprogs-1.40.2.cfs5-0redhat.x86_64.rpm install conflicts with e2fsprogs-libs-1.39-10.el5.rpm
I finally had a chance to get in and make this change to the rpm. It turns out that e2fsprogs-1.40.2.cfs5 already has the line in the spec.in file. It does not make it into the build spec file however. I didn''t investigate why it didn''t show up. But I added it to the SPEC/*.spec file manually and rebuilt the RPM. The RPM produced this way does correctly update the e2fsprogs-libs RPM on the CentOS box. So I don''t know why it doesn''t make it from the spec.in file, but once it does, it will solve the problem.> -----Original Message----- > > It seems the newer versions of the distros are splitting up > e2fsprogs in order to allow the component libraries > (libcom_err, libblkid, libuuid) to be installed separately > from the e2fsprogs tools (e2fsck, mke2fs, etc). > > You could add a couple lines to the redhat section of > e2fsprogs.spec.in so that rpm knows to remove that library > when doing an upgrade: > > Obsoletes: e2fsprogs-libs < %{version} > Provides: e2fsprogs-libs = %{version} ldiskfsprogs > > Please let me know if this works, and I can add it to the > next release. > > Cheers, Andreas > -- > Andreas Dilger > Sr. Staff Engineer, Lustre Group > Sun Microsystems of Canada, Inc. > >