Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing files in the mirror https://mirror.aardsoft.fi/ #516

Open
kum-deepak opened this issue Aug 31, 2024 · 4 comments
Open

Missing files in the mirror https://mirror.aardsoft.fi/ #516

kum-deepak opened this issue Aug 31, 2024 · 4 comments

Comments

@kum-deepak
Copy link

The files in https://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_24.04/amd64/ are missing.

https://mirror.aardsoft.fi/opensuse/repositories/graphics%3A/darktable/xUbuntu_24.04/amd64/darktable_4.8.1-1.1%2B80.1_amd64.deb goes 404. This leads to apt install darktable to fail.

I can confirm that this file is available in another mirror: https://ftp.gwdg.de/pub/opensuse/repositories/graphics%3A/darktable/xUbuntu_24.04/amd64/darktable_4.8.1-1.1%2B80.1_amd64.deb

@kum-deepak kum-deepak changed the title Missing files in tge mirror https://mirror.aardsoft.fi/ Missing files in the mirror https://mirror.aardsoft.fi/ Aug 31, 2024
@andrii-suse
Copy link
Collaborator

It is not guaranteed that files will be present on any mirror. (Mirrors are typically fully managed by contributors, so openSUSE infrastructure can only read access).

The only behavior you can expect is that redirect from download.opensuse.org is not happening to mirrors which are missing the desired resource.

Was it some particular problem that you did encounter? (E.g. with redirection from download.opensuse.org)

@asg7443
Copy link

asg7443 commented Oct 4, 2024

Hi!

download.opensuse.org does redirect to https://mirror.aardsoft.fi/ and in my case it returns somewhat outdated file.

Package was rebuilt on 03 Oct 2024 03:28:33 +0000, it's almost 34 hours ago.

> wget https://download.opensuse.org/repositories/home:/alvistack/Debian_12/amd64/containernetworking_1.2.3-1_amd64.deb
--2024-10-04 16:51:56--  https://download.opensuse.org/repositories/home:/alvistack/Debian_12/amd64/containernetworking_1.2.3-1_amd64.deb
Resolving download.opensuse.org (download.opensuse.org)... 195.135.223.226, 2a07:de40:b250:131:10:151:131:30
Connecting to download.opensuse.org (download.opensuse.org)|195.135.223.226|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://mirror.aardsoft.fi/opensuse/repositories/home%3A/alvistack/Debian_12/amd64/containernetworking_1.2.3-1_amd64.deb [following]
--2024-10-04 16:51:57--  https://mirror.aardsoft.fi/opensuse/repositories/home%3A/alvistack/Debian_12/amd64/containernetworking_1.2.3-1_amd64.deb
Resolving mirror.aardsoft.fi (mirror.aardsoft.fi)... 95.216.238.135, 2a01:4f9:1a:7200::135
Connecting to mirror.aardsoft.fi (mirror.aardsoft.fi)|95.216.238.135|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1334216 (1,3M) [application/octet-stream]

@asg7443
Copy link

asg7443 commented Oct 4, 2024

Oh, according to this comment, it looks like in my case it's not the mirror to be blamed.

@andrii-suse
Copy link
Collaborator

Yeah, it is kind of known problem that redirection may be incorrect if the filename was not changed after rebuild.
And there is not easy fix at the moment, because download.opensuse.org doesn't have capacity to verify integrity of all files on all mirrors, so it relies only on the name to conclude if a mirror has the file.

To work around this problem the .deb project should be tweaked in build.opensuse.org to include build number, so every package has unique name on every rebuild.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants