[CentOS] Problem upgrading from 8.0 to 8.1

Wed Dec 2 11:58:30 UTC 2020
Michael Schwartzkopff <ms at sys4.de>

On 02.12.20 12:55, Michael Schwartzkopff wrote:
> Hi,
>
>
> I want to upgrade from 8.0 to 8.1 but
>
> yum update
>
> does not work. Still 8.0
>
>
> Probably the cause is that I compiled DRBD myself because it was not
> available for 8.0 when I set up the machine. Now yum update says:
>
>
> Error:
>  Problem 1: cannot install the best update candidate for package
> drbd-pacemaker-9.11.0-1.el8.x86_64
>   - nothing provides pacemaker needed by drbd-pacemaker-9.13.1-1.el8.x86_64
>  Problem 2: cannot install both drbd-utils-9.13.1-1.el8.x86_64 and
> drbd-utils-9.11.0-1.el8.x86_64
>   - package drbd-heartbeat-9.11.0-1.el8.x86_64 requires drbd-utils =
> 9.11.0-1.el8, but none of the providers can be installed
>   - cannot install the best update candidate for package
> drbd-utils-9.11.0-1.el8.x86_64
>   - problem with installed package drbd-heartbeat-9.11.0-1.el8.x86_64
>  Problem 3: cannot install both drbd-utils-9.13.1-1.el8.x86_64 and
> drbd-utils-9.11.0-1.el8.x86_64
>   - package drbd-pacemaker-9.11.0-1.el8.x86_64 requires drbd-utils =
> 9.11.0-1.el8, but none of the providers can be installed
>   - package drbd-9.13.1-1.el8.x86_64 requires drbd-utils = 9.13.1, but
> none of the providers can be installed
>   - problem with installed package drbd-pacemaker-9.11.0-1.el8.x86_64
>   - cannot install the best update candidate for package
> drbd-9.11.0-1.el8.x86_64
>   - nothing provides pacemaker needed by drbd-pacemaker-9.13.1-1.el8.x86_64
> (try to add '--allowerasing' to command line to replace conflicting
> packages or '--skip-broken' to skip uninstallable packages or '--nobest'
> to use not only best candidate packages)
>
>
> with --nobest yum update runs through without doing anything and I sill
> have kernel 4.18.0-80.11.2.el8_0.x86_64
>
>
> Any ideas how to update my server?
>
>
>
> Mit freundlichen Grüßen,
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos



OK, I found the  problem. I had


exclude=kernel* centos-release*


in yum.conf to protect my drbd kernel module.



Mit freundlichen Grüßen,

-- 

[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20201202/b5847a4c/attachment-0005.sig>