Bug 20649

Summary: locales-nl package couldn't be installed in summary step (urpmi error: unable to access medium "Core Release".)
Product: Mageia Reporter: Dick Gevers <dvgevers>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: release_blocker CC: doc-bugs, isobuild, lebarhon, marja11
Version: CauldronKeywords: 6RC
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: drakx-installer-stage2? CVE:
Status comment: Valid for Classical iso dated 07 Apr 2017
Attachments: requested report.bug.xz
screenshot of the error

Description Dick Gevers 2017-04-10 13:53:42 CEST
Description of problem:

According to the .idx file the package is included.

But when in summary I try to choose country The Netherlands I get an error:
quote
Installation faiked, some files are missing:
   /tmp/image/media/core/locales-nl-2.22-5.mga6.x86_64.rpm
You may need to update your urpmi dataase. # (not possible here)
Try to continue anyway?
unquote

If I choose country Belgium there is no error (but is not my country).
Comment 1 Dick Gevers 2017-04-10 13:54:37 CEST
Setting release blocker as this should really work.

Priority: Normal => release_blocker
Keywords: (none) => 6RC

Comment 2 Dick Gevers 2017-04-10 14:20:52 CEST
After reboot the country cannot be changed to The Netherlands (name is missing).
Some other countries do not appear either (e.g. Israel, Slovenia) which were missing a few years back as well !?!?
Comment 3 Marja Van Waes 2017-04-10 18:10:28 CEST
Please attach /root/drakx/report.bug.xz from that install, Dick

And _save_ that file somewhere in case this bug report gets lost (there is a nasty character encoding bug which might lead to the Bugzilla database being reverted to a version from last week).

