Upgrade OS vs shutdown

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Upgrade OS vs shutdown

Postby mackowiakp » Oct 19th, '23, 02:02

I run update/upgrade OS from cron. The problem occurred when the computer was turned off while performing an OS cron upgrade.
Unfortunately, the kernel was updated and the computer did not start again.
Of course, I can disable updates of the kernel or any other application, but I would like the upgrade to be performed automatically.
Is there any way to have the shutdown procedure check whether a system update is being performed and stop the computer from shutting down until the upgrade is completed?
Of course, the shutdown procedure can be started from the console, from the GUI or from the power button.
This functionality is in WIN (update and poweroff).
Is it possible to have something similar in the M9?
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Upgrade OS vs shutdown

Postby doktor5000 » Oct 19th, '23, 18:32

You may want to fix your cronjob. See e.g. https://www.freedesktop.org/software/sy ... hibit.html
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest