From de99e4b6b45201d6af92eb0571ceaba678830989 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 26 Apr 2016 11:10:35 -0400 Subject: comment --- ...ent_1_9d4f41976824ef29381bbd2bbb3eaf39._comment | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 doc/forum/Formatting_struggle_with_Apt.backportSuite/comment_1_9d4f41976824ef29381bbd2bbb3eaf39._comment diff --git a/doc/forum/Formatting_struggle_with_Apt.backportSuite/comment_1_9d4f41976824ef29381bbd2bbb3eaf39._comment b/doc/forum/Formatting_struggle_with_Apt.backportSuite/comment_1_9d4f41976824ef29381bbd2bbb3eaf39._comment new file mode 100644 index 00000000..99dccf58 --- /dev/null +++ b/doc/forum/Formatting_struggle_with_Apt.backportSuite/comment_1_9d4f41976824ef29381bbd2bbb3eaf39._comment @@ -0,0 +1,27 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2016-04-26T15:02:03Z" + content=""" +Well, `backportSuite` takes a `DebianSuite` data type, and `Stable` +is a constructor for it. So, you don't quote the data constructor, +but only quote the release name string passed to it: + + (Stable "jessie") + +But, `backportSuite` is not a property, so you can't add it to a host +with `&` anyway. + +If you're trying to set up a sources.list that can install backports, the +way to do it is: + + & osDebian (Stable "jessie") "amd64" + & Apt.stdSourcesList + +The standard sources.list configuration includes backports when +the `DebianSuite` part of the host's OS is a stable release. + +There's also a property to install packages from backports: + + & Apt.installedBackport ["somepackage"] +"""]] -- cgit v1.2.3