[DRBD-user] Broken rpm dependency check in drbd-km (v8.4.6)

Wieck, Owen Owen.Wieck at ricardo.com
Mon Apr 13 22:43:42 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.


To whom it may concern,

Compiling the latest 8.4.6 drbd rpm's from source yields an inappropriate version check for "drbd-utils" (see below):

[root at dtc1970 drbd-8.4.6]# rpm -ivh /root/rpmbuild/RPMS/x86_64/drbd-km-3.19.3_200.fc21.x86_64-8.4.6-1.x86_64.rpm
error: Failed dependencies:
        drbd-utils = 8.4.6 is needed by drbd-km-3.19.3_200.fc21.x86_64-8.4.6-1.x86_64

There is no drbd-utils v8.4.6.  Potential workaround, modify line 35 of the drbd-km.spec as follows to allow drbd-utils version 8.4.6 and up (making it compatible with 8.9.x):
Requires: drbd-utils >= %{version}, /sbin/depmod

Recompile rpm.  Installing drbd-km now yields the dependency for drbd-utils "greater than or equal to" 8.4.6, which can be fulfilled by drbd-utils v8.9.x:

[root at dtc1970 drbd-8.4.6]# rpm -ivh /root/rpmbuild/RPMS/x86_64/drbd-km-3.19.3_200.fc21.x86_64-8.4.6-1.x86_64.rpm
error: Failed dependencies:
        drbd-utils >= 8.4.6 is needed by drbd-km-3.19.3_200.fc21.x86_64-8.4.6-1.x86_64

--OLW
--------------------------------------------------------------------------------------------------------------------------------------------------------------
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are
addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system.
Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those
of Ricardo (save for reports and other documentation formally approved and signed for release to the intended recipient). Only Ricardo's
authorized representatives may enter into legally binding obligations on behalf of Ricardo. Ricardo may monitor outgoing and incoming e-mails and
other telecommunications systems. By replying to this e-mail you give consent to such monitoring. The recipient should check e-mail and
any attachments for the presence of viruses. Ricardo accepts no liability for any damage caused by any virus transmitted by this e-mail.
"Ricardo" means Ricardo Inc. and its affiliated companies.
--------------------------------------------------------------------------------------------------------------------------------------------------------------'.



More information about the drbd-user mailing list