Skip to content

Metadata in a custom subdirectory outside of repodata #340

@jkroepke

Description

@jkroepke

I tried to setup an YUM repository with GitHub packages, but while repository URLs are valid, it fails somehow.

# cat /etc/yum.repos.d/openvpn-auth-oauth2.repo 
[myrepo]
name=openvpn-auth-oauth2
baseurl=https://github.com/jkroepke/openvpn-auth-oauth2/releases/download/
enabled=1
gpgcheck=0

RockyLinux:

dnf --setopt=debuglevel=10 repolist
timer: config: 1 ms
DNF version: 4.14.0
Command: dnf --setopt=debuglevel=10 repolist 
Installroot: /
Releasever: 9
cachedir: /var/cache/dnf
Base command: repolist
Extra commands: ['--setopt=debuglevel=10', 'repolist']
python3.9: /builddir/build/BUILD/librepo-1.14.5/librepo/yum.c:1365: lr_yum_download_remote: Assertion `(ret && !tmp_err) || (!ret && tmp_err)' failed.=============] 4.2 kB/s | 1.5 kB     00:00 ETA
Aborted

Fedora

dnf --setopt=debuglevel=10 update
Updating and loading repositories:
 Fedora 42 openh264 (From Cisco) - aarch64                                                                                                                   100% |   5.3 KiB/s |   6.0 KiB |  00m01s
 Fedora 42 - aarch64 - Updates                                                                                                                               100% |   1.7 MiB/s |   6.0 MiB |  00m04s
 openvpn-auth-oauth2                                                                                                                    100% [==================] |   1.1 KiB/s |   1.5 KiB |  00m00s
(process:23): GLib-CRITICAL **: 13:35:16.612: g_str_has_prefix: assertion 'str != NULL' failed
dnf: /builddir/build/BUILD/librepo-1.19.0-build/librepo-1.19.0/librepo/yum.c:1365: lr_yum_download_remote: Assertion `(ret && !tmp_err) || (!ret && tmp_err)' failed.
Aborted

Metadata

Metadata

Assignees

Labels

TriagedSomeone on the DNF 5 team has read the issue and determined the next steps to take

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions