I am running a dnf update -y to prep the system for an upgrade to Rocky Linux.
When I run the dnf update the VM complains about packages that are required to be upgraded.
# dnf update
Last metadata expiration check: 2:37:02 ago on Thu 13 Jan 2022 11:47:08 AM CST.
Error:
Problem: cannot install both graphviz-2.40.1-43.el8.x86_64 and graphviz-2.40.1-40.el8.x86_64
- package graphviz-gd-2.40.1-40.el8.x86_64 requires graphviz = 2.40.1-40.el8, but none of the providers can be installed
- cannot install the best update candidate for package graphviz-2.40.1-40.el8.x86_64
- problem with installed package graphviz-gd-2.40.1-40.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)
# dnf list installed | grep graph*
graphite2.x86_64 1.3.10-10.el8 @AppStream
graphviz.x86_64 2.40.1-40.el8 @AppStream
graphviz-gd.x86_64 2.40.1-40.el8 @PowerTools
python3-cryptography.x86_64 2.3-3.el8 @BaseOS
It seems as if graphviz and graphviz-gd don't match up.
NagiosXI on CentOS 8 graphviz problem
-
- Posts: 123
- Joined: Thu Jul 27, 2017 2:00 pm
NagiosXI on CentOS 8 graphviz problem
Last edited by acentek on Fri Jan 14, 2022 2:57 pm, edited 1 time in total.
-
- Posts: 123
- Joined: Thu Jul 27, 2017 2:00 pm
Re: NagiosXI on CentOS 8 graphviz problem
I sent an email into support to see if I can get some help a little sooner but no response there either.
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: NagiosXI on CentOS 8 graphviz problem
You're not trying to in-place upgrade CentOS 8 to Rocky Linux, correct? That wouldn't be supported, you would need to migrate instead of in-place upgrading as in-place upgrading isn't supported.
What is the output of these commands?
What is the output of these commands?
Code: Select all
yum clean all
yum repolist
yum info graphviz --show-duplicates
-
- Posts: 123
- Joined: Thu Jul 27, 2017 2:00 pm
Re: NagiosXI on CentOS 8 graphviz problem
No I am not doing a direct upgrade I am running a migrate but that's not the problem I am having.
Here is the output requested.
[root@nagios-new ~]# yum clean all
84 files removed
[root@nagios-new ~]# yum repolist
repo id repo name
appstream CentOS Linux 8 - AppStream
baseos CentOS Linux 8 - BaseOS
duosecurity Duo Security Repository
epel Extra Packages for Enterprise Linux 8 - x86_64
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
extras CentOS Linux 8 - Extras
nagios-base Nagios
nagiosxi-deps Nagios XI Dependencies
repo-cblauncher cblauncher repo
[root@nagios-new ~]# yum info graphviz --showduplicates
CentOS Linux 8 - AppStream 6.3 MB/s | 8.4 MB 00:01
CentOS Linux 8 - BaseOS 4.8 MB/s | 4.6 MB 00:00
CentOS Linux 8 - Extras 29 kB/s | 10 kB 00:00
cblauncher repo 6.9 kB/s | 1.3 kB 00:00
Duo Security Repository 13 kB/s | 1.8 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 1.2 MB/s | 979 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 12 MB/s | 11 MB 00:00
Nagios 523 kB/s | 227 kB 00:00
Nagios XI Dependencies 84 kB/s | 21 kB 00:00
Installed Packages
Name : graphviz
Version : 2.40.1
Release : 40.el8
Architecture : x86_64
Size : 7.4 M
Source : graphviz-2.40.1-40.el8.src.rpm
Repository : @System
From repo : AppStream
Summary : graph Visualization Tools
URL : http://www.graphviz.org/
License : EPL-1.0
Description : A collection of tools for the manipulation and layout of graphs (as in nodes
: and edges, not as in barcharts).
Available Packages
Name : graphviz
Version : 2.40.1
Release : 43.el8
Architecture : x86_64
Size : 1.7 M
Source : graphviz-2.40.1-43.el8.src.rpm
Repository : appstream
Summary : graph Visualization Tools
URL : http://www.graphviz.org/
License : EPL-1.0
Description : A collection of tools for the manipulation and layout of graphs (as in nodes
: and edges, not as in barcharts).
Name : graphviz
Version : 2.40.1
Release : 43.el8
Architecture : i686
Size : 1.9 M
Source : graphviz-2.40.1-43.el8.src.rpm
Repository : appstream
Summary : graph Visualization Tools
URL : http://www.graphviz.org/
License : EPL-1.0
Description : A collection of tools for the manipulation and layout of graphs (as in nodes
: and edges, not as in barcharts).
Here is the output requested.
[root@nagios-new ~]# yum clean all
84 files removed
[root@nagios-new ~]# yum repolist
repo id repo name
appstream CentOS Linux 8 - AppStream
baseos CentOS Linux 8 - BaseOS
duosecurity Duo Security Repository
epel Extra Packages for Enterprise Linux 8 - x86_64
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
extras CentOS Linux 8 - Extras
nagios-base Nagios
nagiosxi-deps Nagios XI Dependencies
repo-cblauncher cblauncher repo
[root@nagios-new ~]# yum info graphviz --showduplicates
CentOS Linux 8 - AppStream 6.3 MB/s | 8.4 MB 00:01
CentOS Linux 8 - BaseOS 4.8 MB/s | 4.6 MB 00:00
CentOS Linux 8 - Extras 29 kB/s | 10 kB 00:00
cblauncher repo 6.9 kB/s | 1.3 kB 00:00
Duo Security Repository 13 kB/s | 1.8 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 1.2 MB/s | 979 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 12 MB/s | 11 MB 00:00
Nagios 523 kB/s | 227 kB 00:00
Nagios XI Dependencies 84 kB/s | 21 kB 00:00
Installed Packages
Name : graphviz
Version : 2.40.1
Release : 40.el8
Architecture : x86_64
Size : 7.4 M
Source : graphviz-2.40.1-40.el8.src.rpm
Repository : @System
From repo : AppStream
Summary : graph Visualization Tools
URL : http://www.graphviz.org/
License : EPL-1.0
Description : A collection of tools for the manipulation and layout of graphs (as in nodes
: and edges, not as in barcharts).
Available Packages
Name : graphviz
Version : 2.40.1
Release : 43.el8
Architecture : x86_64
Size : 1.7 M
Source : graphviz-2.40.1-43.el8.src.rpm
Repository : appstream
Summary : graph Visualization Tools
URL : http://www.graphviz.org/
License : EPL-1.0
Description : A collection of tools for the manipulation and layout of graphs (as in nodes
: and edges, not as in barcharts).
Name : graphviz
Version : 2.40.1
Release : 43.el8
Architecture : i686
Size : 1.9 M
Source : graphviz-2.40.1-43.el8.src.rpm
Repository : appstream
Summary : graph Visualization Tools
URL : http://www.graphviz.org/
License : EPL-1.0
Description : A collection of tools for the manipulation and layout of graphs (as in nodes
: and edges, not as in barcharts).
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: NagiosXI on CentOS 8 graphviz problem
What is the output of this command on your XI server?
I'm labbing this up to see if I'm able to replicate.
Code: Select all
rpm -qa | grep nagiosxi
-
- Posts: 123
- Joined: Thu Jul 27, 2017 2:00 pm
Re: NagiosXI on CentOS 8 graphviz problem
# rpm -qa | grep nagiosxi
nagiosxi-deps-el8-5.8.3-1.noarch
nagiosxi-deps-el8-5.8.3-1.noarch
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: NagiosXI on CentOS 8 graphviz problem
I found an article that said you can temporarily get around it by disabling the appstream repo but I want to know if your system is an RPM install of XI before I have you do that as I'm not sure of the impact.
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: NagiosXI on CentOS 8 graphviz problem
I was not able to replicate it, I reverted to a snapshot that contained the graphviz-2.40.1-40 packages with the repos below enabled and it worked properly:
Do you have any custom dnf or yum protected packages?
https://rpm-software-management.github. ... kages.html
Code: Select all
[root@localhost ~]# yum repolist
repo id repo name
appstream CentOS Linux 8 - AppStream
baseos CentOS Linux 8 - BaseOS
epel Extra Packages for Enterprise Linux 8 - x86_64
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
extras CentOS Linux 8 - Extras
nagios-base Nagios
nagiosxi-deps Nagios XI Dependencies
powertools CentOS Linux 8 - PowerTools
https://rpm-software-management.github. ... kages.html
-
- Posts: 123
- Joined: Thu Jul 27, 2017 2:00 pm
Re: NagiosXI on CentOS 8 graphviz problem
CentOS-PowerTools.repo
# CentOS-PowerTools.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[PowerTools]
name=CentOS-$releasever - PowerTools
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$r ... search/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Make sure it matches.
dnf --showduplicates list graphviz graphviz-gd
Available Packages
graphviz.i686 2.40.1-43.el8 appstream
graphviz.x86_64 2.40.1-43.el8 appstream
graphviz-gd.i686 2.40.1-43.el8 PowerTools
graphviz-gd.x86_64 2.40.1-43.el8 PowerTools
# CentOS-PowerTools.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[PowerTools]
name=CentOS-$releasever - PowerTools
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$r ... search/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Make sure it matches.
dnf --showduplicates list graphviz graphviz-gd
Available Packages
graphviz.i686 2.40.1-43.el8 appstream
graphviz.x86_64 2.40.1-43.el8 appstream
graphviz-gd.i686 2.40.1-43.el8 PowerTools
graphviz-gd.x86_64 2.40.1-43.el8 PowerTools
-
- Dreams In Code
- Posts: 7682
- Joined: Wed Feb 11, 2015 12:54 pm
Re: NagiosXI on CentOS 8 graphviz problem
Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup to debug futher:
https://support.nagios.com/tickets/
Thank you!
https://support.nagios.com/tickets/
Thank you!