Centos 8 and Certbot

Experiencing an error when running a standard update:

sudo yum update && sudo yum upgrade -y && package-cleanup --leaves | xargs -l1 yum -y remove
Last metadata expiration check: 0:58:36 ago on Mon 13 Apr 2020 05:26:50 PM EDT.
Error: 
 Problem: cannot install the best update candidate for package python3-certbot-1.1.0-1.el8.noarch
  - nothing provides python3-mock needed by python3-certbot-1.3.0-3.el8.noarch
  - nothing provides python3.6dist(mock) needed by python3-certbot-1.3.0-3.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

I verified that epel repository was installed:

sudo yum -y install epel-release
Last metadata expiration check: 0:00:34 ago on Tue 14 Apr 2020 01:15:41 PM EDT.
Package epel-release-8-8.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Checked the repo list:

sudo yum repolist
Last metadata expiration check: 0:00:44 ago on Tue 14 Apr 2020 01:15:41 PM EDT.
repo id             repo name                                                       status
AppStream           CentOS-8 - AppStream                                            5,244
BaseOS              CentOS-8 - Base                                                 2,231
Webmin              Webmin Distribution Neutral                                       155
*epel               Extra Packages for Enterprise Linux 8 - x86_64                  5,274
*epel-modular       Extra Packages for Enterprise Linux Modular 8 - x86_64              0
extras              CentOS-8 - Extras                                                  12
remi-modular        Remi's Modular repository for Enterprise Linux 8 - x86_64         373

Displayed epel info:

yum info epel-release
Last metadata expiration check: 0:01:18 ago on Tue 14 Apr 2020 01:15:41 PM EDT.
Installed Packages
Name         : epel-release
Version      : 8
Release      : 8.el8
Architecture : noarch
Size         : 32 k
Source       : epel-release-8-8.el8.src.rpm
Repository   : @System
From repo    : epel
Summary      : Extra Packages for Enterprise Linux repository configuration
URL          : http://download.fedoraproject.org/pub/epel
License      : GPLv2
Description  : This package contains the Extra Packages for Enterprise Linux (EPEL)
             : repository GPG key as well as configuration for yum.

Went back up to the top, realized there was no PowerTools listed in the first update! Turned them on:

sudo yum config-manager --set-enabled PowerTools

Ran the update again. 157 updates found.

Reference here

Leave a comment

Your email address will not be published. Required fields are marked *