This forum post illustrates the problem
If a user installs from a live CD, and after completing the install runs 'Updates' on being prompted by mgaapplet then because the nonfree repo is not enabled by default any nonfree packages already installed by draklive-install will not be updated.
This causes problems when the updates includes a new kernel. Any user with Nvidia or ATI video will see a black screen on the next login.
To make the installation 'bullet proof' either nonfree repos should be enabled by default by draklive-install, or else they should be enabled if any nonfree packages have been installed. (I think some nonfree packages get installed, even if Nvidia or ATI video is not present)
Behaviour is confirmed in Mga3beta1 and Mga2
See also bug 6061 which seems related.
eeeemail, ennael1, tmb
Not sure, but seems to be a duplicate of bug 8368
draklive-install should enable nonfree repo if nonfree packages are installed =>
drakx-finish-install should enable nonfree repo if nonfree packages are installed (live installSource RPM:
Created attachment 3620 [details]
Enable nonfree media if draklive has install nonfree packages
Here is a simple proposed patch.
finish-install runs automatically after reboot following installation of Mageia Live. One of its tasks is to add online media.
This patch simply enables Nonfree and Nonfree Updates repositories if there are already nonfree packages installed by draklive
Created attachment 3621 [details]
Attachment 3620 is obsolete:
Created attachment 3624 [details]
Revised patch to use subroutine
This revised patch uses the subroutine in attachment 3622 [details] to enable Nonfree media on the first boot so long as there are already nonfree packages installed.
Thierry can you have a look on that patch so that we can have it for beta 4?
Created attachment 3709 [details]
Output of journalctl -a
With the latest iso images, draklive-finish-install is no
longer running the network configuration, or adding the
Confirmed. Even with network configured in live mode and working after reboot, it is no missing the media config after installation.
It seems to exit normally but just skip these parts, looking at Dave's log..
Apr 07 22:53:05 localhost finish-install: ignoring ask_network
Apr 07 22:53:05 localhost finish-install: ignoring ask_urpmi
Apr 07 22:53:05 localhost finish-install: ignoring ask_authentication
Apr 07 22:53:05 localhost finish-install: ignoring ask_users
Apr 07 22:53:05 localhost finish-install: calling ask_encrypt_home
Apr 07 22:53:05 localhost finish-install: calling ask_glx
Apr 07 22:53:05 localhost finish-install: modified file /etc/sysconfig/finish-install
Apr 07 22:53:05 localhost finish-install: ### Program is exiting ###
I think this is a fallout of me adding "Live Core" and "Live Nonfree" medias at end of live iso build in order to be able to provide grub2 and broadcom-wl packages to those installing without network Connection, so drakx skips media adding as it detects already configured medias.
@blino, @tv: is there some way to tell drakx / finish-install to add online medias anyway ? Or atleast add the question...
I think I could add a "urpmi.addmedia --distrib --mirrorlist" as one of the post-install scripts that runs once, but I think that would be a "hack"
Fixed by blino in drakxtools-15.37-1.mga3
oops, the fix in drakxtools-15.37-1.mga3 was only about comment 7, not all of this br
While it now adds the repositories, only the Live Core, Live Nonfree,
Core Release and Core Updates repositories are enabled. the Nonfree
Release and Nonfree Updates still need to be enabled.
Also, as the network configuration is completely skipped, the user
is never given an opportunity to set the hostname.
See also bug 9758
Still present after i586 RC install ...
# urpmq --list-media active
Is this fixed in Final first builds?
I have just committed a fix in svn (r8197)
This should also fix enabling nonfree repositories when configuring updates from the installer.
Though, this will not fix bug 9758, since rpmdrake tools use different code.
Thanks Olivier, bug 8368 is similar too.
The fix needs to be pushed, and the iso images rebuilt.
Yep, pushed them last night, will be on next isos
Still valid 2nd build (15th May)
(In reply to claire robinson from comment #21)
> Still valid 2nd build (15th May)
Did kernel-firmware-nonfree get removed at "remove unneeded packages / languages" ?
according to svn commit r8197 that's the one being tracked...
So it does not exactly a usable way...
how about just doing something like checking installed rpm release tags like rpm -qa | grep ".nonfree" to enable nonfree medias and checking for ".tainted" for tainted medias...
Yes, I think it does for me.
Initial bug (enabling nonfree/tainted if such packages being installed) is fixed with latest urpmi
kernel-firmware-nonfree is bug #10115