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
: High major
Target Milestone: Mageia 6
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2016-07-07 19:28 CEST by Neal Gompa
Modified: 2017-01-17 14:18 CET (History)
0 users

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.
Comment 1 Samuel Verschelde 2017-01-17 10:42:27 CET
I suppose this is still valid?
Comment 2 Neal Gompa 2017-01-17 14:18:13 CET
Yeah, this is still an issue.

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