Control: tags -1 + pending patch

On Thu, 16 Sep 2010 at 12:39:16 +0400, Stanislav Fyodorov wrote:
> unattended-upgrades doesn't auto update but 10periodic have all "1"s. There 
> is something wrong.
...
>   APT prefers testing

On Wed, 20 Oct 2010 at 18:55:29 +0100, Steven Chamberlain wrote:
> As with bug #597059, it seems to be the default behaviour *not* to apply
> upgrades to the testing distribution, unless you manually enable it in
> /etc/apt/apt.conf.d/50unattended-upgrades

This appears to have been changed in the git repository for a future
version 0.99, using the attached patch.

    smcv
>From e311522fcfada21e35956d6a4f7d017b731ff319 Mon Sep 17 00:00:00 2001
From: Balint Reczey <[email protected]>
Date: Tue, 19 Sep 2017 16:04:53 +0200
Subject: [PATCH] Install upgrades from ${distro_codename}, label=Debian by
 default

This enables updates from stable point releases but also lets testing
and sid being updated with the package updates.
Fixes #33.

Closes: #787945, #597061
---
 data/50unattended-upgrades.Debian | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/50unattended-upgrades.Debian b/data/50unattended-upgrades.Debian
index 04457f0..b55c434 100644
--- a/data/50unattended-upgrades.Debian
+++ b/data/50unattended-upgrades.Debian
@@ -26,9 +26,9 @@ Unattended-Upgrade::Origins-Pattern {
         // archives (e.g. from testing to stable and later oldstable).
 	// Software will be the latest available for the named release,
 	// but the Debian release itself will not be automatically upgraded.
-//	"origin=Debian,codename=${distro_codename}";
 //	"origin=Debian,codename=${distro_codename}-updates";
 //	"origin=Debian,codename=${distro_codename}-proposed-updates";
+        "origin=Debian,codename=${distro_codename},label=Debian";
 	"origin=Debian,codename=${distro_codename},label=Debian-Security";
 
         // Archive or Suite based matching:
-- 
2.16.1

Reply via email to