Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x => Topic started by: lc_lol on October 09, 2021, 11:12:44 AM
-
Hello,
Trying to install packages from sme repos, the following error occurs :
http://mirror.canada.pialasse.com/10/smeextras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Essai d'un autre miroir.If I'm not wrong, the correct URI should be http://mirror.canada.pialasse.com/releases/10 ...
yum repoinfo gets the incorrect link for all sme repos, ie :
Id du dépôt : smeos
Nom du dépôt : SME Server - os
Révision du dépôt : 1625150898
Mise à jour du dépôt : Thu Jul 1 16:48:24 2021
Paquets du dépôt : 1 363
Taille du dépôt : 862 M
Miroirs du dépôt : https://mirrorlist.koozali.org/mirrorlist/smeos-10
Baseurl du dépôt : http://mirror.canada.pialasse.com/10/smeos/x86_64/
Expiration du dépôt : 21 600 secondes (en date du : Sat Oct 9 03:22:15 2021)
Filter : read-only:present
Nom du dépôt : /etc/yum.smerepos.d/sme-base.repo
How can I get things back ?
Thanks :)
-
you are trying to install from the smeextras repo, please post the yum commands you are using
and if its just to reset default repos wiki has details - https://wiki.koozali.org/SME_Server:Adding_Software#Restoring_Default_Yum_Repositories
and then add other repos as needed from smeaddon packages
http://mirror.canada.pialasse.com/releases/10/smeaddons/x86_64/RPMS/
-
you are trying to install from the smeextras repo, please post the yum commands you are using
Hello Terry,
As a matter of fact, my first attempt was to install fail2ban with
yum --enablerepo=smecontribs install smeserver-fail2ban
Then I got this full output :
Modules complémentaires chargés : fastestmirror, post-transaction-actions, priorities, smeserver
Loading mirror speeds from cached hostfile
* base: ftp.pasteur.fr
* updates: ftp.pasteur.fr
http://mirror.canada.pialasse.com/10/smeaddons/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Essai d'un autre miroir.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
http://mirror.canada.pialasse.com/10/smeextras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Essai d'un autre miroir.
http://mirror.canada.pialasse.com/10/smeos/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Essai d'un autre miroir.
http://mirror.canada.pialasse.com/10/smeupdates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Essai d'un autre miroir.
Résolution des dépendances
--> Lancement de la transaction de test
---> Le paquet smeserver-fail2ban.noarch 9:0.1.18-15.el7.sme sera installé
--> Résolution des dépendances terminée
Dépendances résolues
==========================================================================================================================================
Package Architecture Version Dépôt Taille
==========================================================================================================================================
Installation :
smeserver-fail2ban noarch 9:0.1.18-15.el7.sme smecontribs 61 k
Résumé de la transaction
==========================================================================================================================================
Installation 1 Paquet
Taille totale des téléchargements : 61 k
Taille d'installation : 209 k
Is this ok [y/d/N]: y
Downloading packages:
smeserver-fail2ban-0.1.18-15.e FAILED
http://mirror.canada.pialasse.com/10/smecontribs/x86_64/RPMS/smeserver-fail2ban-0.1.18-15.el7.sme.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Essai d'un autre miroir.
Then I tried "yum update" and got the error from all sme mirrors.
Some friend I had asked too told me to try "yum clen all", and it has solved the errors from "yum update". But I'm still unable to install fail2ban from smecontribs, the error is still the same as above.
Thanks again for your help
[Edit : I've just seen your additions, I'm going to try them and I'll come back to tell]
-
Ok, reinitializing database didn't work, but I has lead me to the answear
I got it working with the following commands :
yum --enablerepo=smecontribs clean all
yum --enablerepo=smecontribs update
Everything is fine now :)
Thanks again for your help :)
-
(edited - bad manipulation)
-
no worries, I wasn't quick enough with the adds :-) and yes a yum clean all often does the deed..
-
the path http://mirror.canada.pialasse.com/10/smeaddons/x86_64/repodata/repomd.xml is wrong
should be
http://mirror.canada.pialasse.com/releases/10/smeaddons/x86_64/repodata/repomd.xml
have you mess up with repos on your server ?
normal should be
db yum_repositories show smeaddons
smeaddons=repository sacrum.pialasse.com
EnableGroups=yes
GPGCheck=yes
MirrorList=http://mirrorlist.koozali.org/mirrorlist/smeaddons-10
Name=SME Server - addons
Visible=yes
status=enabled
with mirrorlist actually giving what i said above
-
the path http://mirror.canada.pialasse.com/10/smeaddons/x86_64/repodata/repomd.xml is wrong
Hello Jean-Philippe,
I don't know what had broken it, I hadn't messed up anything with the original yum configuration before the problem occured. Maybe something linked to the infrastructure maintenance on friday.
But everything is fine now, after the "clean all" commands I mentioned above :-)
-
I am having the same issue on a fresh install of 10 on my test server.
running:
[root@srv04 ~]# db yum_repositories show smecontribs
smecontribs=repository
EnableGroups=yes
GPGCheck=yes
MirrorList=https://mirrorlist.koozali.org/mirrorlist/smecontribs-10
Name=SME Server - contribs
Visible=yes
status=disabled
[root@srv04 ~]# https://mirrorlist.koozali.org/mirrorlist/smecontribs-10
when I enter https://mirrorlist.koozali.org/mirrorlist/smecontribs-10 in a browser it shows
# version = 10, repo = smecontribs
http://mirror.canada.pialasse.com/10/smecontribs/$basearch/
I have ran :
yum --enablerepo=smecontribs clean all
yum --enablerepo=smecontribs update
But still the same error. It is almost as if the mirror is point to an incorrect url ?
BTW, I thought something might be wrong when after the fresh install, software installer panel told me I was all up to date.
-
The intra was down for a period last night/early this morn... might need a little time to hook and sync up fully
-
A few hours after your reply and everything was functioning again. :smile:
-
Although not the cause lot of work currently on validating all packages on cvs in preperation for moving the lot to Gitea and associated setups for repo and build system..boys are busy in the back room :-)