You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a private OBS instance, we create repositories for multiple distributions, including Ubuntu 20.04 and 22.04.
While the repo on OBS server works, it breaks when it is synced on an external mirror.
The reason seems to be the repos published from OBS do not normalize URL and the server used on the mirror do not normalize the URL either (while OBS server does the normalization when serving the files).
apt download mypackage complains:
E: Failed to fetch https://<mirror_path>/focal/./arm64/mypackage.deb 404 Not Found [IP: xxx.xxx.xxx.xxx 443]
(note the ./ in the path)
Expected Result
URL in repos should be normalized. I think this should happen before the generation of the file Packages.
How to Reproduce
Create a Ubuntu repo, move it to a webserver without URL normalization and try to download some packages with curl -v --path-as-is XYZ
Further Information
Latest release: 2.10
The text was updated successfully, but these errors were encountered:
Issue Description
On a private OBS instance, we create repositories for multiple distributions, including Ubuntu 20.04 and 22.04.
While the repo on OBS server works, it breaks when it is synced on an external mirror.
The reason seems to be the repos published from OBS do not normalize URL and the server used on the mirror do not normalize the URL either (while OBS server does the normalization when serving the files).
apt download mypackage
complains:(note the
./
in the path)Expected Result
URL in repos should be normalized. I think this should happen before the generation of the file
Packages
.How to Reproduce
Create a Ubuntu repo, move it to a webserver without URL normalization and try to download some packages with
curl -v --path-as-is XYZ
Further Information
The text was updated successfully, but these errors were encountered: