lbr38 / repomanager

A web UI to mirror rpm or deb packages repositories.
GNU General Public License v3.0
50 stars 7 forks source link

SYNCING PACKAGES... #105

Closed Abraka closed 11 months ago

Abraka commented 1 year ago

I updated to the latest 3.5.3 and when downloading AlmalInux repo newly predefined from list I get: Getting repomd.xml from https://ftp.linux.cz/pub/linux/almalinux/repodata/repomd.xml ... File not found error There is not repodata folder with repomd.xml on this mirror: Alma-ftpRepo1

Base on what was pick this specific mirror for downloading packages?

lbr38 commented 1 year ago

Hi

Ok just identified where the problem is, I will provide a fix quickly.

But your source repo URL seems incomplete, you should use something like that:

You cannot mirror a whole RPM repository with Repomanager, you should always provide URL that contains a repodata/ directory (with the repomd.xml file inside).

But wait for my fix before retrying. The fact is that when you register a new source repo and URL, the URL is converted to lowercase which is a problem here (AppStream => appstream, returning a 404 not found because the source repository is case sensitive).

lbr38 commented 1 year ago

This should now be fixed with https://github.com/lbr38/repomanager/pull/107