summaryrefslogtreecommitdiff
path: root/doc/forum/Formatting_struggle_with_Apt.backportSuite/comment_1_9d4f41976824ef29381bbd2bbb3eaf39._comment
blob: 99dccf58a6d164f96ae74303940a534ebd004b5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"]
"""]]