]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Debian sources: don't use next release's backports.
authorintrigeri <intrigeri@boum.org>
Sat, 23 Apr 2011 11:08:33 +0000 (13:08 +0200)
committerintrigeri <intrigeri@boum.org>
Sat, 23 Apr 2011 11:08:33 +0000 (13:08 +0200)
The APT pinning we ship does not support that, and this seems a bit too much of
a corner case to me to deserve being supported out-of-the-box.

Anyone willing to use current release + next release + next release backports
(e.g. Lenny + Squeeze + squeeze-backports) can anyway do so using
apt::sources_list and apt::preferences_snippet.

https://labs.riseup.net/code/issues/2856 is the bug that triggered this change.

templates/Debian/sources.list.erb

index 3a810e310271584a9cecb5a1edc12ca75702e567..b0f490f7d5427dc5cf3b855eb681177dacf52feb 100644 (file)
@@ -67,16 +67,6 @@ deb-src <%= security_url %> <%= next_codename %>/updates <%= repos %>
 <% end -%>
 <% end -%>
 
-# backports
-<% if (next_release == "testing" || next_release == "unstable" || next_release == "experimental") -%>
-# There is no backports archive for <%= next_release %>
-<% else -%>
-deb <%= backports_url %> <%= next_codename %>-backports <%= repos %>
-<% if include_src then -%>
-deb-src <%= backports_url %> <%= next_codename %>-backports <%= repos %>
-<% end -%>
-<% end -%>
-
 <% if use_volatile -%>
 # volatile
 <% if (next_release == "testing" || next_release == "unstable" || next_release == "experimental") -%>