uyuni-project/uyuni

R Project Custom Software Channel Error

nelsinchi opened this issue · 0 comments

Problem description

I am creating a Channel/Repo for the R Project, but when the sync starts, the packages cannot be downloaded, because of an error. The details to create the Custom Channel/Repo are the following:

Child Channel:

Channel Name*: R Project Packages Ubuntu 22.04 LTS AMD64
Channel Label*: r-project-packages-ubuntu-22.04-pool-amd64
Parent Channel: Ubuntu 22.04 LTS AMD64 Base for Uyuni
Architecture: AMD64 Debian
Repository Checksum Type: sha256
Channel Summary*: R Project Packages Ubuntu 22.04 LTS AMD64
GPG key URL: https://cloud.r-project.org/bin/linux/ubuntu/jammy-cran40/Release.gpg
GPG key ID: (none entered)
GPG key Fingerprint: (none entered)
Enable GPG Check: Yes

Repo:

Repository Label*: External - R Project Packages Ubuntu 22.04 LTS AMD64
Repository URL*: https://cloud.r-project.org/bin/linux/ubuntu/jammy-cran40/
Repository Type*: deb
Has Signed Metadata?: No

But, when I look in the log file, I see that the repo URL has a duplicate value for the distro version and is not the correct URL I used when I created the repo from the Web Portal.

image

The following line is an example of the error I get when the sync attempts to download the packages from the repo:

2024/05/29 13:35:34 -05:00 ERROR: Download failed: https://cloud.r-project.org/bin/linux/ubuntu/jammy-cran40/jammy-cran40/jags_4.3.1-1.2204.1_amd64.deb - [Errno 14] HTTPS Error 404 - Not Found.
2024/05/29 13:35:34 -05:00     1/219 : jags_4.3.1-1.2204.1_amd64.deb (failed)

image

And the same thing happens for all of the 219 packages existing in that repo.

Steps to reproduce

  1. Create the R Project Child Channel.
  2. Create the R repo.
  3. The sync starts.

Uyuni version

Information for package Uyuni-Server-release:
---------------------------------------------
Repository     : uyuni-server-stable
Name           : Uyuni-Server-release
Version        : 2024.03-230900.214.6.uyuni3
Arch           : x86_64
Vendor         : obs://build.opensuse.org/systemsmanagement:Uyuni
Support Level  : Level 3
Installed Size : 1.4 KiB
Installed      : Yes
Status         : up-to-date
Source package : Uyuni-Server-release-2024.03-230900.214.6.uyuni3.src
Summary        : Uyuni Server
Description    : 
    Uyuni lets you efficiently manage physical, virtual,
    and cloud-based Linux systems. It provides automated and cost-effective
    configuration and software management, asset management, and system
    provisioning.

Uyuni proxy version (if used)

Information for package Uyuni-Proxy-release:
--------------------------------------------
Repository     : Uyuni Proxy Stable for openSUSE Leap 15.5 (x86_64)
Name           : Uyuni-Proxy-release
Version        : 2024.05-230900.217.1.uyuni3
Arch           : x86_64
Vendor         : obs://build.opensuse.org/systemsmanagement:Uyuni
Support Level  : Level 3
Installed Size : 1.4 KiB
Installed      : Yes
Status         : up-to-date
Source package : Uyuni-Proxy-release-2024.05-230900.217.1.uyuni3.src
Summary        : Uyuni Proxy
Description    : 
    Uyuni Proxies extend large and/or geographically
    dispersed Uyuni environments to reduce load on the Uyuni
    Server, lower bandwidth needs, and provide faster local
    updates.

Useful logs

No response

Additional information

Database record:

image