Menu

#5464 Unable to upgrade from 1.972 to 1.973 on Amazon Linux 2

1.973
open
nobody
None
5
2021-03-08
2021-03-07
No

Unable to upgrade from 1.972 to 1.973 on Amazon Linux 2 (Centos, Ubuntu, etc. are OK - JUST Amazon Linux 2):

Upgrade Webmin
Downloading http://prdownloads.sourceforge.net/sourceforge/webadmin/webmin-1.973-1.noarch.rpm (185 bytes) ..
Downloading http://downloads.sourceforge.net/project/webadmin/webmin/1.973/webmin-1.973-1.noarch.rpm (167 bytes) ..
Downloading https://nchc.dl.sourceforge.net/project/webadmin/webmin/1.973/webmin-1.973-1.noarch.rpm (37.96 MiB) ..
Received 1 KiB (0 %)
Received 3.79 MiB (10 %)
Received 7.59 MiB (20 %)
Received 11.39 MiB (30 %)
Received 15.18 MiB (40 %)
Received 18.98 MiB (50 %)
Received 22.78 MiB (60 %)
Received 26.57 MiB (70 %)
Received 30.37 MiB (80 %)
Received 34.17 MiB (90 %)
Received 37.96 MiB (100 %)
.. download complete.
Package signature verified successfully.
Running RPM to upgrade Webmin .. Please wait a minute until it is complete before continuing.

file /usr/libexec/webmin/blue-theme from install of webmin-1.973-1.noarch conflicts with file from package webmin-1.972-1.noarch

Discussion

  • Rick Pearson

    Rick Pearson - 2021-03-07

    Also occurs on Centos7:

    esolving Dependencies
    --> Running transaction check
    ---> Package webmin.noarch 0:1.972-1 will be updated
    ---> Package webmin.noarch 0:1.973-1 will be an update
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================================================
    Package Arch Version Repository Size
    ================================================================================
    Updating:
    webmin noarch 1.973-1 Webmin 38 M

    Transaction Summary

    Upgrade 1 Package

    Total size: 38 M
    Downloading packages:
    Running transaction check
    Running transaction test

    Transaction check error:
    file /usr/libexec/webmin/blue-theme from install of webmin-1.973-1.noarch conflicts with file from package webmin-1.972-1.noarch

    Error Summary

    .. install failed!

    Hasn't happened on Ubuntu 12,14,16,18,20 OR Centos6. Will check Amazon Linux 2

     
  • Rick Pearson

    Rick Pearson - 2021-03-07

    And also on CloudLinux 6.10 and CloudLinux 7.9 - same issue. Curiously it works on Centos6.

    On CloudLinux 6.10 I see:

    Loaded plugins: fastestmirror, rhnplugin, universal-hooks
    Setting up Install Process
    Loading mirror speeds from cached hostfile
     * EA4: 103.223.184.12
     * cpanel-addons-production-feed: 103.223.184.12
     * cpanel-plugins: 103.223.184.12
     * cloudlinux-x86_64-server-6: cl-mirror-sg.vhost.vn
     * epel: d2lzkl7pfhq30w.cloudfront.net
    Resolving Dependencies
    --> Running transaction check
    ---> Package webmin.noarch 0:1.972-1 will be updated
    ---> Package webmin.noarch 0:1.973-1 will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package           Arch              Version            Repository         Size
    ================================================================================
    Updating:
     webmin            noarch            1.973-1            Webmin             38 M
    
    Transaction Summary
    ================================================================================
    Upgrade       1 Package(s)
    
    Total download size: 38 M
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Updating   : webmin-1.973-1.noarch                                        1/2Error unpacking rpm package webmin-1.973-1.noarch
    
    error: unpacking of archive failed on file /usr/libexec/webmin/blue-theme: cpio: rename
      Verifying  : webmin-1.973-1.noarch                                        1/2webmin-1.972-1.noarch was supposed to be removed but is not!
    
      Verifying  : webmin-1.972-1.noarch                                        2/2 
    
    Failed:
      webmin.noarch 0:1.972-1                webmin.noarch 0:1.973-1               
    
    Complete!
    

    Which may give more insights into why it is failing.

     
  • Jamie Cameron

    Jamie Cameron - 2021-03-08

    Thanks, I see the cause of this and have uploaded a fixed package. You can get it by running :

    yum clean all
    yum install webmin

     
  • Rick Pearson

    Rick Pearson - 2021-03-08

    Jamie,

    Thanks for that. I tried the yum clean all on Centos6 and when I now try to update/install webmin I can't as the Centos6 base repos are now "dead".

    This directory (and version of CentOS) is deprecated. Please see this FAQ
    concerning the CentOS release scheme:
    
    https://wiki.centos.org/FAQ/General
    
    Please keep in mind that 6.0, 6.1, 6.2, 6.3, 6.4 , 6.5, 6.6, 6.7, 6.8 , 6.9 and 6.10 no longer get any updates, nor
    any security fix's.
    The whole CentOS 6 is *dead* and *shouldn't* be used anywhere at *all*
    

    It did work on Amazon Linux 2 and Centos7 though when I ran the following command:

    yum --enablerepo=Webmin clean metadata; yum install webmin -y
    

    Rick.

     
  • Jamie Cameron

    Jamie Cameron - 2021-03-08

    Those must be the official CentOS repos - we don't have separate per-version repos for Webmin.

     
  • King Arthur

    King Arthur - 2021-03-08

    Thanks Jamie, resolved it for me on Centos 7.9.
    :)

     

Log in to post a comment.