Announcement

Collapse
No announcement yet.

auto updates

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    auto updates

    I had set use offline updates in system settings as it said better stability. but it did restart my system i think when I was sleeping and not using the pc. is their a way to schedule a system restart or should i have updates applied once per week? and it wont restart when Im using it right. i have it set to auto install updates

    Click image for larger version

Name:	image.png
Views:	43
Size:	347.0 KB
ID:	688215
    what is automatic reboot without confirmation? it will still reboot at 6am if i set automatic reboot time to 06:00 right?​
    Last edited by elliot13458; Aug 24, 2025, 03:11 AM.

    #2
    just uncheck the offline updates option an you are in complete control of when it restarts... just don't forget that applying updates only applies them to the files on disk and does not apply them to the libraries running in ram, so if you want be sure to be using the updates then you need to restart.

    Comment


      #3
      ok thanks for this info

      Comment


        #4
        or at least restart those running applications.

        Comment


          #5
          question what is /lib/systemd/system/ daily apt upgrade timer? does that just install updates at specific time daily? like 6am if it says that?

          Click image for larger version  Name:	image.png Views:	0 Size:	243.2 KB ID:	688248

          and i set this to 600 am it will wait for updates to complete and then restart?

          Click image for larger version

Name:	image.png
Views:	13
Size:	366.6 KB
ID:	688249​​
          Last edited by elliot13458; Aug 28, 2025, 06:03 PM.

          Comment


            #6
            I believe that setting the configuration options for unattended-upgrades in /etc/apt/etc/apt/apt.conf.d/50unattended-upgrades​/ etc. creates or modifies this file - as well as /lib/systemd/system/apt-daily.timer​


            Here is a good tutorial that shows the general configuration that is well made and easy to follow:
            https://www.youtube.com/watch?v=y5_wPaHlcHQ


            I believe that you don't need to modify the systemd timers directly, generally speaking

            Comment


              #7
              Unattended upgrade automatic reboot set to false wont auto reboot upon updates complete right? if i set to true it will at specified time per day. on aptupgradetimer i changed random delay to 15m so it does not conflict with other file. i can reboot manually later on. I guess the difference is one checks for updates and the other file installs them at specified time
              Last edited by elliot13458; Aug 28, 2025, 07:17 PM.

              Comment


                #8
                Originally posted by elliot13458 View Post
                Unattended upgrade automatic reboot set to false wont auto reboot upon updates complete right?
                I would assume it would do what it says it will do.
                Last edited by claydoh; Yesterday, 04:35 PM.

                Comment


                  #9
                  do we need to enable "offline updates" in the system settings. does that require a restart on every update? sorry for all the questions. we could do updates once per week right and have auto reboot on sunday 3am for example rather then daily
                  Last edited by elliot13458; Aug 28, 2025, 07:50 PM.

                  Comment


                    #10
                    my brief experience with "offline updates" was that it required and reboot after every update (at least ones that require a password) and that if you let more than one set of updates pile up, you may have a reboot bonanza on sunday at 3am, but it should work.

                    Comment


                      #11
                      Offline updates in KDE's System Settings is distro-agnostic and completely unrelated to the Debian/Ubuntu-specific unattended-upgrades.

                      It only affects deb packages updated through Discover and has no effect on updates done using apt directly, such as when updating from the command line , using Synaptic, or unattended-upgrades.

                      Comment

                      Users Viewing This Topic

                      Collapse

                      There are 0 users viewing this topic.

                      Working...
                      X