Fedora Account System
Red Hat Associate
Red Hat Customer
I'm not sure how to handle this. I'm trying to build the heartbeat package in mock, but it BuildRequires: both libnet10 and libnet-devel, which can't both be installed: Transaction Check Error: file /usr/bin/libnet-config conflicts between attempted installs of libnet-devel-1.1.2.1-6.fc5 and libnet10-1.0.2a-9.fc5 file /usr/include/libnet.h conflicts between attempted installs of libnet-devel-1.1.2.1-6.fc5 and libnet10-1.0.2a-9.fc5 file /usr/include/libnet/libnet-asn1.h conflicts between attempted installs of libnet-devel-1.1.2.1-6.fc5 and libnet10-1.0.2a-9.fc5 file /usr/include/libnet/libnet-functions.h conflicts between attempted installs of libnet-devel-1.1.2.1-6.fc5 and libnet10-1.0.2a-9.fc5 file /usr/include/libnet/libnet-headers.h conflicts between attempted installs of libnet-devel-1.1.2.1-6.fc5 and libnet10-1.0.2a-9.fc5 file /usr/include/libnet/libnet-macros.h conflicts between attempted installs of libnet-devel-1.1.2.1-6.fc5 and libnet10-1.0.2a-9.fc5 file /usr/include/libnet/libnet-structures.h conflicts between attempted installs of libnet-devel-1.1.2.1-6.fc5 and libnet10-1.0.2a-9.fc5 file /usr/lib/libnet.a conflicts between attempted installs of libnet-devel-1.1.2.1-6.fc5 and libnet10-1.0.2a-9.fc5
First of all, this is a packaging bug in "heartbeat". It must not BuildRequire both libnet10 and libnet-devel. Secondly, we removed/obsoleted libnet10 some time last year, because it is not needed anymore and is packaged incorrectly. Despite the package name, it cannot coexist with libnet/libnet-devel, because it stores files in the same locations. This was due to an exception in the packaging policies at fedora.us, where the clean buildroots permitted mutually exclusive build requirements. At Fedora Extras, conflicts are not allowed. It is not worth relocating the files either because the package is not needed. For ordinary upgrades, libnet and libnet-devel upgrade libnet10 (see the versioned Provides in the package). If, however, you tell yum you want both, this either leads to problems in the transaction check or during installation (files from one package overwrite files from the other package). libnet10 should just go.
heartbeat can use the new api. I still think that we can keep that package with the conflict with newer libnet such that users can use libnet10 if they really need to.