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

Thu Jan 16 07:48:47 UTC 2020
David Hrbáč <david-lists at hrbac.cz>

Philippe,

What's the output with '--allowerasing' switch?

We are experiencing a similar issue, dnf update:
...
 Problem 53: problem with installed package
perl-Encode-devel-4:2.97-3.el8.x86_64
  - package perl-Encode-devel-4:2.97-3.el8.x86_64 requires
perl-Encode(x86-64) = 4:2.97-3.el8, but none of the providers can be
installed

  - package perl-Encode-4:2.97-3.el8.x86_64 requires
libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both
perl-libs-4:5.24.4-398.module_el8.0.0+50+c3b345cd.x86_64 and
perl-libs-4:5.26.3-416.el8.x86_64
  - cannot install both perl-libs-4:5.26.3-416.el8.x86_64 and
perl-libs-4:5.24.4-398.module_el8.0.0+50+c3b345cd.x86_64
  - package
perl-Text-Tabs+Wrap-2013.0523-395.module_el8.0.0+50+c3b345cd.noarch
requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be
installed

  - cannot install the best update candidate for package
perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch
  - package perl-libs-4:5.24.4-404.module_el8.1.0+229+cd132df8.x86_64 is
excluded
 Problem 54: problem with installed package
perl-IO-Compress-2.081-1.el8.noarch


  - package perl-IO-Compress-2.081-1.el8.noarch requires
perl(Compress::Raw::Zlib) >= 2.081, but none of the providers can be
installed
  - package perl-Compress-Raw-Zlib-2.081-1.el8.x86_64 requires
libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both
perl-libs-4:5.24.4-398.module_el8.0.0+50+c3b345cd.x86_64 and
perl-libs-4:5.26.3-416.el8.x86_64
  - cannot install both perl-libs-4:5.26.3-416.el8.x86_64 and
perl-libs-4:5.24.4-398.module_el8.0.0+50+c3b345cd.x86_64


  - package perl-Thread-Queue-3.13-1.module_el8.0.0+50+c3b345cd.noarch
requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be
installed

  - cannot install the best update candidate for package
perl-Thread-Queue-3.13-1.el8.noarch
  - package perl-libs-4:5.24.4-404.module_el8.1.0+229+cd132df8.x86_64 is
excluded
 Problem 55: problem with installed package perl-Git-2.18.1-3.el8.noarch
  - package perl-Git-2.18.2-1.el8_1.noarch requires git = 2.18.2-1.el8_1,
but none of the providers can be installed
  - package git-2.18.2-1.el8_1.x86_64 requires perl(Term::ReadKey), but
none of the providers can be installed
  - package perl-TermReadKey-2.37-7.el8.x86_64 requires
libperl.so.5.26()(64bit), but none of the providers can be installed
  - package perl-Git-2.18.1-3.el8.noarch requires git = 2.18.1-3.el8, but
none of the providers can be installed


  - package perl-Git-2.18.1-4.el8.noarch requires git = 2.18.1-4.el8, but
none of the providers can be installed


  - cannot install both
perl-libs-4:5.24.4-398.module_el8.0.0+50+c3b345cd.x86_64 and
perl-libs-4:5.26.3-416.el8.x86_64
  - cannot install both perl-libs-4:5.26.3-416.el8.x86_64 and
perl-libs-4:5.24.4-398.module_el8.0.0+50+c3b345cd.x86_64
  - package git-2.18.1-3.el8.x86_64 requires git-core-doc = 2.18.1-3.el8,
but none of the providers can be installed
  - package git-2.18.1-4.el8.x86_64 requires git-core-doc = 2.18.1-4.el8,
but none of the providers can be installed
  - package perl-Time-Local-1:1.280-1.module_el8.0.0+50+c3b345cd.noarch
requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be
installed

  - cannot install both git-core-doc-2.18.2-1.el8_1.noarch and
git-core-doc-2.18.1-3.el8.noarch
  - cannot install both git-core-doc-2.18.1-4.el8.noarch and
git-core-doc-2.18.2-1.el8_1.noarch


  - cannot install the best update candidate for package
perl-Time-Local-1:1.280-1.el8.noarch
  - cannot install the best update candidate for package
git-core-doc-2.18.1-3.el8.noarch
  - package perl-libs-4:5.24.4-404.module_el8.1.0+229+cd132df8.x86_64 is
excluded
 Problem 56: problem with installed package logwatch-7.4.3-9.el8.noarch
  - package logwatch-7.4.3-9.el8.noarch requires perl(Sys::CPU), but none
of the providers can be installed
  - perl-Sys-CPU-0.61-14.el8.i686 has inferior architecture
  - package perl-Sys-CPU-0.61-14.el8.x86_64 requires
libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both
perl-libs-4:5.24.4-398.module_el8.0.0+50+c3b345cd.x86_64 and
perl-libs-4:5.26.3-416.el8.x86_64


  - cannot install both perl-libs-4:5.26.3-416.el8.x86_64 and
perl-libs-4:5.24.4-398.module_el8.0.0+50+c3b345cd.x86_64
  - package
perl-Unicode-Normalize-1.25-1000.module_el8.0.0+50+c3b345cd.x86_64 requires
perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed


  - package
perl-Unicode-Normalize-1.25-1000.module_el8.0.0+50+c3b345cd.x86_64 requires
libperl.so.5.24()(64bit), but none of the providers can be installed


  - cannot install the best update candidate for package
perl-Unicode-Normalize-1.25-396.el8.x86_64
  - package perl-libs-4:5.24.4-404.module_el8.1.0+229+cd132df8.x86_64 is
excluded

Help dnf update --allowerasing, but all the perl packages will be removed.

Regards,
DH


čt 16. 1. 2020 v 5:33 odesílatel Philippe Piot <piot at nicadd.niu.edu> napsal:

> 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
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
>