Bug 20932

Summary: Why do package mageia-repos-cauldron exist in mga6 repo - and at all!?
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Neal Gompa <ngompa13>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: mageia-repos-6-0.0.11.mga6.src.rpm CVE:
Status comment:

Description Morgan Leijström 2017-05-25 10:56:49 CEST
Why do http://ftp.acc.umu.se/mirror/mageia/distrib/6/x86_64/media/core/release/
hold both mageia-repos-cauldron and mageia-repos ?

And why do i have both installed, and system refuse to uninstall one of them?

They contain files for defining repos for dnf etc to use.

It could be harmless, but i note that inside the files i see the lines "enabled=1" in both cauldron* and mageia* files.
And as all references use "%releasever" variables in them instead of "6" or "cauldron" i think that mechanism make it use the correct repo anyways, but now twice if both mageia-repos-cauldron and mageia-repos are installed?

So... why do mageia-repos-cauldron exist at all, as mageia-repos also work in cauldron?

Or do i understand it wrong?

Tried to uninstall one of them for cleanliness, but system stops that, see below.

Currently I just manually removed the *cauldron files, but what would be the correct way of doing it?

(And btw, most files have a lot of wrong links in commented example links, i will issue a bug on that)

# LC_ALL=C urpme --force -v mageia-repos-cauldron
getting lock on urpmi
examining synthesis file [/var/lib/urpmi/Core Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Tainted Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Tainted Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core 32bit Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core 32bit Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree 32bit Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree 32bit Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Tainted 32bit Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Tainted 32bit Updates/synthesis.hdlist.cz]
Removing the following package will break your system:
  basesystem-minimal-6-0.4.mga6.x86_64
   (due to unsatisfied mageia-release >= 1)
unlocking urpmi database

# LC_ALL=C urpme --force -v mageia-repos
getting lock on urpmi
examining synthesis file [/var/lib/urpmi/Core Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Tainted Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Tainted Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core 32bit Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Core 32bit Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree 32bit Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Nonfree 32bit Updates/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Tainted 32bit Release/synthesis.hdlist.cz]
examining synthesis file [/var/lib/urpmi/Tainted 32bit Updates/synthesis.hdlist.cz]
Removing the following package will break your system:
  basesystem-minimal-6-0.4.mga6.x86_64
   (due to unsatisfied mageia-release >= 1
Rémi Verschelde 2017-05-25 18:02:02 CEST

Assignee: bugsquad => ngompa13

Comment 1 Neal Gompa 2017-05-25 18:03:07 CEST
Now that we're in RC stage, I should make it so cauldron repos aren't mandatory to install.

Status: NEW => ASSIGNED

Comment 2 Neal Gompa 2017-05-25 18:33:25 CEST
Currently, I've been following what mageia-release defines for %am_i_cauldron. When it is marked as such, then that means the cauldron repos are needed. Though technically that hasn't been true for a while since the 6/ folder was created and cauldron synchronizes into 6 all the time.

I can disable this now, but we should come up with a better mechanism for Mageia 7 to globally control the %am_i_cauldron build flag.

Anyway, mageia-repos-cauldron Requires is now disabled in mageia-repos-6-0.1.0.mga6, and the update will Obsolete the older release of the cauldron package and remove it.

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED

Comment 3 Neal Gompa 2017-05-25 18:34:03 CEST
Incidentally, the mageia-repos-cauldron package provides you the ability to install the Cauldron repos for the purposes of easily upgrading to Cauldron from an official release.