Bug 28402 - mageia-prime force to use dnf
Summary: mageia-prime force to use dnf
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Giuseppe Ghibò
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-21 17:25 CET by Nicolas Lécureuil
Modified: 2021-02-21 23:07 CET (History)
1 user (show)

See Also:
Source RPM: mageia-prime-0.4-12.mga8.nonfree.src.rpm
CVE:
Status comment:


Attachments

Description Nicolas Lécureuil 2021-02-21 17:25:37 CET
mageia-prime force to use dnf. 
As urpmi is our default packagemanager this is, for me, not acceptable.

It should be working with urpmi too  (and use it by default )
Comment 1 Nicolas Lécureuil 2021-02-21 17:26:43 CET
in fact reading the code it can use urpmi but we should use this by default
Comment 2 Aurelien Oudelet 2021-02-21 19:51:15 CET
(In reply to Nicolas Lécureuil from comment #1)
> in fact reading the code it can use urpmi but we should use this by default

I think it really uses urpmi by default as there is a CLI option to use dnf instead (-d).

So, this not a bug in app itself, rather in the RPM spec file that require it instead of recommend?

Assigning to Guiseppe.

Keywords: (none) => Triaged
Assignee: bugsquad => ghibomgx
CC: (none) => ouaurelien
Source RPM: (none) => mageia-prime-0.4-12.mga8.nonfree.src.rpm

Aurelien Oudelet 2021-02-21 19:51:24 CET

Keywords: Triaged => (none)

Comment 3 Giuseppe Ghibò 2021-02-21 20:01:41 CET
It's like Aurelien said. It uses urpmi by defaut. dnf requires is needed for getting the "full optional", i.e. with the "-d" option, where it uses dnf instead of "urpmi".
Comment 4 Nicolas Lécureuil 2021-02-21 20:25:27 CET
Ok, I understand better.


Then maybe add dnf as Recommends, because if someone does not want dnf it can't use mageia-prime, and using recomments allow someone that wants dnf to use mageia-prime, this is a win/win :-)
Comment 5 Giuseppe Ghibò 2021-02-21 23:07:29 CET
updated a version 0.4-13.mga8 with "Recommends" instead of "Requires" in nonfree/updates_testing.

Note You need to log in before you can comment on or make changes to this bug.