Bug 18889 - Repository selections during install need to be synchronized for urpmi and DNF/PK
Summary: Repository selections during install need to be synchronized for urpmi and DN...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2016-07-07 19:28 CEST by Neal Gompa
Modified: 2021-02-02 11:20 CET (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Neal Gompa 2016-07-07 19:28:36 CEST
Description of problem:
The installer lets users configure which repositories are to be enabled on the installed system. Currently, this only configures urpmi's configuration.

The installer should synchronize the user's choices for urpmi with the repository enabled settings in /etc/yum.repos.d so that urpmi and PackageKit/DNF are set to match. It should set the defaults appropriately for live installs, too.

The *.repo files are structured as INI files, in which the repo ID (of which there may be multiple ones per file) is used as sections. In those sections, there's an "enabled" key, either set with a value of "0" or "1". These need to be set to match whatever the user sets or whatever the appropriate default should be (in the case of live installs).

The repo IDs (indicating the section) in which the "enabled=0" / "enabled=1" settings need to be configured on x86 systems are:
backports-i586
backports-i586-nonfree
backports-i586-tainted
backports-x86_64
backports-x86_64-nonfree
backports-x86_64-tainted
backports_testing-i586
backports_testing-i586-nonfree
backports_testing-i586-tainted
backports_testing-x86_64
backports_testing-x86_64-nonfree
backports_testing-x86_64-tainted
mageia-i586
mageia-i586-nonfree
mageia-i586-tainted
mageia-x86_64
mageia-x86_64-nonfree
mageia-x86_64-tainted
updates-i586
updates-i586-nonfree
updates-i586-tainted
updates-x86_64
updates-x86_64-nonfree
updates-x86_64-tainted
updates_testing-i586
updates_testing-i586-nonfree
updates_testing-i586-tainted
updates_testing-x86_64
updates_testing-x86_64-nonfree
updates_testing-x86_64-tainted

While mageia-repos has %am_i_cauldron set to 1, these are also automatically installed, too:
cauldron-backports-i586
cauldron-backports-i586-nonfree
cauldron-backports-i586-tainted
cauldron-backports-x86_64
cauldron-backports-x86_64-nonfree
cauldron-backports-x86_64-tainted
cauldron-backports_testing-i586
cauldron-backports_testing-i586-nonfree
cauldron-backports_testing-i586-tainted
cauldron-backports_testing-x86_64
cauldron-backports_testing-x86_64-nonfree
cauldron-backports_testing-x86_64-tainted
cauldron-i586
cauldron-i586-nonfree
cauldron-i586-tainted
cauldron-updates-i586
cauldron-updates-i586-nonfree
cauldron-updates-i586-tainted
cauldron-updates-x86_64
cauldron-updates-x86_64-nonfree
cauldron-updates-x86_64-tainted
cauldron-updates_testing-i586
cauldron-updates_testing-i586-nonfree
cauldron-updates_testing-i586-tainted
cauldron-updates_testing-x86_64
cauldron-updates_testing-x86_64-nonfree
cauldron-updates_testing-x86_64-tainted
cauldron-x86_64
cauldron-x86_64-nonfree
cauldron-x86_64-tainted


If any more details are required, let me know.
Neal Gompa 2016-07-07 19:30:04 CEST

Summary: Synchronize repository selections for urpmi and DNF/PK => Repository selections need to be synchronized for urpmi and DNF/PK

Neal Gompa 2016-07-07 19:30:32 CEST

Blocks: (none) => 15527

Neal Gompa 2016-07-08 06:08:22 CEST

Assignee: bugsquad => thierry.vignaud

Neal Gompa 2016-07-09 02:06:29 CEST

Summary: Repository selections need to be synchronized for urpmi and DNF/PK => Repository selections during install need to be synchronized for urpmi and DNF/PK

Neal Gompa 2016-08-09 23:49:06 CEST

Keywords: (none) => USABILITY

Samuel Verschelde 2016-09-22 11:05:57 CEST

Target Milestone: --- => Mageia 6
Assignee: thierry.vignaud => mageiatools

Samuel Verschelde 2017-01-17 10:29:39 CET

Blocks: 15527 => (none)

Comment 1 Samuel Verschelde 2017-01-17 10:42:27 CET
I suppose this is still valid?

Priority: Normal => High

Comment 2 Neal Gompa 2017-01-17 14:18:13 CET
Yeah, this is still an issue.
Comment 3 Aurelien Oudelet 2020-09-19 18:09:12 CEST
Hi,
This is High priority bug for a good reason.

Making Mageia even better than ever is best direction.
In order to do right thing, this bug should be examined and fixed as soon as possible.

Packagers, please make the status to Assigned when you are working on this.
Feel free to reassign the bug if bad-triaged. Also, if bug is old, please close it.

On October 1st 2020, we will drop priority to normal.
Comment 4 Morgan Leijström 2021-02-02 11:20:14 CET
As long as we dont push DNF as working out of the box this cant be that high severity.

Should we add something to https://wiki.mageia.org/en/Using_DNF ?

Severity: major => normal
Target Milestone: Mageia 6 => ---
CC: (none) => fri


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