Pandora FMS Community

yum update on CentOS 7 error

JonRussell · 16 mar 2023, 23:23 · 6 mensajes · 80 visitas

  1. Inicio del debate

    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 updateLoaded plugins: fastestmirrorLoading 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.orgResolving 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 ResolutionDependencies Resolved============================================================================================================================================= Package                                Arch                    Version                             Repository                          Size=============================================================================================================================================Updating: pandorafms_agent_unix                  noarch                  7.0NG.769-230217                    artica_pandorafms                  290 kTransaction Summary=============================================================================================================================================Upgrade  1 PackageTotal download size: 290 kIs this ok [y/d/N]: yDownloading 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 metadataTrying other mirror.Error downloading packages:  pandorafms_agent_unix-7.0NG.769-230217.noarch: [Errno 256] No more mirrors to try.
    
  2. 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.

  3. 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 metadatayum clean metadatayum clean all
    

    Best regards,

    Víc.

  4. 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 pandorafmspandorafms_agent_unix-7.0NG.767-221209.x86_64
    
    [root@registry centos]# yum updateLoaded plugins: fastestmirrorLoading 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.orgNo packages marked for update
    

    It will not update to 769.

    Thanks.

    Jon.

  5. 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.

  6. 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.

Entra en tu cuenta para publicar.