Can not use custom URL on config.yaml
Hello,
We attempted to fork the Extrepo repository and followed the steps to generate the public folder using:
perl tools/process
Afterward, we updated /etc/extrepo/config.yaml
, changing the url to point to our local version hosted via Nginx.
However, we're encountering a 404 Not Found error when trying to fetch data using extrepo. Examples:
# extrepo search redis
Could not download YAML file signature:
No such file or directory at /usr/bin/extrepo line 195.
Or during update:
# extrepo update
Could not download YAML file signature:
404 Not Found at /usr/share/perl5/Debian/ExtRepo/Data.pm line 46.
Nginx log excerpt:
2025/06/30 11:22:23 [error] 345212#345212: *511547 open() "/var/www/extrepo-data/public/debian/bookworm/index.yaml.asc" failed (2: No such file or directory), client: [REDACTED], server: [REDACTED], request: "GET /extrepo-data/debian/bookworm/index.yaml.asc HTTP/1.1", host: [REDACTED]
It appears that extrepo is attempting to retrieve:
/public/debian/bookworm/index.yaml.asc
However, that file does not exist — only:
/public/debian/bookworm/index.yaml
is present.
Edited by Xiufeng Guo