amuehlem / MISP-RPM

RPM packages for MISP
32 stars 14 forks source link

Parsing primary.xml error: Start tag expected, '<' not found #95

Closed luisabauer closed 2 months ago

luisabauer commented 2 months ago

Hi, We are receiving the message error when we are running: yum update

For knowledge: I ran: mv misp.repo bkp yum install http://repo.misp-project.ch/yum/misp/misp-release-latest.el7.noarch.rpm then yum update

then, received the message error: [root@xxxxxxx yum.repos.d]# yum install misp Loaded plugins: langpacks, susemanagerplugin, venv-yumnotify, versionlock misp | 1.5 kB 00:00:00

One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only ... Parsing primary.xml error: Start tag expected, '<' not found .

the misp.repo:

MISP repositories

[misp] name=misp baseurl=https://repo.misp-project.ch/yum/misp enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-KOJI-SWITCH file:///etc/pki/rpm-gpg/RPM-GPG-KEY-KOJI-MISPPROJECT gpgcheck=1

but, running : curl -k "https://repo.misp-project.ch/yum/misp" <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> html>head> title>301 Moved Permanently body> h1>Moved Permanently p>The document has moved here.

/body>

This page show a misp.repo [misp] name=misp baseurl=https://certrepo.switch.ch/certrepo/misp enabled=1

this do not work too

amuehlem commented 2 months ago

can you try to clear all caches?

yum clean all

And then try to install MISP

yum install misp

You should see yum updating the repository information from https://repo.misp-project.ch/

luisabauer commented 2 months ago

Captura de tela 2024-07-09 161253

well , same problem yet

amuehlem commented 2 months ago

Could be EL7 needs GZ compression, my new webserver started to compress the repo files with zstd. Can you re-try?

yum clean all
yum install misp

This should try to download the updated repository.

amuehlem commented 2 months ago

by the way, EL7 is end of life. I will not be able to provide any newer misp packages.

luisabauer commented 2 months ago

Captura de tela 2024-07-09 165219

Greate !! Now it´s worked, Thank you very much!!