Centos 6.8 Update Problem (util-linux-ng)

Discussion in 'Containers and Virtual Machines Discussion' started by futureweb, Dec 22, 2016.

  1. futureweb

    futureweb Tera Poster

    Messages:
    397
    please delete Thread - problem solved
     
    Last edited: Dec 22, 2016
  2. Pavel

    Pavel A.I. Auto-Responder Staff Member

    Messages:
    478
    Hello,

    I'm glad to hear that you've solved the problem, however I think it would be more profitable to the universe and your karma if you share solution, instead of wiping initial thread :)

    P.S. I do know the answer, and I can retrieve original error output from the e-mail I received when thread was created, but I'd like to get your confirmation before I do that
     
  3. futureweb

    futureweb Tera Poster

    Messages:
    397
    Hey Pavel,
    since it was plain stupidity of me that I overlooked the excludes within yum config (even if i'm not sure where they came from ... some older Plesk Version leftovers?) I thought I can delete the Thread as it won't help others ... but if you think it may be of help for others - please retrieve my original posting + post your answer! :)
    (No need of bad Karma so short before Christmas! ;-)
    thx, bye from Austria
    Andreas
     
  4. Pavel

    Pavel A.I. Auto-Responder Staff Member

    Messages:
    478
    Error like that:
    Code:
    CT-359-bash-4.1# cat /etc/redhat-release
    CentOS release 6.8 (Final)
    
    CT-359-bash-4.1# yum update
    ...
    ...
    --> Finished Dependency Resolution
    Error: Package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64 (updates)
    Requires: kernel >= 2.6.32-642
    Installed: kernel-2.6.32-279.9.1.el6.x86_64 (@updates)
    kernel = 2.6.32-279.9.1.el6
    kernel = 2.6.32-279.9.1.el6
    Indicates that CT has kernel installed. Normally it shouldn't have it installed, and it is also excluded in yum.conf to ensure it won't be installed.

    So, if you face this issue:
    1) remove kernel from the container
    2) make sure kernel is still excluded in yum.conf
     
  5. PH-Quentin

    PH-Quentin Bit Poster

    Messages:
    1
    Hi Pavel, Futureweb,

    The bug is still present:

    Code:
    [2017-02-03 03:58:23 +0100]      [7146] Resolving Dependencies
    [2017-02-03 03:58:23 +0100]      [7146] --> Running transaction check
    [2017-02-03 03:58:23 +0100]      [7146] ---> Package MariaDB-client.x86_64 0:10.1.19-1.el6 will be updated
    [2017-02-03 03:58:23 +0100]      [7146] ---> Package MariaDB-client.x86_64 0:10.1.21-1.el6 will be an update
    [2017-02-03 03:58:23 +0100]      [7146] ---> Package MariaDB-common.x86_64 0:10.1.19-1.el6 will be updated
    [2017-02-03 03:58:23 +0100]      [7146] ---> Package MariaDB-common.x86_64 0:10.1.21-1.el6 will be an update
    [2017-02-03 03:58:23 +0100]      [7146] ---> Package MariaDB-devel.x86_64 0:10.1.19-1.el6 will be updated
    [2017-02-03 03:58:23 +0100]      [7146] ---> Package MariaDB-devel.x86_64 0:10.1.21-1.el6 will be an update
    .........
    .........
    
    [2017-02-03 03:58:24 +0100]      [7146] ---> Package vim-enhanced.x86_64 2:7.4.629-5.el6 will be updated
    [2017-02-03 03:58:24 +0100]      [7146] ---> Package vim-enhanced.x86_64 2:7.4.629-5.el6_8.1 will be an update
    [2017-02-03 03:58:26 +0100]      [7146] ---> Package vim-filesystem.x86_64 2:7.4.629-5.el6 will be updated
    [2017-02-03 03:58:26 +0100]      [7146] ---> Package vim-filesystem.x86_64 2:7.4.629-5.el6_8.1 will be an update
    [2017-02-03 03:58:26 +0100]      [7146] ---> Package vim-minimal.x86_64 2:7.4.629-5.el6 will be updated
    [2017-02-03 03:58:26 +0100]      [7146] ---> Package vim-minimal.x86_64 2:7.4.629-5.el6_8.1 will be an update
    [2017-02-03 03:58:26 +0100]      [7146] --> Running transaction check
    [2017-02-03 03:58:26 +0100]      [7146] ---> Package ea-php-cli-lsphp.x86_64 0:0.2.0-1.1.1.cpanel will be installed
    [2017-02-03 03:58:26 +0100]      [7146] ---> Package ea-php54-php-litespeed.x86_64 0:5.4.45-26.26.10.cpanel will be installed
    [2017-02-03 03:58:26 +0100]      [7146] ---> Package ea-php55-php-litespeed.x86_64 0:5.5.38-8.8.10.cpanel will be installed
    [2017-02-03 03:58:26 +0100]      [7146] ---> Package ea-php56-php-litespeed.x86_64 0:5.6.30-1.1.3.cpanel will be installed
    [2017-02-03 03:58:26 +0100]      [7146] ---> Package util-linux-ng.x86_64 0:2.17.2-12.24.el6_8.1 will be an update
    [2017-02-03 03:58:26 +0100]      [7146] --> Processing Dependency: kernel >= 2.6.32-642 for package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64
    [2017-02-03 03:58:26 +0100]      [7146] --> Finished Dependency Resolution
    [2017-02-03 03:58:26 +0100]      [7146] Error: Package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64 (updates)
    [2017-02-03 03:58:26 +0100]      [7146]  You could try using --skip-broken to work around the problem
    [2017-02-03 03:58:26 +0100]      [7146]  You could try running: rpm -Va --nofiles --nodigest
    [2017-02-03 03:58:26 +0100]      [7146] (XID 4v5w6s) The system failed to execute yum with the arguments “-y -c /etc/yum.conf update --disablerepo=epel” because of an error: The “/usr/bin/yum” command (process 7167) reported error number 1 when it ended. : Error: Package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64 (updates)
    [2017-02-03 03:58:26 +0100]      [7146]            Requires: kernel >= 2.6.32-642
    [2017-02-03 03:58:26 +0100]      [7146] checkyum version 22.3
    
    [root@vpsXXXX ~]$ cat /etc/yum.conf
    [main]
    exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* p0f php* proftpd* pure-ftpd* spamassassin* squirrelmail* kernel*
    Some other customers use the work around --skip-broken and now they have this:

    Code:
    [root@vpsXXXX ~]$ rpm -qa | grep kernel
    kernel-headers-2.6.32-642.13.1.el6.x86_64
    kernel-2.6.32-642.13.1.el6.x86_64
    dracut-kernel-004-409.el6_8.2.noarch
    kernel-firmware-2.6.32-642.13.1.el6.noarch
    
    [root@vpsXXXX ~]$ yum remove kernel
    Loaded plugins: fastestmirror
    Setting up Remove Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package kernel.x86_64 0:2.6.32-642.13.1.el6 will be erased
    --> Processing Dependency: kernel >= 2.6.32-642 for package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64
    --> Processing Dependency: kernel >= 2.6.32-642 for package: util-linux-ng-2.17.2-12.24.el6_8.1.x86_64
    --> Running transaction check
    
    Dependencies Resolved
    
    =============================================================================================================================================================================================================================================
    Package                                                                      Arch                                       Version                                                       Repository                                       Size
    =============================================================================================================================================================================================================================================
    Removing:
    kernel                                                                       x86_64                                     2.6.32-642.13.1.el6                                           @updates                                        131 M
    Removing for dependencies:
    MariaDB-server                                                               x86_64                                     10.1.21-1.el6                                                 @MariaDB101                                     448 M
    at                                                                           x86_64                                     3.1.10-48.el6                                                 @base                                            92 k
    cpanel-clamav                                                                x86_64                                     0.99.2-2.cp1156                                               installed                                       110 M
    cpanel-mailman                                                               x86_64                                     2.1.23-2.cp1158                                               installed                                        31 M
    cpanel-perl-522-Cpanel-CORE-Dependencies                                     x86_64                                     1.8-1.cp1156                                                  installed                                       190
    cpanel-perl-522-Mail-SpamAssassin                                            x86_64                                     3.004001-13.cp1156                                            installed                                       2.4 M
    cpanel-perl-522-Quota                                                        x86_64                                     1.7.2-2.cp1156                                                installed                                        41 k
    cpanel-roundcubemail                                                         noarch                                     1.1.7-1.cp1158                                                installed                                        18 M
    ......
    vzdev                                                                        noarch                                     1.0-7.swsoft                                                  installed                                       0.0
    xinetd                                                                       x86_64                                     2:2.3.14-40.el6                                               @base                                           259 k
    
    Transaction Summary
    =============================================================================================================================================================================================================================================
    Remove       50 Package(s)
    
    Installed size: 910 M
    Do you have a real work-around for those issues ?

    Best regards,
    Quentin
     

Share This Page