Join the community today
Register Now

Sysadmin Update rpmlib for nasm

Discussion in 'System Administration' started by Andy, Jul 2, 2020.

  1. Andy

    Andy Active Member

    461
    73
    28
    Aug 6, 2014
    Ratings:
    +102
    Local Time:
    9:12 AM
    When using centmin.sh option 24, it tells me nasm is available to update but after running
    yum update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi
    This is the error. What do I need to do exactly?
    Code:
    ERROR You need to update rpm to handle:
    rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by nasm-2.15.01-0.fc31.x86_64
    RPM needs to be updated
     You could try running: rpm -Va --nofiles --nodigest
    Your transaction was saved, rerun it with:
     yum load-transaction /tmp/yum_save_tx.2020-07-01.21-39.LmHsjL.yumtx
    This is not urgent but nice to have everything up to date.
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,750
    10,205
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,816
    Local Time:
    11:12 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    nasm yum package is part of addons/ffmpeg.sh installer routine and it used nasm 3rd party yum repo based on fedora 27 which had a YUM version compatible with CentOS 7. But yum update is trying to install nasm from fedora 31 which has a higher YUM version requirement than CentOS 7 supports due to fedora 31's YUM using zstd compression which CentOS 7's YUM doesn't support

    trying to update from nasm.x86_64 2.14.02-0.fc27 to nasm.x86_64 2.15.01-0.fc31
    Code (Text):
    yum update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi
    Loaded plugins: fastestmirror, versionlock
    Loading mirror speeds from cached hostfile
     * base: less.cogeco.net
     * centos-sclo-rh: less.cogeco.net
     * centos-sclo-sclo: mirror.dst.ca
     * epel: mirror.dst.ca
     * extras: mirror2.evolution-host.com
     * remi: mirror.pit.teraswitch.com
     * rpmforge: mirror.teklinks.com
     * updates: less.cogeco.net
    Excluding 13 updates due to versionlock (use "yum versionlock status" to show them)
    Resolving Dependencies
    --> Running transaction check
    ---> Package nasm.x86_64 0:2.14.02-0.fc27 will be updated
    ---> Package nasm.x86_64 0:2.15.01-0.fc31 will be an update
    --> Finished Dependency Resolution
    Dependencies Resolved
    ==========================================================================================================================================================================================================================================================
     Package                                                  Arch                                                       Version                                                               Repository                                                Size
    ==========================================================================================================================================================================================================================================================
    Updating:
     nasm                                                     x86_64                                                     2.15.01-0.fc31                                                        nasm                                                     436 k
    Transaction Summary
    ==========================================================================================================================================================================================================================================================
    Upgrade  1 Package
    Total size: 436 k
    Is this ok [y/d/N]:
    

    Until I can figure out what to do, just do a yum version lock on nasm package to prevent it from being updated via yum update
    Code (Text):
    yum versionlock nasm
     
  3. eva2000

    eva2000 Administrator Staff Member

    44,750
    10,205
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,816
    Local Time:
    11:12 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x