Problem installing packages with dnf

Issues related to applications and software problems and general support
Post Reply
asdrgil
Posts: 4
Joined: 2021/11/18 09:03:41

Problem installing packages with dnf

Post by asdrgil » 2021/11/18 09:23:06

I have recently gained access to a Centos 8 machine where I have to run a nginx-django server. From the first moment, there were repository problems and I could barely install packages via dnf due to several conflict versions and unfound packages. Therefore, in order to try to install nginx on this machine, I have tried to manually install the missing packages with wget + rpm, but currently I am stucked with some package conflicts. This is whay I've tried:

1.

Code: Select all

sudo dnf install nginx

Code: Select all

Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  file /usr/lib64/libgdbm_compat.so.4.0.0 from install of gdbm-libs-1:1.18-1.el8.x86_64 conflicts with file from package gdbm-1.10-8.el7.x86_64
  file /usr/share/man/man1/vim.1.gz from install of vim-common-2:8.0.1763-15.el8.x86_64 conflicts with file from package vim-minimal-2:7.4.629-8.el7_9.x86_64
I have read on this post that the first error could be solved removing gdbm-1.10-8.el7.x86_64, so that is what I've tried:

2.

Code: Select all

sudo dnf remove gdbm-1.10-8.el7.x86_64

Code: Select all

Error:
 Problem: The operation would result in removing the following protected packages: dnf
Second approach:

3.

Code: Select all

sudo dnf swap gdbm-1.10-8.el7.x86_64 gdbm-libs-1:1.18-1.el8.x86_64

Code: Select all

 Problem: package python-libs-2.7.5-90.el7.x86_64 requires libgdbm.so.4()(64bit), but none of the providers can be installed
  - conflicting requests
  - problem with installed package python-libs-2.7.5-90.el7.x86_64
Third approach:

4.

Code: Select all

sudo dnf install gdbm gdbm-libs --best --allowerasing

Code: Select all

(NetworkManager >= 1.20 or dhclient) is needed by dracut-network-049-135.git20210121.el8.x86_64
rpmlib(RichDependencies) <= 4.12.0-1 is needed by dracut-network-049-135.git20210121.el8.x86_64
To diagnose the problem, try running: 'rpm -Va --nofiles --nodigest'.
You probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
The thing at this point is that I do have installed the package dhclient. My NetworkManager version was lower than 1.20 so after some hesitation I have unistalled it to try to install it on a version >= 1.20, but I got the same error as on the step 4. I have also seen that dhclient's path is included on $PATH.

Finally, I have tried to do an upgrade:

5.

Code: Select all

sudo dnf upgrade

