Bug 10773 - online media are badly sorted (32bit always after the 64bit equivalent)
Summary: online media are badly sorted (32bit always after the 64bit equivalent)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: release_blocker critical
Target Milestone: ---
Assignee: Sysadmin Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 10373
  Show dependency treegraph
 
Reported: 2013-07-15 22:52 CEST by Manuel Hiebel
Modified: 2013-11-02 23:58 CET (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Manuel Hiebel 2013-07-15 22:52:11 CEST
+++ This bug was initially created as a clone of Bug #10335 +++

Description of problem:
Since some recents changes (after mga3 RC, but I don't know exactly when), when adding online media with urpmi.addmedia --distrib or drakrpm-edit-media, the added media are badly sorted:
 - backports are before release and updates,
 - on x86_64, 32bit media are mixed with 64 bits media.
cf urpmi.cfg in attachment

Previously, they were sorted more logically:
Core Release
     Release Debug
     Updates
     Updates Debug
     Updates Testing
     Updates Testing Debug
     Backports
     Backports Debug
     Backports Testing
     Backports Testing Debug

Nonfree Release
        ...

Tainted Release
        ...

Core 32bit Release
           ...
     

The order seems to follow media order in media/media_info/media.cfg on mirrors.
This affects mga2 and mga3.

See the diff in media_info/media.cfg between mga1 and mga2 or mga3.
ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/1/i586/media/media_info/media.cfg
ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/3/i586/media/media_info/media.cfg


Version-Release number of selected component (if applicable):
mga 2 and mga 3


Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2013-07-15 22:55:26 CEST
in a cauldron netinstall I have 

core release
core release 32bit
core updates
core updates 32bit

etc, and even nonfree/tainted 32 bit are shown. Please go back to previous situation, this is really a mess, for advanced users as for new one

Severity: normal => critical

Manuel Hiebel 2013-11-02 19:00:10 CET

Hardware: All => x86_64
Summary: online media are badly sorted (backports before release, ...) => online media are badly sorted (32bit always after the 64bit equivalent)

Comment 2 Thomas Backlund 2013-11-02 19:17:04 CET
Fixed on primary mirror

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED

Comment 3 Manuel Hiebel 2013-11-02 21:19:33 CET
sorry but it's still the same, on tier 1 mirror: http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/media/media_info/media.cfg

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

Manuel Hiebel 2013-11-02 21:32:08 CET

Depends on: 10335 => (none)

Comment 4 Thomas Backlund 2013-11-02 21:33:30 CET
Ah, crap.

I forgot there is a automatic script that rewrites that file ...
I need to fix the script or disable it...
Comment 5 Thomas Backlund 2013-11-02 22:28:49 CET
I've disabled the script until it can be fixed properly, and readded the fixed media.cfg on primary mirror.

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

Comment 6 Manuel Hiebel 2013-11-02 23:58:00 CET
much better, thanks.

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