Bug 25124

Summary: migrating from mageia6 to mageia7 is impossible for french users
Product: Mageia Reporter: peter lawford <petlaw726>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: Normal    
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description peter lawford 2019-07-14 19:30:24 CEST
Description of problem:
I have started the migration from my mageia6 (64 bits) to mageia7 by typing the following commands:
# urpmi.removemedia -a
# urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.7.$ARCH.list'

until now everything was OK but:
# urpmi --replacefiles --auto-update --auto --download-all
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "fr_FR.UTF-8:fr",
        LC_ALL = (unset),
        LC_SOURCED = "1",
        LANG = "fr_FR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Int64.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xce00080)

and the migration has stopped


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 peter lawford 2019-07-14 21:00:21 CEST
the same using the prefix  LC_ALL=C:
[root@mga6-64 alain4]# LC_ALL=C urpmi --replacefiles --auto-update --auto --download-all
Int64.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xce00080)
Lewis Smith 2019-07-18 21:09:12 CEST

Assignee: bugsquad => pkg-bugs

Comment 2 Manuel Hiebel 2019-07-18 21:33:44 CEST
and if you remove '--replacefiles' ?
Comment 3 peter lawford 2019-07-19 01:16:19 CEST
(In reply to Manuel Hiebel from comment #2)
> and if you remove '--replacefiles' ?

the option --replacefiles is recommended by mageia in its french version for upgrading (see https://wiki.mageia.org/en/Mageia_7_Notes_de_version-fr#Mise_.C3.A0_niveau_depuis_Mageia_6), 
but, curiously, not in its english version ( https://wiki.mageia.org/en/Mageia_7_Release_Notes#Upgrading_from_Mageia_6) 
where the option --force replaces --replacefiles

screenshot of the upgrading guide in english:      

Finally start upgrading: 

    urpmi --auto-update --auto --force

    It's best to run the above command twice because in the first run some packages may be downloaded but not installed.

Notepad.png
Please note!

It is sometimes a good idea to test the upgrade before carrying it on.
With this command: urpmi --auto-update --auto --force --download-all --test all the packages are downloaded and the upgrade simulated only.
If the result is good, then upgrade for real with the command urpmi --auto-update --auto --force --download-all

screenshot of the upgrading guide in french: 

     Enfin, commencer la mise à niveau :

    su
    urpmi --replacefiles --auto-update --auto

    Il est préférable d’exécuter la commande ci-dessus deux fois, parce que certains paquetages peuvent être téléchargés sans être installés le premier coup.

Notepad.png
À noter !

Il est parfois bon de tester la mise à niveau avant de procéder.
Avec cette commande : urpmi --replacefiles --auto-update --auto --download-all --test tous les paquets sont téléchargés et la mise à jour est uniquement simulée.
Si le résultat est bon, vous pouvez faire la mise à niveau pour de vrai avec la commande urpmi --replacefiles --auto-update --auto --download-all
 
can you understand that? I can't
what of these version is the good one, and what is the wrong one?
Comment 4 Aurelien Oudelet 2020-09-05 00:15:06 CEST
French wiki seems updated to be a carbon copy of English version.

Good command is : urpmi --auto-update --auto --force

Resolution: (none) => WORKSFORME
Status: NEW => RESOLVED

Aurelien Oudelet 2020-09-05 00:15:22 CEST

Component: New RPM package request => RPM Packages