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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 16 Jan 2020 at 09:48, Philippe Piot <piot@xxxxxxxxxxxxxx> wrote:
>
> No it did not work; see:
> [piot@paris ~]$ sudo dnf install --nobest --allowerasing  gcc-c++
> Last metadata expiration check: 0:18:24 ago on Thu 16 Jan 2020 08:28:51 AM CST.
> Error:
>  Problem: 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 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 gcc-c++-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 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


OK let us see if we can see what is on the system which is causing the
problem. It is either going to be an existing gcc-XXX which needs to
be removed or it is some other i686 item.
rpm -qa | egrep 'glibc|gcc'

rpm -qa | grep i686 # probably a big file so probably put it in a
paste/gist somewhere would be better

I just tested on an 8.0 box and was able to install gcc-c++ from 8.1

[root@li1064-117 ~]# yum install gcc-c++
Last metadata expiration check: 1:11:50 ago on 2020-01-16T16:41:09 UTC.
Dependencies resolved.
==============================================================================================================================================================================================
 Package                                          Arch
                 Version
 Repository                                Size
==============================================================================================================================================================================================
Installing:
 gcc-c++                                          x86_64
                 8.3.1-4.5.el8
 AppStream                                 12 M
Upgrading:
 glibc                                            x86_64
                 2.28-72.el8
 BaseOS                                   3.5 M
 glibc-common                                     x86_64
                 2.28-72.el8
 BaseOS                                   811 k
 glibc-langpack-en                                x86_64
                 2.28-72.el8
 BaseOS                                   818 k
 libgcc                                           x86_64
                 8.3.1-4.5.el8
 BaseOS                                    78 k
 libgomp                                          x86_64
                 8.3.1-4.5.el8
 BaseOS                                   203 k
 libstdc++                                        x86_64
                 8.3.1-4.5.el8
 BaseOS                                   450 k
Installing dependencies:
 cpp                                              x86_64
                 8.3.1-4.5.el8
 AppStream                                 10 M
 gcc                                              x86_64
                 8.3.1-4.5.el8
 AppStream                                 23 M
 isl                                              x86_64
                 0.16.1-6.el8
 AppStream                                841 k
 libmpc                                           x86_64
                 1.0.2-9.el8
 AppStream                                 59 k
 libstdc++-devel                                  x86_64
                 8.3.1-4.5.el8
 AppStream                                2.0 M
 glibc-devel                                      x86_64
                 2.28-72.el8
 BaseOS                                   1.0 M
 glibc-headers                                    x86_64
                 2.28-72.el8
 BaseOS                                   469 k
 kernel-headers                                   x86_64
                 4.18.0-147.3.1.el8_1
 BaseOS                                   2.7 M
 libxcrypt-devel                                  x86_64
                 4.1.1-4.el8
 BaseOS                                    25 k

Transaction Summary
==============================================================================================================================================================================================
Install  10 Packages
Upgrade   6 Packages

Total download size: 59 M
Is this ok [y/N]: y
Downloading Packages:
(1/16): cpp-8.3.1-4.5.el8.x86_64.rpm

                 31 MB/s |  10 MB     00:00
(2/16): isl-0.16.1-6.el8.x86_64.rpm

                 21 MB/s | 841 kB     00:00
(3/16): gcc-c++-8.3.1-4.5.el8.x86_64.rpm

                 28 MB/s |  12 MB     00:00
(4/16): libmpc-1.0.2-9.el8.x86_64.rpm

                809 kB/s |  59 kB     00:00
(5/16): glibc-devel-2.28-72.el8.x86_64.rpm

                 26 MB/s | 1.0 MB     00:00
(6/16): libstdc++-devel-8.3.1-4.5.el8.x86_64.rpm

                 34 MB/s | 2.0 MB     00:00
(7/16): glibc-headers-2.28-72.el8.x86_64.rpm

                 17 MB/s | 469 kB     00:00
(8/16): libxcrypt-devel-4.1.1-4.el8.x86_64.rpm

                2.1 MB/s |  25 kB     00:00
(9/16): kernel-headers-4.18.0-147.3.1.el8_1.x86_64.rpm

                 31 MB/s | 2.7 MB     00:00
(10/16): glibc-2.28-72.el8.x86_64.rpm

                 32 MB/s | 3.5 MB     00:00
(11/16): glibc-common-2.28-72.el8.x86_64.rpm

                 15 MB/s | 811 kB     00:00
(12/16): libgcc-8.3.1-4.5.el8.x86_64.rpm

                6.8 MB/s |  78 kB     00:00
(13/16): glibc-langpack-en-2.28-72.el8.x86_64.rpm

                 31 MB/s | 818 kB     00:00
(14/16): libgomp-8.3.1-4.5.el8.x86_64.rpm

                9.3 MB/s | 203 kB     00:00
(15/16): libstdc++-8.3.1-4.5.el8.x86_64.rpm

                 21 MB/s | 450 kB     00:00
(16/16): gcc-8.3.1-4.5.el8.x86_64.rpm

                 29 MB/s |  23 MB     00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total

                 71 MB/s |  59 MB     00:00



>   - conflicting requests
>   - 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
> (try to add '--skip-broken' to skip uninstallable packages)
>
>
> Philippe Piot,
> https://www.niu.edu/advanced-accelerator-randd/
> 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
>
>
> On Thu, Jan 16, 2020 at 8:38 AM Stephen John Smoogen <smooge@xxxxxxxxx> wrote:
>>
>> On Thu, 16 Jan 2020 at 08:27, Philippe Piot <piot@xxxxxxxxxxxxxx> wrote:
>> >
>> > Also just to be more specific I am running CentOS 8.1. So the issue I
>> > encounter were after upgrading to 8.1. Thank you! -- Philippe.
>> >
>> >
>> > On Thu, Jan 16, 2020 at 6:48 AM Philippe Piot <piot@xxxxxxxxxxxxxx> wrote:
>> >
>> > > I am doing a dnf install package_without_version for instance for g++:
>> > >
>> > > [piot@paris opal]$ sudo dnf install gcc-c++
>> > > Last metadata expiration check: 0:01:06 ago on Thu 16 Jan 2020 06:45:59 AM
>> > > CST.
>> > > Error:
>> > >  Problem: 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 glibc-devel-2.28-72.el8.i686 requires glibc-headers, but none
>> > > of the providers can be installed
>>
>> OK I see the problem.. arch difficulties entered in sometime. You have
>> some .i686 packages installed which got filtered into the compose at
>> some point when they shouldn't have been.
>>
>> Please try adding --nobest --allowerasing to the install and see if it
>> gets past this.
>>
>>
>>
>> --
>> Stephen J Smoogen.



-- 
Stephen J Smoogen.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux