You are not logged in.

#26 2019-06-11 16:14

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: [SOLVED] Unattended Upgrades removal

If an upgrade of "unattended-upgrade" package is performed manually, it shows a debconf dialog for user to make a desired configuration. If the upgrade goes automatically, it keeps the original, or user defined, settings.

Offline

#27 2019-06-11 16:49

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: [SOLVED] Unattended Upgrades removal

Ok I understand now thanks smile

Offline

#28 2019-06-12 02:55

sickpig
Member
Registered: 2019-01-08
Posts: 52

Re: [SOLVED] Unattended Upgrades removal

Dai_trying wrote:

No, it is easier just to disable upgrades through the config file (/etc/apt/apt.conf.d/20auto-upgrades).

your boot time would b slow if you just modify the config and dont disable the systemd service

Offline

#29 2019-06-12 09:07

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: [SOLVED] Unattended Upgrades removal

sickpig wrote:

your boot time would b slow if you just modify the config and dont disable the systemd service

I think that could be relative thing as my boot times (on spinning disks) are less than 60 seconds and I cannot see a second or two making any significant difference, to say it makes boot times slow is at the very least over stating it.

Offline

#30 2019-06-12 09:58

sickpig
Member
Registered: 2019-01-08
Posts: 52

Re: [SOLVED] Unattended Upgrades removal

made 1.5 sec diff on my ssd, thought might share it since u have already disabled it via config smile

Offline

#31 2019-06-12 11:01

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,333

Re: [SOLVED] Unattended Upgrades removal

sickpig wrote:

made 1.5 sec diff on my ssd, thought might share it since u have already disabled it via config smile

1.5 seconds does seem a lot - do you have before and after bootcharts?

Offline

#32 2019-06-12 12:16

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: [SOLVED] Unattended Upgrades removal

The q4os-desktop has been updated and now lists unattended upgrades as recommended and not required, this allowed me to remove it without issue and so my problem is solved, Thank to the devs for the once again super quick resolution. smile

Offline

#33 2019-06-12 12:33

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: [SOLVED] Unattended Upgrades removal

This was quite easy solution, even resulted in a cleaner system smile

Offline

#34 2019-06-12 13:20

jotapesse
Member
From: Algarve, Portugal
Registered: 2019-03-23
Posts: 67

Re: [SOLVED] Unattended Upgrades removal

Personally I like to setup unattended upgrades so that *all* packages are upgraded automatically and I remove q4os-updater. No issues, everything works fine.

A better suggestion would be that q4os-updater would support that option and could be setup via gui for regular users. A switch or two modes supporting automatic updates (unattended) or manual updates (normal updater function, requires update approval).

Edit: This, of course, would require unattended-upgrades as a dependency. smile

Last edited by jotapesse (2019-06-12 13:23)


jotapesse - Obrigado / Thank you.

Offline

#35 2019-06-12 13:43

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: [SOLVED] Unattended Upgrades removal

@jotapesse
Yes, we would like to remade the updater in the exact way you have described. Once passed, it should be a part of the core Q4OS install. There could be a simple logic in the gui to enable unattended-upgrades, only if installed. So unattended-upgrades package has not to be necessarily required.

Offline

#36 2019-06-12 13:49

jotapesse
Member
From: Algarve, Portugal
Registered: 2019-03-23
Posts: 67

Re: [SOLVED] Unattended Upgrades removal

q4osteam wrote:

@jotapesse
Yes, we would like to remade the updater in the exact way you have described. Once passed, it should be a part of the core Q4OS install. There could be a simple logic in the gui to enable unattended-upgrades, only if installed. So unattended-upgrades package has not to be necessarily required.

That's an option yes, you could even prompt for and install of the required unattended-upgrades package, if not installed.


jotapesse - Obrigado / Thank you.

Offline

#37 2019-06-12 14:46

sickpig
Member
Registered: 2019-01-08
Posts: 52

Re: [SOLVED] Unattended Upgrades removal

bin wrote:
sickpig wrote:

made 1.5 sec diff on my ssd, thought might share it since u have already disabled it via config smile

1.5 seconds does seem a lot - do you have before and after bootcharts?

deleted the before one but thats how i realized its delaying my start. it along with ufw service were the culprits, highlighted in red all along
but u can try it yourself if you want, just change the timer of the upgrade servce and add OnBootSec= to the secs of your liking
i have kept it to 120 secs so it does not interfere with my other startup timers

[Timer]
OnBootSec=124
RandomizedDelaySec=60m
Persistent=true

[Install]
WantedBy=timers.target

is what i changed in it

Offline

#38 2019-06-12 21:24

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: [SOLVED] Unattended Upgrades removal

hitsware wrote:

How about the RPi version ? 'Updated' also ?

Yes the Pi version has the same issue, and I just ran apt update and the q4os-desktop for Pi version has not yet been updated, but I am sure it will be in due time. smile

Offline

#39 2019-06-12 22:45

hitsware
Member
Registered: 2019-05-15
Posts: 31

Re: [SOLVED] Unattended Upgrades removal

With Raspbian ( I think ( but now am not sure ) )  the only time it updates is with ' apt update '
There is also an ' apt upgrade ' ?
FWIW : )

Offline

#40 2019-06-12 23:19

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: [SOLVED] Unattended Upgrades removal

I'm pretty sure unattended-upgrades is not installed on Raspbian by default and you would need to update/upgrade manually, although if you wanted Raspbian to upgrade automatically you could install it and it should work.

Offline

#41 2019-06-13 00:46

hitsware
Member
Registered: 2019-05-15
Posts: 31

Re: [SOLVED] Unattended Upgrades removal

So ' unattended-upgrades ' is a package in the Debian repository ?

Offline

#42 2019-06-13 08:21

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: [SOLVED] Unattended Upgrades removal

You cannot remove UA in Q4OS Scorpion so far. First we need to check carefully impacts and consequences of such a change into the stable systems.

Offline

#43 2019-06-13 09:02

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: [SOLVED] Unattended Upgrades removal

hitsware wrote:

So ' unattended-upgrades ' is a package in the Debian repository ?

yes it is smile

Offline

Board footer

Powered by FluxBB