Project

General

Profile

Actions

tickets #55124

closed

[Arch Linux] Inconsistent with mirror

Added by hawkeye116477 over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Mirrors
Target version:
-
Start date:
2019-08-05
Due date:
% Done:

100%

Estimated time:

Description

Welcome! When I push new version on OBS and it's published, then when I want to install package, then it shows me old version (I did synchronization with pacman) and I can't also redownload old version. That's because it looks for version in mirror's db, then it tries to download it from download.opensuse.org, but that version got replaced by new, so it can't download.
I can fix that by replacing Server with https://downloadcontent.opensuse.org, but would be good if this will work also with https://download.opensuse.org, so it should download new version directly from https://downloadcontent.opensuse.org if mirror hadn't new version or it should download old version from mirror.

Actions #1

Updated by pjessen over 4 years ago

  • Status changed from New to Feedback
  • Private changed from Yes to No

I'm sorry, I have no idea what you are talking about. Maybe you could add some examples with URLs etc.

Actions #2

Updated by hawkeye116477 over 4 years ago

For example use pacman to download that package => https://software.opensuse.org//download.html?project=home%3Ahawkeye116477%3Awaterfox&package=waterfox-alpha-kde. Latest available version is 68.0a2 (but pacman still see 68.0a1, because it gets informations from db file => https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/Arch/x86_64/home_hawkeye116477_waterfox_Arch.db and that db file points to mirror which still has old version 68.0a1, then it tries to download old version, but can't, because https://download.opensuse.org hasn't that version, because it was replaced with new version 68.0a2. So in that case it's impossible to download new version or redownload old version, I must wait few days when mirror will have new version or replace server with https://downloadcontent.opensuse.org/.. instead of https://download.opensuse.org/...

Actions #3

Updated by pjessen over 4 years ago

When you use http://download.o.o, you are redirected to a mirror site which has the content you're after. For home repos, there are not so many mirrors. I guess a mirror could be out-of-date, maybe if the rsync isn't working properly, but we would normally notice that and not redirect you to that mirror.

Which mirror do you see the problem with? (pacman is not a mirror).

Actions #4

Updated by hawkeye116477 over 4 years ago

Which mirror do you see the problem with?

It's https://ftp.gwdg.de.

Actions #5

Updated by pjessen over 4 years ago

  • Status changed from Feedback to New

Okay, judging by the push logs, no content for "Arch Linux" was pushed to gwdg in July and August. The last activity was on June 21. Gennerally, the push to gwdg is working however, so somehow it is being held up. I see it was marked for push this morning:

-rw-r--r-- 1 mirror stage 39 Aug  7 11:43 arrived/home:hawkeye116477:waterfox_AppImage
-rw-r--r-- 1 mirror stage 35 Aug  7 09:26 arrived/home:hawkeye116477:waterfox_Arch
-rw-r--r-- 1 mirror stage 45 Aug  7 11:38 arrived/home:hawkeye116477:waterfox_Debian_Testing
-rw-r--r-- 1 mirror stage 46 Aug  7 07:14 arrived/home:hawkeye116477:waterfox_Debian_Unstable
-rw-r--r-- 1 mirror stage 40 Aug  7 09:24 arrived/home:hawkeye116477:waterfox_Fedora_29
-rw-r--r-- 1 mirror stage 44 Aug  7 06:29 arrived/home:hawkeye116477:waterfox_xUbuntu_18.04
-rw-r--r-- 1 mirror stage 43 Aug  7 04:19 arrived/home:hawkeye116477:waterfox_xUbuntu_Next
Actions #6

Updated by hawkeye116477 over 4 years ago

Yes, it it's pushed with some delay, but in the meantime unfortunately if I uninstall package, then I can't re-download old version or download new version through pacman until I change server to https://downloadcontent.opensuse.org. Anyway, I hope that will be solved soon :-)

Actions #7

Updated by lrupp over 4 years ago

  • Category set to Mirrors
Actions #8

Updated by pjessen over 4 years ago

  • Status changed from New to Feedback
  • Assignee set to pjessen

I believe this issue was solved, the repo synch to gwdg is certainly working fine. hawkeye, can you confirm if you are still seeing an issue?

Actions #9

Updated by hawkeye116477 about 4 years ago

This issue unfortunately still appears, when I release new version, then if new version isn't available yet on mirrors, then it's not possible to download older or new version through pacman (directly from site works), it tries to download old version and I got 404 from download.opensuse.org, because old version was replaced by new version on download.opensuse.org and syncing doesn't help.

Actions #10

Updated by pjessen about 4 years ago

I'm sorry, but I can't work out what you are trying to say.

Trying to investigate any inconsistencies after the fact is very difficult. I can look at the logs and see that repo push to gwdg is working just fine.
Perhaps you could try to provide some detailed information - which package is or is not available, where and at what time?

For your userid, I see some projects being pushed on 2020/02/02 and 2020/02/03 (times are in UTC) :

Sun Feb  2 04:15:57 2020 ftp.gwdg.de: home:/hawkeye116477:/waterfox/Debian_Unstable
Sun Feb  2 04:16:15 2020 ftp.gwdg.de: home:/hawkeye116477:/waterfox/Debian_Testing
Sun Feb  2 04:53:09 2020 ftp.gwdg.de: home:/hawkeye116477:/waterfox/xUbuntu_18.04
Mon Feb  3 13:48:40 2020 ftp.gwdg.de: home:/hawkeye116477:/waterfox/Fedora_Rawhide
Mon Feb  3 14:19:35 2020 ftp.gwdg.de: home:/hawkeye116477:/waterfox/Fedora_30
Mon Feb  3 14:31:28 2020 ftp.gwdg.de: home:/hawkeye116477:/waterfox/xUbuntu_Next
Mon Feb  3 21:10:47 2020 ftp.gwdg.de: home:/hawkeye116477:/waterfox/Debian_Testing
Mon Feb  3 21:14:15 2020 ftp.gwdg.de: home:/hawkeye116477:/waterfox/Debian_Unstable
Mon Feb  3 22:06:46 2020 ftp.gwdg.de: home:/hawkeye116477:/waterfox/Arch

