Page 1 of 1
[SOLVED] Update did not work

Posted:
Jan 12th, '16, 09:36
by RoyD
Hi All
I did the usual procedure and updated my system as it requests but it stalled. I rebooted and tried to start Mageia 5. I run KDE and run Nvidia - Graphics card GeForce 8800 GTS.
It did not start but stalled at ¨OK Started Update UTMP about system runlevel changes ¨
When I reboot and selected ¨desktop 4.1.15.1.mga5 it starts and appears to work fine.
When I select Mageia 5 from the menu system it just stalls again.
What should I do?
Many thanks Roy
Re: Update did not work

Posted:
Jan 12th, '16, 12:42
by Germ
when you boot "desktop 4.1.15.1.mga5" have you tried the update again? It may not have finished.
Re: Update did not work

Posted:
Jan 12th, '16, 13:56
by isadora
Yesterday, I ran into some of the same issues like Roy described.
A list of packages for updates was presented, among those for kernel and NVidia.
Because i normally do such upgrades first in my test-environment, i quit the update, and went over to the testing-base to try there first.
But when updating, i didn't get any packages of the kind (kernel and nvidia).
Back to my production-environment, those same updates seemed to have disappeared.
This morning i tried again in test, and kernel and nvidia-updates where presented again, and installed without issues.
Back to production the same, and installation of the packages was completed fine.
Seems some of the repositories were not all quite at level (completely synchronised) earlier.
My two cents.
Re: Update did not work

Posted:
Jan 12th, '16, 15:29
by ozky
That's very good to do isadora as you can avoid lot of problems by doing that.
Re: Update did not work

Posted:
Jan 13th, '16, 06:17
by RoyD
I booted to the "desktop 4.1.15.1.mga5" and ran the update with success.
How do I modify the menu system to remove the bad startups eg Mageia 5 (which is the default) or should I do some thing else.
Re: Update did not work

Posted:
Jan 13th, '16, 09:16
by isadora
If you think of re-ordering your boot-menu:
this can be accomplished through Mageia Control Centre (MCC) -> Boot -> Set up boot system -> Next
Re: Update did not work

Posted:
Jan 13th, '16, 09:52
by isadora
Please Roy, don't forget to mark the topic [SOLVED].
You can do so, by editing the subject/title in the first message in this topic.
Write [SOLVED] to the left of subject/title, thanks ahead.

a
Re: [SOLVED] Update did not work

Posted:
Jan 13th, '16, 11:39
by RoyD
Yes that has fixed all the problems. Thank you all for the help.
Re: [SOLVED] Update did not work

Posted:
Jan 13th, '16, 11:45
by Ken-Bergen
RoyD wrote:Yes that has fixed all the problems. Thank you all for the help.
Actually that just hide the problem.
A better approach would be to use dracut to rebuild the intrd or just uninstall then reinstall the latest kernel.
Re: [SOLVED] Update did not work

Posted:
Jan 13th, '16, 11:49
by RoyD
Which is better and how would I do that?
Re: [SOLVED] Update did not work

Posted:
Jan 13th, '16, 12:04
by Ken-Bergen
I don't know enough about dracut to help with that method but using "Install & Remove Software" would be a simple way to uninstall then reinstall the newest kernel.
Re: Update did not work

Posted:
Jan 13th, '16, 21:15
by doktor5000
As root
- Code: Select all
bootloader-config --action rebuild-initrds
to rebuild all the initrds. But that won't help when the kernel has not been completely or not successfully installed.
So better way for only one kernel would be to use
- Code: Select all
urpmi --replacepkgs --replacefiles kernel-desktop-4.1.15-1.mga5
to reinstall the kernel, which also triggers a rebuild of the initrd and update of the bootloader for that kernel.
Re: [SOLVED] Update did not work

Posted:
Jan 14th, '16, 06:07
by RoyD
That is Perfect. Thank you All
Re: [SOLVED] Update did not work

Posted:
Jan 14th, '16, 21:42
by doktor5000
Well, how exactly did you fix it in the end?
Re: [SOLVED] Update did not work

Posted:
Jan 15th, '16, 05:41
by RoyD
Sorry I thought I would take the better option that you suggested
So better way for only one kernel would be to use
Code: Select all
urpmi --replacepkgs --replacefiles kernel-desktop-4.1.15-1.mga5
to reinstall the kernel, which also triggers a rebuild of the initrd and update of the bootloader for that kernel.
You got me thinking do I need to do something else now??
Re: [SOLVED] Update did not work

Posted:
Jan 15th, '16, 06:01
by Ken-Bergen
RoyD wrote:You got me thinking do I need to do something else now??
If the default boot is to the new kernel you're good to go.
Re: [SOLVED] Update did not work

Posted:
Jan 15th, '16, 06:11
by RoyD
I did change it to the default so I thought I was good to go
