| Summary: | Adding COPR repository with dnf doesn't work properly in cauldron | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Giuseppe Ghibò <ghibomgx> |
| Component: | RPM Packages | Assignee: | Neal Gompa <ngompa13> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | ignatenko, marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | dnf-plugins-core-4.0.0-1.mga7.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Giuseppe Ghibò
2019-01-01 00:41:54 CET
I can't reproduce that: [root@localhost marja]# dnf copr enable ghibo/virtualbox-6 You are about to enable a Copr repository. Please note that this repository is not part of the main distribution, and quality may vary. The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at <https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr>, and packages are not held to any quality or security level. Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository. Do you really want to enable copr.fedorainfracloud.org/ghibo/virtualbox-6? [y/N]: y Repository successfully enabled. [root@localhost marja]# No idea why you had to add " mageia-cauldron-x86_64" to the command. Anyway, assigning. Assignee:
bugsquad =>
ngompa13 The issue is caused by the fact the /etc/os-release file no longer identifies if a Mageia release is Cauldron or Official anymore. This is a bit of a problem, as the current detection code relies on that: https://github.com/rpm-software-management/dnf-plugins-core/blob/master/plugins/copr.py#L414 We probably need to add a MAGEIA_ prefixed variable to os-release to identify Cauldron vs released version like Fedora did: https://github.com/rpm-software-management/dnf-plugins-core/blob/master/plugins/copr.py#L406 |