In general, home repos will always be "pushed with some delay" - they have the lowest priority.

Actions #11

Updated by hawkeye116477 about 4 years ago

Perhaps you could try to provide some detailed information - which package is or is not available, where and at what time?

For example waterfox-current-kpe, if I type to console sudo pacman -Syy, then sudo pacman -S waterfox-current-kpe, I got this:

resolving dependencies...
looking for conflicting packages...

Packages (1) waterfox-current-kpe-2020.01-0

Total Download Size: 48,82 MiB
Total Installed Size: 189,35 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
error: failed retrieving file 'waterfox-current-kpe-2020.01-0-x86_64.pkg.tar.xz' from download.opensuse.org : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.

This is old version, which of course currently isn't available on download.opensuse.org, but still available on mirror. Same situation is always when latest version isn't on mirror. It should rather see latest version and download it from downloadcontent.opensuse.org if mirrors aren't available just like in case of for example Debian or Ubuntu repos.

Actions #12

Updated by pjessen about 4 years ago

  • Status changed from Feedback to In Progress

hawkeye116477 wrote:

This is old version, which of course currently isn't available on download.opensuse.org, but still available on mirror.
Same situation is always when latest version isn't on mirror. It should rather see latest version and download it from
downloadcontent.opensuse.org if mirrors aren't available just like in case of for example Debian or Ubuntu repos.

a) we don't have such fine-grained control over our mirrors, it would mean tracking the individual status of thousands and thousands of packages.
b) Debian and Ubuntu repos should be available on any mirror that carries repositories.
c) if not, it is perhaps a little much to expect us to provide the download bandwidth :-)

https://ftp.gwdg.de/pub/opensuse/repositories/home%3A/hawkeye116477%3A/waterfox/

Index of /pub/opensuse/repositories/home:/hawkeye116477:/waterfox/
../
AppImage/                                          30-Jan-2020 23:24
Arch/                                              11-Oct-2018 18:53
CentOS_7/                                          05-Feb-2020 05:52
CentOS_8/                                          19-Jan-2020 11:51
CentOS_8_Stream/                                   06-Jan-2020 15:01
Debian_10/                                         05-Feb-2020 07:07
Debian_9.0/                                        05-Feb-2020 05:36
Debian_Testing/                                    03-Feb-2020 12:30
Debian_Unstable/                                   03-Feb-2020 12:41
Fedora_29/                                         11-Jan-2020 19:02
Fedora_30/                                         03-Feb-2020 10:24
Fedora_Rawhide/                                    03-Feb-2020 10:02
openSUSE_Leap_15.0/                                11-Jan-2020 18:43
openSUSE_Leap_15.1/                                14-Jan-2020 12:08
openSUSE_Tumbleweed/                               14-Jan-2020 12:55
xUbuntu_16.04/                                     11-Jan-2020 20:28
xUbuntu_18.04/                                     02-Feb-2020 04:13
xUbuntu_19.04/                                     11-Jan-2020 19:44
xUbuntu_19.10/                                     30-Jan-2020 14:58
xUbuntu_Next/                                      05-Feb-2020 07:52

I don't know that there is much I can do - if you can provide detailed information of a mirror being e.g. 30mins out-of-sync for repositories, I can try to contact them to set up a push job.

Actions #13

Updated by hawkeye116477 about 4 years ago

we don't have such fine-grained control over our mirrors, it would mean tracking the individual status of thousands and thousands of packages.

I don't know that there is much I can do - if you can provide detailed information of a mirror being e.g. 30mins out-of-sync for repositories, I can try to contact them to set up a push job.

So you mean that's possible in case of Debian, but not in case of Arch Linux?

In case of Debian repo (on OBS), when I publish new version, then it's not available on mirror for some time since the introduction of the new version, but downloading through apt still works, it detects new version and downloads from downloadcontent.opensuse.org and that's fine. In case of Arch Linux repos unfortunately this doesn't work same when I'm introducing new version (I set https://download.opensuse.org/repositories/home:/hawkeye116477:/waterfox/Arch/$arch as server).

Actions #14

Updated by pjessen about 4 years ago

hawkeye116477 wrote:

we don't have such fine-grained control over our mirrors, it would mean tracking the individual status of thousands and thousands of packages.
I don't know that there is much I can do - if you can provide detailed information of a mirror being e.g. 30mins out-of-sync for repositories, I can try to contact them to set up a push job.

So you mean that's possible in case of Debian, but not in case of Arch Linux?

No, we don't treat them any differently. A home repo is a home repo whatever you are building.

In case of Debian repo (on OBS), when I publish new version, then it's not available on mirror for some time,

Quite possible.

but downloading through apt still works, it detects new version and downloads from downloadcontent.opensuse.org and that's fine.

That is probably because downloadcontent is our fallback mirror.

In case of Arch Linux repos unfortunately this doesn't work.

There is no reason it shouldn't, like I said, we don't know the difference.

Actions #15

Updated by pjessen almost 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Hawkeye, I'm going to close this for now - if you believe there is something we need to do, please feel free to re-open.

Actions

Also available in: Atom PDF