Code: Select all

 Error: Transaction check error:
  file /usr/bin/pflags from install of python3-linux-procfs-0.6.3-1.el8.noarch conflicts with file from package python-linux-procfs-0.4.11-4.el7.noarch
  file /usr/lib64/libgdbm_compat.so.4.0.0 from install of gdbm-libs-1:1.18-1.el8.x86_64 conflicts with file from package gdbm-1.10-8.el7.x86_64
  file /usr/sbin/pidof from install of procps-ng-3.3.15-6.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
  file /usr/bin/pchrt from install of python3-schedutils-0.6-6.el8.x86_64 conflicts with file from package python-schedutils-0.4-6.el7.x86_64
  file /usr/bin/ptaskset from install of python3-schedutils-0.6-6.el8.x86_64 conflicts with file from package python-schedutils-0.4-6.el7.x86_64
  file /usr/bin/last from install of util-linux-2.32.1-27.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
  file /usr/bin/mesg from install of util-linux-2.32.1-27.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
  file /usr/bin/wall from install of util-linux-2.32.1-27.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
  file /usr/share/man/man1/last.1.gz from install of util-linux-2.32.1-27.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
  file /usr/share/man/man1/mesg.1.gz from install of util-linux-2.32.1-27.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
  file /usr/share/man/man1/wall.1.gz from install of util-linux-2.32.1-27.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/six.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/__pycache__/six.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/six.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/__pycache__/six.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools-39.2.0.dist-info/METADATA from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools-39.2.0.dist-info/RECORD from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools-39.2.0.dist-info/WHEEL from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/__pycache__/__init__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/__init__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/__init__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/extern/__pycache__/__init__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/__init__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/__pycache__/__init__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/__init__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/__init__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/extern/__pycache__/__init__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/__pycache__/__init__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/__init__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/__init__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/extern/__pycache__/__init__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/__init__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/__pycache__/__init__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/__init__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/__init__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/extern/__pycache__/__init__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/_compat.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/_compat.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/_compat.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/_compat.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/version.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/version.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/version.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/version.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/version.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/version.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/utils.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/utils.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/utils.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/utils.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/__pycache__/easy_install.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/easy_install.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/__pycache__/easy_install.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/easy_install.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/__pycache__/py31compat.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/py31compat.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/__pycache__/py31compat.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/py31compat.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/appdirs.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/appdirs.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/pyparsing.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/__pycache__/pyparsing.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/pyparsing.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/__pycache__/pyparsing.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/appdirs.py from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/__about__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/__about__.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/__about__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/__about__.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/_structures.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/_structures.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/_structures.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/_structures.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/markers.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/markers.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/markers.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/markers.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/requirements.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/requirements.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/requirements.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/requirements.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/specifiers.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/specifiers.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/specifiers.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/specifiers.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/archive_util.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/archive_util.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/build_meta.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/build_meta.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/config.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/config.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/dep_util.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/dep_util.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/depends.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/depends.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/dist.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/dist.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/extension.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/extension.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/glibc.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/glibc.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/glob.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/glob.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/launch.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/launch.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/lib2to3_ex.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/lib2to3_ex.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/monkey.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/monkey.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/msvc.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/msvc.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/namespaces.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/namespaces.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/package_index.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/package_index.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/pep425tags.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/pep425tags.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/py27compat.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/py27compat.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/py33compat.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/py33compat.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/py36compat.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/py36compat.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/py36compat.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/py36compat.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/sandbox.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/sandbox.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/site-patch.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/site-patch.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/ssl_support.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/ssl_support.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/unicode_utils.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/unicode_utils.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/wheel.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/wheel.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/windows_support.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/windows_support.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/alias.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/alias.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/bdist_egg.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/bdist_egg.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/bdist_rpm.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/bdist_rpm.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/bdist_wininst.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/bdist_wininst.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/build_clib.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/build_clib.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/build_ext.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/build_ext.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/build_py.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/build_py.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/develop.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/develop.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/dist_info.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/dist_info.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/egg_info.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/egg_info.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/install.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/install.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/install_egg_info.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/install_egg_info.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/install_lib.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/install_lib.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/install_scripts.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/install_scripts.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/register.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/register.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/rotate.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/rotate.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/saveopts.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/saveopts.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/sdist.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/sdist.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/setopt.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/setopt.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/test.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/test.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/upload.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/upload.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/upload_docs.cpython-36.opt-1.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/upload_docs.cpython-36.pyc from install of platform-python-setuptools-39.2.0-6.el8.noarch conflicts with file from package python3-setuptools-39.2.0-10.el7.noarch
  file /usr/share/bash-completion/completions/rpm from install of bash-completion-1:2.7-5.el8.noarch conflicts with file from package rpm-4.11.3-46.el7_9.x86_64
As seen in the errors, I get a lot of conflicts but I do not know how to approach them in order to finally be able to install nginx and any other dnf package. Any suggestions?

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Problem installing packages with dnf

Post by TrevorH » 2021/11/18 11:34:34

Stop downloading packages manually. You are getting the wrong versions for the wrong CentOS version. You have CentOS 8 and all packages from CentOS that are designed for 8 will have '.el8' in their package version strings. If you have ones that say 'el7' then they are for CentOS 7 and should not be used on 8. They are incompatible.

If this machine was "upgraded" from CentOS 7 to 8 then you need to start over. There is no upgrade from 7 to 8 and an attempt to do so would also explain all your errors.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

asdrgil
Posts: 4
Joined: 2021/11/18 09:03:41

Re: Problem installing packages with dnf

Post by asdrgil » 2021/11/18 14:13:20

You are completely right. Finally what I've done is reinstalling Centos and starting from scratch because the packages were so messed up.

Post Reply