Skip to content

config-manager addrepo fails to add docker repository config #1603

Description

@liemeldert

Following https://docs.docker.com/engine/install/fedora/ and updating commands to DNF5 causes this error when adding their repository:

❯ sudo dnf config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo

https://download.docker.com/linux/fedora/docker-ce.repo                                                 100% |  20.6 KiB/s |   1.9 KiB |  00m00s
Error in added repository configuration file. Cannot set repository option "#1= ": Option "#1" not found

Importing the repo from dnf4 and then installing with dnf5 works without issues.

I'm facing this issue on Ultramarine (Fedora) 40, dnf5 version 5.1.17, config-manager 0.1.0, kernel 6.9.11-200.fc40.x86_64.

Metadata

Metadata

Assignees

Labels

Priority: HIGHTriagedSomeone on the DNF 5 team has read the issue and determined the next steps to take

Type

No type

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions