[CentOS] CentOS 8: several packages have unresolved dependencies after "dnf update all "

Thu Jan 16 04:33:05 UTC 2020
Philippe Piot <piot at nicadd.niu.edu>

Just as a followup even g++ is broken:

[piot at paris ~]$ g++
bash: g++: command not found...
Install package 'gcc-c++' to provide command 'g++'? [N/y] y
 * Waiting in queue...
The following packages have to be downgraded:
 cpp-8.2.1-3.5.el8.x86_64 The C Preprocessor
 glibc-2.28-42.el8.1.i686 The GNU libc libraries
 glibc-2.28-42.el8.1.x86_64 The GNU libc libraries
 glibc-all-langpacks-2.28-42.el8.1.x86_64 All language packs for glibc.
 glibc-common-2.28-42.el8.1.x86_64 Common binaries and locale data for glibc
 glibc-langpack-en-2.28-42.el8.1.x86_64 Locale data for en
 libgomp-8.2.1-3.5.el8.x86_64 GCC OpenMP v4.5 shared support library
 libstdc++-8.2.1-3.5.el8.x86_64 GNU Standard C++ Library
 libstdc++-devel-8.2.1-3.5.el8.x86_64 Header files and libraries for C++
development
The following packages have to be installed:
 annobin-8.64-1.el8.x86_64 Binary annotation plugin for GCC
 gcc-8.2.1-3.5.el8.x86_64 Various compilers (C, C++, Objective-C, ...)
 gcc-c++-8.2.1-3.5.el8.x86_64 C++ support for GCC
 glibc-devel-2.28-42.el8.1.x86_64 Object files for development using
standard C libraries.
 glibc-headers-2.28-42.el8.1.x86_64 Header files for development using
standard C libraries.
 kernel-headers-4.18.0-80.11.2.el8_0.x86_64 Header files for the Linux
kernel for use by glibc
 libxcrypt-devel-4.1.1-4.el8.x86_64 Development files for libxcryp

On Wed, Jan 15, 2020 at 10:26 PM Philippe Piot <philippe.piot at gmail.com>
wrote:

> All,
>   While updating my package using dnf update all I allow dnf to clean some
> package with unresolved dependencies.
>   I would like to reinstall some of them but got an error message "but
> none of the providers can be installed" during the install process as dnf
> is trying to install the dependencies.
> .
>   This happens for some critical package like boost-openmpi-devel (see
> below for error). In fact the following package were removed and cannot be
> installed:
>   annobin-8.64-1.el8.x86_64
> glibc-headers-2.28-42.el8.1.x86_64
>   libdrm-devel-2.4.96-2.el8.x86_64
>  boost-devel-1.66.0-6.el8.x86_64
>   boost-openmpi-devel-1.66.0-6.el8.x86_64
> boost-static-1.66.0-6.el8.x86_64
>   gcc-8.2.1-3.5.el8.x86_64
>  gcc-c++-8.2.1-3.5.el8.x86_64
>   gcc-gdb-plugin-8.2.1-3.5.el8.x86_64
> gcc-gfortran-8.2.1-3.5.el8.x86_64
>   glibc-devel-2.28-42.el8.1.x86_64
>  hdf5-devel-1.10.5-4.el8.x86_64
>   hdf5-openmpi-devel-1.10.5-4.el8.x86_64
>  hdf5-openmpi-static-1.10.5-4.el8.x86_64
>   hdf5-static-1.10.5-4.el8.x86_64
> libquadmath-devel-8.2.1-3.5.el8.x86_64
>   libtool-2.4.6-25.el8.x86_64
> libxcrypt-devel-4.1.1-4.el8.x86_64
>   mesa-libEGL-devel-18.3.1-5.el8_0.x86_64
> mesa-libGL-devel-18.3.1-5.el8_0.x86_64
>   openmpi-devel-3.1.2-5.el8.x86_64
>  poppler-qt5-devel-0.66.0-11.el8_0.12.x86_64
>   qscintilla-qt5-devel-2.11.2-6.el8.x86_64
>  qt5-doctools-5.11.1-5.el8.x86_64
>   qt5-qtbase-devel-5.11.1-5.el8.x86_64
>  qt5-qtscript-devel-5.11.1-2.el8.x86_64
>   qt5-qttools-devel-5.11.1-5.el8.x86_64
> qt5-qttools-static-5.11.1-5.el8.x86_64
>   qt5-rpm-macros-5.11.1-2.el8.noarch
>  systemtap-4.0-7.el8.x86_64
>   systemtap-devel-4.0-7.el8.x86_64
>
> Thank you for any suggestions.  -- Philippe.
>
>
> ERROR MESSAGE WHEN TRYING TO INSTALL ONE OF THESE PACKAGES:
> ------------------------------------------
> [piot at paris ~]$ sudo dnf install boost-openmpi-devel
> [sudo] password for piot:
> Last metadata expiration check: 0:13:02 ago on Wed 15 Jan 2020 10:05:29 PM
> CST.
> Error:
>  Problem: package libquadmath-devel-8.3.1-4.5.el8.x86_64 requires gcc =
> 8.3.1-4.5.el8, but none of the providers can be installed
>   - package gcc-8.3.1-4.5.el8.x86_64 requires glibc-devel >= 2.2.90-12,
> but none of the providers can be installed
>   - package boost-devel-1.66.0-6.el8.x86_64 requires
> libquadmath-devel(x86-64), but none of the providers can be installed
>   - package glibc-devel-2.28-72.el8.i686 requires glibc-headers, but none
> of the providers can be installed
>   - package glibc-devel-2.28-72.el8.i686 requires glibc-headers =
> 2.28-72.el8, but none of the providers can be installed
>   - package glibc-devel-2.28-72.el8.x86_64 requires glibc-headers, but
> none of the providers can be installed
>   - package glibc-devel-2.28-72.el8.x86_64 requires glibc-headers =
> 2.28-72.el8, but none of the providers can be installed
>   - package boost-openmpi-devel-1.66.0-6.el8.x86_64 requires
> boost-devel(x86-64) = 1.66.0-6.el8, but none of the providers can be
> installed
>   - package glibc-headers-2.28-72.el8.i686 requires kernel-headers, but
> none of the providers can be installed
>   - package glibc-headers-2.28-72.el8.i686 requires kernel-headers >=
> 2.2.1, but none of the providers can be installed
>   - package glibc-headers-2.28-72.el8.x86_64 requires kernel-headers, but
> none of the providers can be installed
>   - package glibc-headers-2.28-72.el8.x86_64 requires kernel-headers >=
> 2.2.1, but none of the providers can be installed
>   - cannot install the best candidate for the job
>   - package kernel-headers-4.18.0-147.0.3.el8_1.x86_64 is excluded
>   - package kernel-headers-4.18.0-147.3.1.el8_1.x86_64 is excluded
>   - package kernel-headers-4.18.0-147.el8.x86_64 is excluded
>

Philippe Piot,
https://www.niu.edu/advanced-accelerator-randd/
<https://www.niu.edu/advanced-accelerator-randd/index.shtml>
Northern Illinois University, Dept of Physics and
Northern Illinois Center for Accelerator & Detector Development
DeKalb, IL 60115, USA
Tel: 815 753 6473, Web:  http://www.physics.niu.edu/physics/

Argonne National Laboratory, Advanced Photon Source
Accelerator System Division
Lemont, IL 60439, USA
Tel: 630 252 2415, Web:
https://www.aps.anl.gov/Accelerator-Systems-Division