Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #201272 > unrolled thread

Unattended Upgrades question

Started byrv riveravaldez <riveravaldezmail@gmail.com>
First post2018-10-15 22:50 +0200
Last post2018-10-15 23:00 +0200
Articles 9 — 8 participants

Back to article view | Back to linux.debian.user


Contents

  Unattended Upgrades question rv riveravaldez <riveravaldezmail@gmail.com> - 2018-10-15 22:50 +0200
    Re: Unattended Upgrades question Brian <ad44@cityscape.co.uk> - 2018-10-15 23:00 +0200
      Re: Unattended Upgrades question Tixy <tixy@yxit.co.uk> - 2018-10-16 07:30 +0200
        Re: Unattended Upgrades question john doe <johndoe65534@mail.com> - 2018-10-16 07:50 +0200
          Re: Unattended Upgrades question likcoras <likcoras@riseup.net> - 2018-10-16 08:40 +0200
            Re: Unattended Upgrades question Felix Miata <mrmazda@earthlink.net> - 2018-10-16 09:00 +0200
            Re: Unattended Upgrades question john doe <johndoe65534@mail.com> - 2018-10-16 09:00 +0200
          Re: Unattended Upgrades question Brad Rogers <brad@fineby.me.uk> - 2018-10-16 13:30 +0200
    Re: Unattended Upgrades question Ben Caradoc-Davies <ben@transient.nz> - 2018-10-15 23:00 +0200

#201272 — Unattended Upgrades question

Fromrv riveravaldez <riveravaldezmail@gmail.com>
Date2018-10-15 22:50 +0200
SubjectUnattended Upgrades question
Message-ID<wJhYl-3AV-5@gated-at.bofh.it>
Hi, two doubts:

1. Is it OK to disable/remove Unattended Upgrades on Debian testing?

2. If the answer is 'yes': which would be the best/proper way to do it?

Thanks a lot!

[toc] | [next] | [standalone]


#201273

FromBrian <ad44@cityscape.co.uk>
Date2018-10-15 23:00 +0200
Message-ID<wJi81-3E1-1@gated-at.bofh.it>
In reply to#201272
On Mon 15 Oct 2018 at 17:45:36 -0300, rv riveravaldez wrote:

> Hi, two doubts:
> 
> 1. Is it OK to disable/remove Unattended Upgrades on Debian testing?

Of course it is; if that is what you want.

> 2. If the answer is 'yes': which would be the best/proper way to do it?

apt purge unattended upgrades

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#201276

FromTixy <tixy@yxit.co.uk>
Date2018-10-16 07:30 +0200
Message-ID<wJq5z-9Z-1@gated-at.bofh.it>
In reply to#201273
On Mon, 2018-10-15 at 21:54 +0100, Brian wrote:
> On Mon 15 Oct 2018 at 17:45:36 -0300, rv riveravaldez wrote:
> 
> > Hi, two doubts:
> > 
> > 1. Is it OK to disable/remove Unattended Upgrades on Debian
> > testing?
> 
> Of course it is; if that is what you want.
> 
> > 2. If the answer is 'yes': which would be the best/proper way to do
> > it?
> 
> apt purge unattended upgrades

I assume there's a missing hyphen there and it should be:

apt purge unattended-upgrades

-- 
Tixy

[toc] | [prev] | [next] | [standalone]


#201278

Fromjohn doe <johndoe65534@mail.com>
Date2018-10-16 07:50 +0200
Message-ID<wJqoW-hl-3@gated-at.bofh.it>
In reply to#201276
On 10/16/2018 7:23 AM, Tixy wrote:
> On Mon, 2018-10-15 at 21:54 +0100, Brian wrote:
>> On Mon 15 Oct 2018 at 17:45:36 -0300, rv riveravaldez wrote:
>>
>>> Hi, two doubts:
>>>
>>> 1. Is it OK to disable/remove Unattended Upgrades on Debian
>>> testing?
>>
>> Of course it is; if that is what you want.
>>
>>> 2. If the answer is 'yes': which would be the best/proper way to do
>>> it?
>>
>> apt purge unattended upgrades
> 

I'll never  understand why being so drastic is a good idea when you can
simply disable it:

https://wiki.debian.org/UnattendedUpgrades

"Below is an example /etc/apt/apt.conf.d/02periodic:
// Control parameters for cron jobs by /etc/cron.daily/apt-compat //


// Enable the update/upgrade script (0=disable)
APT::Periodic::Enable "1";"

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#201280

Fromlikcoras <likcoras@riseup.net>
Date2018-10-16 08:40 +0200
Message-ID<wJrbk-LD-3@gated-at.bofh.it>
In reply to#201278
On 10/16/18 2:42 PM, john doe wrote:
> On 10/16/2018 7:23 AM, Tixy wrote:
>> On Mon, 2018-10-15 at 21:54 +0100, Brian wrote:
>>> On Mon 15 Oct 2018 at 17:45:36 -0300, rv riveravaldez wrote:
>>>> 2. If the answer is 'yes': which would be the best/proper way to do
>>>> it?
>>>
>>> apt purge unattended upgrades
>>
> 
> I'll never  understand why being so drastic is a good idea when you can
> simply disable it:
> 
> https://wiki.debian.org/UnattendedUpgrades
> 
> "Below is an example /etc/apt/apt.conf.d/02periodic:
> // Control parameters for cron jobs by /etc/cron.daily/apt-compat //
> 
> 
> // Enable the update/upgrade script (0=disable)
> APT::Periodic::Enable "1";"
> 

