Skip to content

Older packages missing from rpm/releases/7/x86_64/ #17

@nevotheless

Description

@nevotheless

Hi, i know the title is a little generic.

I was trying to sync the repo files to our Spacewalk server and it seems to find repo metadata perfectly fine, but when it comes to download the actual packages i'm getting a lot of 404 errors here.

2022/10/20 10:01:33 +02:00 Sync of channel started.
2022/10/20 10:01:34 +02:00 
2022/10/20 10:01:34 +02:00   Processing repository with URL: https://aquasecurity.github.io/trivy-repo/rpm/releases/7/x86_64
2022/10/20 10:01:34 +02:00     Packages in repo:                54
2022/10/20 10:01:35 +02:00     Packages already synced:          0
2022/10/20 10:01:35 +02:00     Packages to sync:                54
2022/10/20 10:01:35 +02:00     New packages to download:        54
2022/10/20 10:01:35 +02:00   Downloading packages:
2022/10/20 10:01:35 +02:00 ERROR: Download failed: https://aquasecurity.github.io/trivy-repo/rpm/releases/7/x86_64/trivy-0.15.0.el7.x86_64.rpm - [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found".
2022/10/20 10:01:35 +02:00     1/54 : trivy-0.15.0.el7.x86_64.rpm (failed)
2022/10/20 10:01:36 +02:00     2/54 : trivy-0.20.0.el7.x86_64.rpm
2022/10/20 10:01:36 +02:00     3/54 : trivy-0.27.1.el7.x86_64.rpm
2022/10/20 10:01:37 +02:00     4/54 : trivy-0.21.1.el7.x86_64.rpm
2022/10/20 10:01:37 +02:00     5/54 : trivy-0.19.1.el7.x86_64.rpm
2022/10/20 10:01:38 +02:00     6/54 : trivy-0.20.2.el7.x86_64.rpm
2022/10/20 10:01:38 +02:00     7/54 : trivy-0.24.3.el7.x86_64.rpm
2022/10/20 10:01:39 +02:00     8/54 : trivy-0.28.1.el7.x86_64.rpm
2022/10/20 10:01:40 +02:00     9/54 : trivy-0.20.1.el7.x86_64.rpm
2022/10/20 10:01:41 +02:00     10/54 : trivy-0.31.3.el7.x86_64.rpm
2022/10/20 10:01:41 +02:00     11/54 : trivy-0.16.0.el7.x86_64.rpm
2022/10/20 10:01:42 +02:00     12/54 : trivy-0.18.2.el7.x86_64.rpm
2022/10/20 10:01:43 +02:00     13/54 : trivy-0.32.1.el7.x86_64.rpm
2022/10/20 10:01:43 +02:00     14/54 : trivy-0.17.2.el7.x86_64.rpm
2022/10/20 10:01:44 +02:00     15/54 : trivy-0.24.2.el7.x86_64.rpm
2022/10/20 10:01:44 +02:00     16/54 : trivy-0.22.0.el7.x86_64.rpm
2022/10/20 10:01:44 +02:00     17/54 : trivy-0.30.2.el7.x86_64.rpm
2022/10/20 10:01:45 +02:00     18/54 : trivy-0.27.0.el7.x86_64.rpm
2022/10/20 10:01:45 +02:00     19/54 : trivy-0.21.2.el7.x86_64.rpm
2022/10/20 10:01:46 +02:00     20/54 : trivy-0.18.3.el7.x86_64.rpm
2022/10/20 10:01:46 +02:00     21/54 : trivy-0.17.1.el7.x86_64.rpm
2022/10/20 10:01:46 +02:00 ERROR: Download failed: https://aquasecurity.github.io/trivy-repo/rpm/releases/7/x86_64/trivy-0.14.0.el7.x86_64.rpm - [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found".
2022/10/20 10:01:46 +02:00     22/54 : trivy-0.14.0.el7.x86_64.rpm (failed)
2022/10/20 10:01:46 +02:00 ERROR: Download failed: https://aquasecurity.github.io/trivy-repo/rpm/releases/7/x86_64/trivy-0.11.0.el7.x86_64.rpm - [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found".
2022/10/20 10:01:46 +02:00     23/54 : trivy-0.11.0.el7.x86_64.rpm (failed)
2022/10/20 10:01:46 +02:00     24/54 : trivy-0.18.1.el7.x86_64.rpm
2022/10/20 10:01:47 +02:00     25/54 : trivy-0.24.1.el7.x86_64.rpm
2022/10/20 10:01:47 +02:00     26/54 : trivy-0.29.2.el7.x86_64.rpm
2022/10/20 10:01:47 +02:00     27/54 : trivy-0.30.3.el7.x86_64.rpm
2022/10/20 10:01:48 +02:00     28/54 : trivy-0.29.1.el7.x86_64.rpm
2022/10/20 10:01:48 +02:00     29/54 : trivy-0.21.3.el7.x86_64.rpm
2022/10/20 10:01:48 +02:00 ERROR: Download failed: https://aquasecurity.github.io/trivy-repo/rpm/releases/7/x86_64/trivy-0.12.0.el7.x86_64.rpm - [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found".
2022/10/20 10:01:48 +02:00     30/54 : trivy-0.12.0.el7.x86_64.rpm (failed)
2022/10/20 10:01:49 +02:00     31/54 : trivy-0.18.0.el7.x86_64.rpm
2022/10/20 10:01:50 +02:00     32/54 : trivy-0.28.0.el7.x86_64.rpm
2022/10/20 10:01:50 +02:00     33/54 : trivy-0.25.2.el7.x86_64.rpm
2022/10/20 10:01:50 +02:00     34/54 : trivy-0.25.0.el7.x86_64.rpm
2022/10/20 10:01:51 +02:00     35/54 : trivy-0.30.1.el7.x86_64.rpm
2022/10/20 10:01:51 +02:00     36/54 : trivy-0.23.0.el7.x86_64.rpm
2022/10/20 10:01:51 +02:00 ERROR: Download failed: https://aquasecurity.github.io/trivy-repo/rpm/releases/7/x86_64/trivy-0.13.0.el7.x86_64.rpm - [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found".
2022/10/20 10:01:51 +02:00     37/54 : trivy-0.13.0.el7.x86_64.rpm (failed)
2022/10/20 10:01:52 +02:00     38/54 : trivy-0.25.1.el7.x86_64.rpm
2022/10/20 10:01:53 +02:00     39/54 : trivy-0.21.0.el7.x86_64.rpm
2022/10/20 10:01:53 +02:00     40/54 : trivy-0.24.4.el7.x86_64.rpm
2022/10/20 10:01:53 +02:00     41/54 : trivy-0.24.0.el7.x86_64.rpm
2022/10/20 10:01:55 +02:00     42/54 : trivy-0.19.2.el7.x86_64.rpm
2022/10/20 10:01:56 +02:00     43/54 : trivy-0.29.0.el7.x86_64.rpm
2022/10/20 10:01:57 +02:00     44/54 : trivy-0.30.0.el7.x86_64.rpm
2022/10/20 10:01:58 +02:00     45/54 : trivy-0.17.0.el7.x86_64.rpm
2022/10/20 10:02:00 +02:00     46/54 : trivy-0.30.4.el7.x86_64.rpm
2022/10/20 10:02:01 +02:00     47/54 : trivy-0.26.0.el7.x86_64.rpm
2022/10/20 10:02:03 +02:00     48/54 : trivy-0.25.3.el7.x86_64.rpm
2022/10/20 10:02:04 +02:00     49/54 : trivy-0.19.0.el7.x86_64.rpm
2022/10/20 10:02:04 +02:00     50/54 : trivy-0.31.1.el7.x86_64.rpm
2022/10/20 10:02:06 +02:00     51/54 : trivy-0.32.0.el7.x86_64.rpm
2022/10/20 10:02:07 +02:00     52/54 : trivy-0.31.2.el7.x86_64.rpm
2022/10/20 10:02:07 +02:00     53/54 : trivy-0.25.4.el7.x86_64.rpm
2022/10/20 10:02:10 +02:00     54/54 : trivy-0.31.0.el7.x86_64.rpm
2022/10/20 10:02:11 +02:00 Importing packages started.

How to reproduce

I was able to reproduce this on a simple rockylinux container (rockylinux/rockylinux:9 since it's my goto atm) and tried to download the failed packages to no success.

[trivy]
name=Trivy repository
baseurl=https://aquasecurity.github.io/trivy-repo/rpm/releases/7/x86_64/
gpgcheck=0
enabled=1

I then updated repo data and tried dnf install trivy which works, seems like more recent versions are actually available? But a dnf install trivy-0.15.0 --downloadonly --forcearch x86_64 (i'm on aarch64) for example fails with 404.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions