Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support yum update on CentOS 7 error

  • yum update on CentOS 7 error

    Posted by JonRussell on March 16, 2023 at 23:23

    Hi,

    The latest update is failing on my CentOS 7 servers (yes I know I should update them 🙂 one day :-).

    Has something changed, or is CentOS 7 no longer supported?

    I tried running the suggested “yum –enablerepo=artica_pandorafms clean metadata” but it still fails ?

    Thanks.

    Jon.

    [root@centos]# yum update
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: download.cf.centos.org
    * epel: d2lzkl7pfhq30w.cloudfront.net
    * extras: download.cf.centos.org
    * remi-php74: mirror.netweaver.uk
    * remi-safe: mirror.netweaver.uk
    * updates: download.cf.centos.org
    Resolving Dependencies
    --> Running transaction check
    ---> Package pandorafms_agent_unix.x86_64 0:7.0NG.767-221209 will be updated
    ---> Package pandorafms_agent_unix.noarch 0:7.0NG.769-230217 will be an update
    --> Finished Dependency Resolution
    Dependencies Resolved
    =============================================================================================================================================
    Package Arch Version Repository Size
    =============================================================================================================================================
    Updating:
    pandorafms_agent_unix noarch 7.0NG.769-230217 artica_pandorafms 290 k
    Transaction Summary
    =============================================================================================================================================
    Upgrade 1 Package
    Total download size: 290 k
    Is this ok [y/d/N]: y
    Downloading packages:
    Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
    pandorafms_agent_linux-7.0NG.7 FAILED
    http://firefly.artica.es/centos7/pandorafms_agent_linux-7.0NG.769.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=artica_pandorafms clean metadata
    Trying other mirror.
    Error downloading packages:
    pandorafms_agent_unix-7.0NG.769-230217.noarch: [Errno 256] No more mirrors to try.

    vic replied 1 year, 8 months ago 3 Members · 5 Replies
  • 5 Replies
  • vic

    Administrator
    March 23, 2023 at 17:25
    1542 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    We are checking the installation script to see if we can see and correct the problem.

    I will let you know as soon as we have news.

    Sorry for the inconvenience.

    Best regards,

    Víc.

  • vic

    Administrator
    March 24, 2023 at 09:22
    1542 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi JonRussell,

    We have already fixed the problem in the update.

    You may need to clear your metadata cache to prevent this from happening again.

    Please try the following commands and try again.

    yum --enablerepo=Artica clean metadata
    yum clean metadata
    yum clean all

    Best regards,

    Víc.

    • JonRussell

      Member
      March 24, 2023 at 17:47
      273 Karma points
      Community rank: tentacle-noob-1 Tentacle noob
      Like it
      Up
      0
      Down
      Drop it
      ::

      Hi.

      Yes, that has fixed the error, thank you, but as someone else mentioned, it now just doesn’t update to the latest version.

      [root@registry centos]# rpm -qa | grep pandorafms
      pandorafms_agent_unix-7.0NG.767-221209.x86_64
      [root@registry centos]# yum update
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
      * base: download.cf.centos.org
      * epel: cdn.centos.no
      * extras: download.cf.centos.org
      * remi-php74: mirror.netweaver.uk
      * remi-safe: mirror.netweaver.uk
      * updates: download.cf.centos.org
      No packages marked for update

      It will not update to 769.

      Thanks.

      Jon.


  • Id

    Member
    March 24, 2023 at 17:35
    35 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    While the fix gets rid of the error, it leaves pandorafms_agent_unix at version 7.0NG.767 and does not upgrade it to 7.0NG.769 to match the console and server packages.

  • vic

    Administrator
    March 27, 2023 at 18:20
    1542 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi Id,

    Agent packages are only updated in LTS versions, until a new LTS version is released, the packages will not be updated in their repositories.

    Best regards,

    Víc.