[Lustre-discuss] e2fsprogs-1.40.2.cfs5-0redhat.x86_64.rpm install conflicts with e2fsprogs-libs-1.39-10.el5.rpm
Lundgren, Andrew
Andrew.Lundgren at Level3.com
Tue Feb 19 13:53:51 PST 2008
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.
>
>
More information about the lustre-discuss
mailing list