From 4064ab26f96709010583840ceea9f68fa08cf495 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 10 Jul 2019 22:05:02 -0400 Subject: Apt: Debian has changed the name of the suite for testing security updates from testing to testing-security. The testing-security suite appeared 4 days ago. I don't know where this change is documented; wish I had known about it before the stable release, as now stable has a propellor that doesn't work with testing. --- src/Propellor/Property/Apt.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Propellor/Property') diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs index 6d7fc4d6..41e6cfe7 100644 --- a/src/Propellor/Property/Apt.hs +++ b/src/Propellor/Property/Apt.hs @@ -110,9 +110,13 @@ stdArchiveLines = return . binandsrc =<< getMirror securityUpdates :: SourcesGenerator securityUpdates suite | isStable suite || suite == Testing = - let l = "deb http://security.debian.org/ " ++ showSuite suite ++ "/updates " ++ unwords stdSections + let l = "deb http://security.debian.org/ " ++ securitysuite ++ "/updates " ++ unwords stdSections in [l, srcLine l] | otherwise = [] + where + securitysuite + | suite == Testing = "testing-security" + | otherwise = showSuite suite -- | Makes sources.list have a standard content using the Debian mirror CDN -- (or other host specified using the `mirror` property), with the -- cgit v1.2.3