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
Create a repository with the URL https://apt.releases.hashicorp.com/bookworm or https://releases.mondoo.com/debian
Try to sync the repository using spacewalk-repo-sync
Watch the error message
Uyuni version
Information for package Uyuni-Server-release:
---------------------------------------------
Repository : uyuni-server-stable
Name : Uyuni-Server-release
Version : 2024.02-230900.213.1.uyuni3
Arch : x86_64
Vendor : obs://build.opensuse.org/systemsmanagement:Uyuni
Installed Size : 1.4 KiB
Installed : Yes (automatically)
Status : up-to-date
Source package : Uyuni-Server-release-2024.02-230900.213.1.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)
No response
Useful logs
/var/log/rhn/rhn_taskomatic_daemon.log:2024-03-06 11:55:00,045 [Thread-2007] INFO com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Generating new DEB repository for channel cashicorp-debian-11
/var/log/rhn/rhn_taskomatic_daemon.log:2024-03-06 11:55:00,049 [Thread-2007] WARN com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Channel metadata signing is disabled. APT repository cashicorp-debian-11 is not secure.Refer to the Debian apt-secure manpage.
/var/log/rhn/rhn_taskomatic_daemon.log:2024-03-06 11:55:00,050 [Thread-2007] INFO com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Repository metadata generation for'cashicorp-debian-11' finishedin 0 seconds
Additional information
Looks like the appropriate spacewalk-repo-sync module needs to iterate through available folders:
I'm not a Debian package maintainer, but I think the following files of a repository are of major interest - so maybe they could be accessed directy instead of iterating?
InRelease
Packages
Packages.bz2
Packages.gz
Release
Release.gpg
The text was updated successfully, but these errors were encountered:
Problem description
When synchronizing Debian repositories,
spacewalk-repo-sync
fails if the web server hosting the repository blocks directory listing:Try accessing the URL https://apt.releases.hashicorp.com/bookworm using browser, it won't work.
Using a repository with directory listing enabled works like a charm, e.g. https://download.docker.com/linux/debian/dists/bullseye/stable/binary-amd64/.
Steps to reproduce
https://apt.releases.hashicorp.com/bookworm
orhttps://releases.mondoo.com/debian
spacewalk-repo-sync
Uyuni version
Uyuni proxy version (if used)
No response
Useful logs
Additional information
Looks like the appropriate
spacewalk-repo-sync
module needs to iterate through available folders:uyuni/python/spacewalk/satellite_tools/repo_plugins/deb_src.py
Line 267 in 01909a0
I'm not a Debian package maintainer, but I think the following files of a repository are of major interest - so maybe they could be accessed directy instead of iterating?
InRelease
Packages
Packages.bz2
Packages.gz
Release
Release.gpg
The text was updated successfully, but these errors were encountered: