On 09/14/2016 04:28 PM, David Howells wrote:
I need to obsolete one of the arch subpackages in the cross-binutils rpm (and
also in the cross-gcc rpm) because binutils no longer supports that arch
(sh64).

Just marking the appropriate subpackage as obsoleted in the specfile for the

How do you do that?

cross-binutils-common subpackage causes dnf to complain:

warthog>sudo dnf upgrade ./noarch/cross-binutils-common-2.27-1.fc26.noarch.rpm 
./x86_64/binutils-*
Last metadata expiration check: 0:20:38 ago on Wed Sep 14 15:06:27 2016.
Error: package binutils-sh64-linux-gnu-2.26.1-1.fc24.x86_64 requires 
cross-binutils-common = 2.26.1-1.fc24, but none of the providers can be 
installed
(try to add '--allowerasing' to command line to replace conflicting packages)

Is this the right way to do things?

I think if you want silent deletion, you'll have to add “Obsoletes: binutils-sh64-linux-gnu” to the cross-binutils-common package.

I'm not sure if this is a good idea, though.

Florian
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to