![]() |
|
ForumWed Sep 27 12:34:35 2023 UTC Help: GeneralThierry ![]() Wed Sep 27 12:30:24 2023 UTC Help: GeneralPeppe123$$$ ![]() Wed Sep 27 11:30:55 2023 UTC Help: GeneralThierry ![]() Wed Sep 27 07:31:22 2023 UTC Help: GeneralPeppe123$$$ ![]() Tue Sep 26 09:53:25 2023 UTC Help: GeneralPeppe123$$$ ![]() Mon Sep 25 20:38:46 2023 UTC Help: Generalspiky ![]() Mon Sep 25 17:08:09 2023 UTC Help: GeneralThierry ![]() Sat Sep 23 12:00:57 2023 UTC Help: Generalpupuklok ![]() Sat Sep 23 05:38:00 2023 UTC Help: Generaldevlin7 ![]() Thu Sep 21 09:33:52 2023 UTC Help: GeneralThierry ![]() |
Wed Feb 1 13:09:14 2023 UTC Update the distribution with upgrade-nutyxContentsWorkingThe update method used in this tutorial is transparent. This means that once the background task is set up and upgrade-nutyx is correctly configured, the user no longer needs to worry about updates. Although the update script is launched automatically by a background task, several criteria are necessary:
Install upgrade-nutyxThe package is named upgrade-nutyx.sudo cards install upgrade-nutyx Setting up the background taskTo automatically launch the 'upgrade-nutyx' script, you must set up a background task that will automatically launch the script at a given time.The fcron package is automatically installed as a dependency of the upgrade-nutyx package. There are several methods to configure an automatic task. Here the background task is configured to be launched at the 27th and 57th minute of every hour. This tutorial offers 2 methods. Method 1Copy-Paste the lines below, taking care to replace the user's name (here jp) with yours:echo "%hourly 27,57 DISPLAY=:0.0 /sbin/upgrade-nutyx" | sudo tee -a /var/spool/fcron/jp.orig [sudo] jp password : sudo chown fcron:fcron /var/spool/fcron/jp.orig sudo chmod 640 /var/spool/fcron/jp.orig sudo fcrontab -z -u jp 2022-05-05 09:59:24 INFO reinstalling jp's fcrontab 2022-05-05 09:59:24 INFO installung file /tmp/fcr-Amshcy for user jp fcron is not running : modifications will be taken into account at it's next execution. Method 2If you are familiar with the vi and fcrontab editor, you can use them together with the command below to create your automatic task:sudo EDITOR=/sbin/vi fcrontab -u jp -eInsert this line: %hourly 27,57 DISPLAY=:0.0 /sbin/upgrade-nutyxIf you wish, you can also initiate an update search when starting the machine. There is very extensive documentation on the net for configuring fcrontab. First launch of upgrade-nutyxIn order to have a functional update, it is important to run the 'upgrade-nutyx' command for the first and only time under your own account:upgrade-nutyxWait for the command to complete or for the icon in the taskbar to appear to let you know that updates are available. Config fileSince the downloading of the packages to be updated is done with your own account, the configuration file and archives are stored in your home folder.The upgrade-nutyx configuration is in the file: /home/jp/pkg/cards.confArchives are stored in the folder: /home/jp/pkg/depot Restarting the machineTo finalize the process, restart the PC. If updates are available, then they will be installed. The background task will then be active the next time the PC is started.ConclusionIt is better to use this method rather than sudo cards upgrade:
|