I would actually prefer getting rid of it completely instead of having 
it around if I'm never going to use it on the machine. It's not that 
large, but I (personally) try to keep the minimum possible package set 
installed.

[toc] | [prev] | [next] | [standalone]


#201283

FromFelix Miata <mrmazda@earthlink.net>
Date2018-10-16 09:00 +0200
Message-ID<wJruF-S0-9@gated-at.bofh.it>
In reply to#201280
likcoras composed on 2018-10-16 15:35 (UTC+0900):

> john doe wrote:

>> I'll never  understand why being so drastic is a good idea when you can
>> simply disable it:

>> https://wiki.debian.org/UnattendedUpgrades

>> "Below is an example /etc/apt/apt.conf.d/02periodic:
>> // Control parameters for cron jobs by /etc/cron.daily/apt-compat //

>> // Enable the update/upgrade script (0=disable)
>> APT::Periodic::Enable "1";"

> I would actually prefer getting rid of it completely instead of having 
> it around if I'm never going to use it on the machine. It's not that 
> large, but I (personally) try to keep the minimum possible package set 
> installed.

+1

Less wasted bandwidth.
Less time spent updating.
Less primary storage space needed.
Less backup space needed.

Basic conservation principles.
-- 
Evolution as taught in public schools is religion, not science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [next] | [standalone]


#201284

Fromjohn doe <johndoe65534@mail.com>
Date2018-10-16 09:00 +0200
Message-ID<wJruF-S0-13@gated-at.bofh.it>
In reply to#201280
On 10/16/2018 8:35 AM, likcoras wrote:
> On 10/16/18 2:42 PM, john doe wrote:
>> On 10/16/2018 7:23 AM, Tixy wrote:
>>> On Mon, 2018-10-15 at 21:54 +0100, Brian wrote:
>>>> On Mon 15 Oct 2018 at 17:45:36 -0300, rv riveravaldez wrote:
>>>>> 2. If the answer is 'yes': which would be the best/proper way to do
>>>>> it?
>>>>
>>>> apt purge unattended upgrades
>>>
>>
>> I'll never  understand why being so drastic is a good idea when you can
>> simply disable it:
>>
>> https://wiki.debian.org/UnattendedUpgrades
>>
>> "Below is an example /etc/apt/apt.conf.d/02periodic:
>> // Control parameters for cron jobs by /etc/cron.daily/apt-compat //
>>
>>
>> // Enable the update/upgrade script (0=disable)
>> APT::Periodic::Enable "1";"
>>
> 
> I would actually prefer getting rid of it completely instead of having
> it around if I'm never going to use it on the machine. It's not that
> large, but I (personally) try to keep the minimum possible package set
> installed.
> 

In that case, I would rather install a barebone system and start up from
there! :)

-- 
John Doe

[toc] | [prev] | [next] | [standalone]


#201304

FromBrad Rogers <brad@fineby.me.uk>
Date2018-10-16 13:30 +0200
Message-ID<wJvHX-3vu-1@gated-at.bofh.it>
In reply to#201278

[Multipart message — attachments visible in raw view] — view raw

On Tue, 16 Oct 2018 07:42:56 +0200
john doe <johndoe65534@mail.com> wrote:

Hello john,

>I'll never  understand why being so drastic is a good idea when you can
>simply disable it:

Combinations of the following come to mind.  Could well be more.  No
doubt, you and others can come up with reasons to keep it.  We all make
our own choices, of course.

1) Not everyone likes unattended upgrades.
2) If simply disabled, it can always be accidentally reactivated by an
upgrade (probably not by an unattended one, though).
3) If it's _never_ going to be used, why keep it?

-- 
 Regards  _
         / )           "The blindingly obvious is
        / _)rad        never immediately apparent"
Life's short, don't make a mess of it
No Time To Be 21 - The Adverts

[toc] | [prev] | [next] | [standalone]


#201274

FromBen Caradoc-Davies <ben@transient.nz>
Date2018-10-15 23:00 +0200
Message-ID<wJi81-3E1-3@gated-at.bofh.it>
In reply to#201272
On 16/10/2018 09:45, rv riveravaldez wrote:
> Hi, two doubts:
> 1. Is it OK to disable/remove Unattended Upgrades on Debian testing?
> 2. If the answer is 'yes': which would be the best/proper way to do it?
> Thanks a lot!

I use systemctl to mask all the apt-daily units:

systemctl mask apt-daily-upgrade.timer
systemctl mask apt-daily.timer
systemctl mask apt-daily.service
systemctl mask apt-daily-upgrade.service

I have not tried, but if you still want the apt update (download 
indices) but not the upgrade (install new packages), you might only need 
to mask the *upgrade* units.

Kind regards,

-- 
Ben Caradoc-Davies <ben@transient.nz>
Director
Transient Software Limited <https://transient.nz/>
New Zealand

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web