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


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

Auto install security updates only?

Started byDick Visser <dick.visser@geant.org>
First post2021-06-22 10:10 +0200
Last post2021-06-22 12:30 +0200
Articles 2 — 2 participants

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


Contents

  Auto install security updates only? Dick Visser <dick.visser@geant.org> - 2021-06-22 10:10 +0200
    Re: Auto install security updates only? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-22 12:30 +0200

#236261 — Auto install security updates only?

FromDick Visser <dick.visser@geant.org>
Date2021-06-22 10:10 +0200
SubjectAuto install security updates only?
Message-ID<CsJDP-7jG-1@gated-at.bofh.it>
Hi

I'm looking for a way to auto install security updates only.
To this end have configured unattended-upgrades like this:

Unattended-Upgrade::Origins-Pattern {
     "origin=Debian,codename=${distro_codename},label=Debian-Security";
  };
Unattended-Upgrade::Package-Blacklist {
};

While this works *most* of the time, it does not work *all* of the time.
A common issue is when a security update depends on another, new
package that is not labeled as Debian-Security.
Since a few days, this is the case again:

WARNING package linux-image-cloud-amd64 upgradable but fails to be
marked for upgrade ()

It appears that linux-image-cloud-amd64 is the security update, but it
depends on linux-image-4.19.0-17-cloud-amd64 which is not a security
update. If I add:
"origin=Debian,codename=${distro_codename},label=Debian";
to the Unattended-Upgrade::Origins-Pattern list (basically the
default), it works but then all packages get updated - which I don't
want.

On https://github.com/mvo5/unattended-upgrades#supported-options-reference
I noticed there is the Unattended-Upgrade::Package-Whitelist option.
But that means I have to know in advance which packages will be
upgraded - which I don't.

Any ideas on how one would auto install security updates including any
dependencies that are not labeled as Debian-Security?

thx!


-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

[toc] | [next] | [standalone]


#236266

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2021-06-22 12:30 +0200
Message-ID<CsLPj-8vn-1@gated-at.bofh.it>
In reply to#236261

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

On Ma, 22 iun 21, 10:05:32, Dick Visser wrote:
> 
> It appears that linux-image-cloud-amd64 is the security update, but it
> depends on linux-image-4.19.0-17-cloud-amd64 which is not a security
> update.

The output of 'apt policy' for both package will show what's happening. 

My guess is they are both regular stable updates, not security updates.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [standalone]


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


csiph-web