(In reply to Dick Gevers from comment #2)
> After reboot the country cannot be changed to The Netherlands (name is
> missing).
> Some other countries do not appear either (e.g. Israel, Slovenia) which were
> missing a few years back as well !?!?

Where and how exactly did you try to change the country?

Keywords: (none) => NEEDINFO
CC: (none) => marja11
Assignee: bugsquad => isobuild

Comment 4 Dick Gevers 2017-04-10 18:51:25 CEST
Created attachment 9196 [details]
requested report.bug.xz
Comment 5 Dick Gevers 2017-04-10 18:52:15 CEST
Created attachment 9197 [details]
screenshot of the error
Comment 6 Dick Gevers 2017-04-10 18:53:38 CEST
Marja wrote

>Where and how exactly did you try to change the country?

In localedrake within mcc

Keywords: NEEDINFO => (none)

Comment 7 Marja Van Waes 2017-04-10 19:57:28 CEST
Ok, so locales-nl wasn't installed, yet, when you reached the summary step, because you were doing an en_GB install.

Maybe installing locales-nl failed because of:

       '* urpmi error: unable to access medium "Core Release".'

Changing the assignee, because I doubt the package was missing from the iso if the problem was that accessing "Core Release" was impossible.

* found 1 packages to install: locales-nl-2.22-5.mga6.x86_64
* install::pkgs::install /mnt
* install::pkgs::install the following: locales-nl
* opened /mnt/root/drakx/install.log
* rpm transactions start
* urpmi error: unable to access medium "Core Release".
* opening rpmdb (root=/mnt, write=)
* getting graph of dependencies for sorting
* sorting graph of dependencies
* rpms sorted by dependencies:
locales-nl
* selecting locales-nl-2.22-5.mga6.x86_64
* transaction valid: remove= update=locales-nl
* scheduled sets of transactions:
remove=0= update=1=locales-nl
* Installation failed, some files are missing:
    /tmp/image/media/core/locales-nl-2.22-5.mga6.x86_64.rpm


(At the beginning of install, there was:
* setting medium Core Release phys_medium to cdrom://x86_64/media )




(In reply to Dick Gevers from comment #6)
> Marja wrote
> 
> >Where and how exactly did you try to change the country?
> 
> In localedrake within mcc

Using the "Other Countries" button?

Status comment: (none) => Valid for Classical iso dated 07 Apr 2017
Component: Release (media or process) => RPM Packages
CC: sysadmin-bugs => isobuild
Source RPM: Classical iso dated 07 Apr 2017 => drakx-installer-stage2?
Summary: locales-nl package is missing from iso => locales-nl package couldn't be installed in summary step (urpmi error: unable to access medium "Core Release".)
Assignee: isobuild => mageiatools

Comment 8 Dick Gevers 2017-04-10 20:06:50 CEST
(In reply to Marja van Waes from comment #7)
> Ok, so locales-nl wasn't installed, yet, when you reached the summary step,
> because you were doing an en_GB install.

To clarify I only chose *language* en_GB and need country NL



> Using the "Other Countries" button?

Correct.
Comment 9 Marja Van Waes 2017-04-10 21:09:01 CEST
(In reply to Dick Gevers from comment #8)
> (In reply to Marja van Waes from comment #7)
> > Ok, so locales-nl wasn't installed, yet, when you reached the summary step,
> > because you were doing an en_GB install.
> 
> To clarify I only chose *language* en_GB and need country NL
> 
> 
> 
(MCC):
> > Using the "Other Countries" button?
> 
> Correct.

And after installing locales-nl, does it then become visible?
The language isn't selectable before installing the locale, the same is probably true for the country. Belgium is an exception, iiuc because of the many native English speakers who reside in Brussels (no one foresaw the Brexit)

Btw, I had a look inside the iso, (so not just at the .idx file), and it really contains locales-nl-2.22-5.mga6.x86_64.rpm
Comment 10 Dick Gevers 2017-04-10 21:34:06 CEST
(In reply to Marja van Waes from comment #9)


> And after installing locales-nl, does it then become visible?


How can you ask this? The bug reports that it cannot be installed in effect....
Comment 11 Marja Van Waes 2017-04-10 22:03:46 CEST
(In reply to Dick Gevers from comment #10)
> (In reply to Marja van Waes from comment #9)
> 
> 
> > And after installing locales-nl, does it then become visible?
> 
> 
> How can you ask this? The bug reports that it cannot be installed in
> effect....

It couldn't be installed in the Summary step, I haven't read that after install and reboot it is still impossible to install it..... is it?

I asked you to install it because of your problem with localedrake in MCC.
Comment 12 Dick Gevers 2017-04-10 22:13:36 CEST
(In reply to Marja van Waes from comment #11)



> It couldn't be installed in the Summary step, I haven't read that after
> install and reboot it is still impossible to install it..... is it?

Yes I wrote that in comment #2
Comment 13 Marja Van Waes 2017-04-10 22:25:16 CEST
(In reply to Dick Gevers from comment #12)
> (In reply to Marja van Waes from comment #11)
> 
> 
> 
> > It couldn't be installed in the Summary step, I haven't read that after
> > install and reboot it is still impossible to install it..... is it?
> 
> Yes I wrote that in comment #2

Please install it with rpmdrake or with
   # urpmi locales-nl

(or with dnf or with dnfdragora)
Comment 14 Dick Gevers 2017-04-10 23:02:48 CEST
The install was done to discover any bugs ;))
Comment 15 Marja Van Waes 2017-04-11 09:02:29 CEST
I've moved this bug report to bug 20657 because all the comments about the 2nd issue turned this report into a mess.

For the 2nd issue we probably need to improve our documentation (we don't tell that to select a country in localedrake a matching locales-* needs to be installed). Unless localedrake can become smarter, list all countries and pull in the matching locales* if one matching the selected country is missing.

(An enhancement request might already exist for that)

CC'ing documentation team

CC: (none) => doc-bugs
Status: NEW => RESOLVED
Resolution: (none) => MOVED

Comment 16 André DESMOTTES 2017-04-16 11:04:45 CEST
I would like to make something clear.
If you install Mageia in English (for example) and after that, install the package locales-fr (for example), you can go into "MCC/System/Manage localization for your system" and check French, but your system doesn't turn into French. Only the desktop is French but Dolphin, MCC, konsole, ... are still in English.
If you go in Plasma "System Settings/Regional Settings/Language", you can see that under "Available Languages" French isn't even present.
So, I don't think you can change the installed language from the summary step.

CC: (none) => lebarhon

Comment 17 Dick Gevers 2017-04-16 12:00:12 CEST
(In reply to André DESMOTTES from comment #16)
> I would like to make something clear.
> If you install Mageia in English (for example) and after that, install the
> package locales-fr (for example), you can go into "MCC/System/Manage
> localization for your system" and check French, but your system doesn't turn
> into French. 


I was not trying to change the language, only setting the location correctly for the first time after choosing language en_GB at the start of install. This way has worked during hundreds of times that I installed Mageia (and earlier) and normally works every time. It only failed with this 64 bits classical iso, succeeded with 32 bits one!