[DRBD-user] DRBD9 and RPM Install

Phil Daws uxbod at splatnix.net
Wed Jul 22 16:42:38 CEST 2015

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


So matched a custom kernel with the driver and now it complains about not having drbd-utils >= 9.0.0 yet the 8.9 branch is backward compatible ?

[root at drs01 ~]# rpm -Uvh drbd-km-3.10.0_229.el7.centos.uxbod.x86_64-9.0.0-1.x86_64.rpm
error: Failed dependencies:
        drbd-utils = 9.0.0 is needed by drbd-km-3.10.0_229.el7.centos.uxbod.x86_64-9.0.0-1.x86_64


----- On 16 Jul, 2015, at 13:14, Phil Daws uxbod at splatnix.net wrote:

> Thank you Lars as that allow me to install the utils with no error.
> 
> So I then moved onto the km and tried both v8.4 and v9.0 with different results:
> 
> rpm -Uvh drbd-utils-8.9.3-1.el7.centos.x86_64.rpm
> drbd-km-3.10.0_229.el7.centos.uxbod.x86_64-8.4.6-1.x86_64.rpm
> error: Failed dependencies:
>        drbd-utils = 8.4.6 is needed by
>        drbd-km-3.10.0_229.el7.centos.uxbod.x86_64-8.4.6-1.x86_64
> 
> rpm -Uvh
> kmod-drbd-9.0.0_3.10.0_229.el7.centos.uxbod.x86_64-1.el7.centos.x86_64.rpm
> Preparing...                          ################################# [100%]
>        file /lib/modules/3.10.0-229.el7.centos.uxbod.x86_64/modules.devname from
>        install of
>        kmod-drbd-9.0.0_3.10.0_229.el7.centos.uxbod.x86_64-1.el7.centos.x86_64
>        conflicts with file from package kernel-3.10.0-229.el7.centos.uxbod.x86_64
>        file /lib/modules/3.10.0-229.el7.centos.uxbod.x86_64/modules.softdep from
>        install of
>        kmod-drbd-9.0.0_3.10.0_229.el7.centos.uxbod.x86_64-1.el7.centos.x86_64
>        conflicts with file from package kernel-3.10.0-229.el7.centos.uxbod.x86_64
> 
> I guess the later error is due to it being such a new release but using the v8.4
> branch I was surprised it complained as I though drbd-utils-8.9.3 was
> compatible for both v8.4 and v9.0 ?
> 
> Thanks, Phil
> 
> ----- On 14 Jul, 2015, at 21:04, Lars Ellenberg lars.ellenberg at linbit.com wrote:
> 
>> On Tue, Jul 14, 2015 at 02:22:11PM +0000, Wieck, Owen wrote:
>>> 
>>> It appears that you already have drbd-utils installed.  You might want
>>> to use "rpm -Uvh <list_of_rpms>" instead?
>>> 
>>> --OLW
>> 
>> 24k in ms-tnef winmail.dat for the above ~100 byte? really?
>> 
>> -> Owen, if it is not too much to ask, please configure your MUA to use
>> plain text when posting to mailing lists, and preferably get rid of the
>> disclaimer as well...
>> 
>> To the OP: if you get conflicts for
>> /sbin/something with /usr/sbin/something
>> for DIY drbd-utils packages here,
>> then that is because we used to live in /usr/sbin,
>> then moved to /sbin/ (or the other way around), and to not break
>> existing hard-coded scripts, usually ship symlinks.
>> 
>> But that causes problems if your platform already chose to have
>> /sbin itself be a symlink to /usr/sbin, as newer fedora and RHEL 7 does.
>> 
>> You can chose to build our packages --without sbinsymlinks (or similar,
>> look into the spec file for the exact spelling).
>> 
>>	Lars
>> 
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
> 
> (null)
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

(null)



More information about the drbd-user mailing list