Dne 14.9.2016 v 16:32 Florian Weimer napsal(a): > 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. This seems to be hot topic recently. I faced the similar issue yesterday and there is FPC ticket [1] trying to figure out what to do with such packages. Vít [1] https://fedorahosted.org/fpc/ticket/645#comment:10 -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx