summaryrefslogtreecommitdiff
path: root/doc/forum/trying_to_--spin_to_a_sid+experimental_machine.mdwn
blob: 1fde595c228038ebf4bdf0460d3903cb70114866 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
I'm trying to get propellor running, and for now, I'd prefer
to not use a central git repo, according to what I have read 

```
  propellor --spin host 
```

should do just that: not use git.

So I have cabal installed propellor locally, and
in addition cloned

```
  git clone git://propellor.branchable.com/ .propellor
```

in my $HOME

My local machine (from where I run propellor) runs debian testing, the
machine I want to spin to: softland, debian unstable+experimental,
ie. unstable in general + all things ghc from experimental, to get ghc
7.8.4 (but not any more than that from experimental).

was not sure, what the right propellor config would be in that case:

```
& os (System (Debian Experimental) "amd64") 
```
which I have used, or

```
 & os (System (Debian Unstable) "amd64")
```
because in general I want Unstable


First thing I notice, when running


```
$ propellor --spin softland
```

propellor nevertheless tries to git push (but fails, obviously,
somewhere down in propellors output):

```
...
Building propellor-2.2.1...
Preprocessing library propellor-2.2.1...
In-place registering propellor-2.2.1...
Preprocessing executable 'propellor' for propellor-2.2.1...
Preprocessing executable 'propellor-config' for propellor-2.2.1...
Propellor build ... done
[master 8ca2715] propellor spin
Git commit ... done
Counting objects: 10, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (10/10), 913 bytes | 0 bytes/s, done.
Total 10 (delta 6), reused 0 (delta 0)
remote: you are not allowed to change config.hs
To git://propellor.branchable.com/
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git://propellor.branchable.com/'
Push to central git repository ... failed
Stop listening request sent.
Hit http://ftp.uk.debian.org sid InRelease
Hit http://ftp.uk.debian.org experimental InRelease
Get:1 http://ftp.uk.debian.org sid/main amd64 Packages/DiffIndex [7,876 B]
...
```

Note in particular the lines:

```
  To git://propellor.branchable.com/
   ! [remote rejected] master -> master (pre-receive hook declined)
  error: failed to push some refs to 'git://propellor.branchable.com/'
  Push to central git repository ... failed
```

Shouldn't propellor be completely quiet about git /
not try to push at all?

OK, never mind, let's see what's next: some long
output, propellor finally fails, I assume it's because
of my sid+experimental configuration?


```
Stop listening request sent.
Hit http://ftp.uk.debian.org sid InRelease
Hit http://ftp.uk.debian.org experimental InRelease
Get:1 http://ftp.uk.debian.org sid/main amd64 Packages/DiffIndex [7,876 B]
Get:2 http://ftp.uk.debian.org sid/contrib amd64 Packages/DiffIndex [7,819 B]
Get:3 http://ftp.uk.debian.org sid/non-free amd64 Packages/DiffIndex [7,819 B]
Get:4 http://ftp.uk.debian.org sid/contrib Translation-en/DiffIndex [7,819 B]
Get:5 http://ftp.uk.debian.org sid/main Translation-en/DiffIndex [7,876 B]
Get:6 http://ftp.uk.debian.org sid/non-free Translation-en/DiffIndex [7,819 B]
Get:7 http://ftp.uk.debian.org sid/main Sources [7,633 kB]
Get:8 http://ftp.uk.debian.org sid/contrib Sources [57.1 kB]
Get:9 http://ftp.uk.debian.org sid/non-free Sources [105 kB]
Get:10 http://ftp.uk.debian.org experimental/main Sources/DiffIndex [7,819 B]
Get:11 http://ftp.uk.debian.org experimental/contrib Sources/DiffIndex [7,819 B]
Get:12 http://ftp.uk.debian.org experimental/non-free Sources/DiffIndex [7,819 B]
Get:13 http://ftp.uk.debian.org experimental/main amd64 Packages/DiffIndex [7,819 B]
Get:14 http://ftp.uk.debian.org experimental/contrib amd64 Packages/DiffIndex [7,819 B]
Get:15 http://ftp.uk.debian.org experimental/contrib Translation-en/DiffIndex [7,819 B]
Get:16 http://ftp.uk.debian.org experimental/main Translation-en/DiffIndex [7,819 B]
Fetched 7,897 kB in 6s (1,169 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Skipping gnupg, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Skipping ghc, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Skipping cabal-install, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Skipping libghc-async-dev, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libghc-missingh-dev : Depends: libghc-hunit-dev-1.2.5.2-6e02e
                       Depends: libghc-array-dev-0.4.0.1-3b784
                       Depends: libghc-base-dev-4.6.0.1-8aa5d
                       Depends: libghc-containers-dev-0.5.0.0-ab1da
                       Depends: libghc-directory-dev-1.2.0.1-91a78
                       Depends: libghc-filepath-dev-1.3.0.1-b12cb
                       Depends: libghc-hslogger-dev-1.2.1-028cc
                       Depends: libghc-mtl-dev-2.1.2-94c72
                       Depends: libghc-network-dev-2.4.1.2-040ce
                       Depends: libghc-old-locale-dev-1.0.0.5-6729c
                       Depends: libghc-old-time-dev-1.1.0.1-2f8ea
                       Depends: libghc-parsec-dev-3.1.3-6c6e2
                       Depends: libghc-process-dev-1.1.0.2-76e05
                       Depends: libghc-random-dev-1.0.1.1-43fdc
                       Depends: libghc-regex-compat-dev-0.95.1-121c7
                       Depends: libghc-time-dev-1.4.0.1-10dc4
                       Depends: libghc-unix-dev-2.6.0.1-4f219
E: Unable to correct problems, you have held broken packages.
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libghc-hslogger-dev : Depends: libghc-base-dev-4.6.0.1-8aa5d
                       Depends: libghc-containers-dev-0.5.0.0-ab1da
                       Depends: libghc-directory-dev-1.2.0.1-91a78
                       Depends: libghc-mtl-dev-2.1.2-94c72
                       Depends: libghc-network-dev-2.4.1.2-040ce
                       Depends: libghc-old-locale-dev-1.0.0.5-6729c
                       Depends: libghc-process-dev-1.1.0.2-76e05
                       Depends: libghc-time-dev-1.4.0.1-10dc4
                       Depends: libghc-unix-dev-2.6.0.1-4f219
E: Unable to correct problems, you have held broken packages.
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libghc-unix-compat-dev : Depends: libghc-base-dev-4.6.0.1-8aa5d
                          Depends: libghc-unix-dev-2.6.0.1-4f219
E: Unable to correct problems, you have held broken packages.
Reading package lists...
Building dependency tree...
Reading state information...
Skipping libghc-ansi-terminal-dev, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libghc-ifelse-dev : Depends: libghc-base-dev-4.6.0.1-8aa5d
E: Unable to correct problems, you have held broken packages.
Reading package lists...
Building dependency tree...
Reading state information...
Skipping libghc-network-dev, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Skipping libghc-quickcheck2-dev, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Skipping libghc-mtl-dev, it is already installed and upgrade is not set.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libghc-monadcatchio-transformers-dev : Depends: libghc-base-dev-4.6.0.1-8aa5d
                                        Depends: libghc-extensible-exceptions-dev-0.1.1.4-255a3
                                        Depends: libghc-monads-tf-dev-0.1.0.2-731f0
                                        Depends: libghc-transformers-dev-0.3.0.0-ff2bb
E: Unable to correct problems, you have held broken packages.
Downloading the latest package list from hackage.haskell.org
Skipping download: Local and remote files match.
Resolving dependencies...
All the requested packages are already installed:
Use --reinstall if you want to reinstall anyway.
Resolving dependencies...
Configuring propellor-2.2.1...
Building propellor-2.2.1...
Preprocessing library propellor-2.2.1...
In-place registering propellor-2.2.1...
Preprocessing executable 'propellor' for propellor-2.2.1...
Preprocessing excaecutable 'propellor-bal: can't find source for configconf in src
ig' for propellor-2.2.1...
propellor: user error (ssh ["-o","ControlPath=/home/rx/.ssh/propellor/softland.sock","-o","ControlMaster=auto","-o","ControlPersist=yes","root@softland","sh -c 'if [ ! -d /usr/local/propellor/.git ] ; then (if ! git --version >/dev/null; then apt-get update && apt-get --no-install-recommends --no-upgrade -y install git; fi && echo STATUSNeedGitClone) || echo STATUSNeedPrecompiled ; else cd /usr/local/propellor && if ! test -x ./propellor; then ( apt-get update ; apt-get --no-upgrade --no-install-recommends -y install gnupg ; apt-get --no-upgrade --no-install-recommends -y install ghc ; apt-get --no-upgrade --no-install-recommends -y install cabal-install ; apt-get --no-upgrade --no-install-recommends -y install libghc-async-dev ; apt-get --no-upgrade --no-install-recommends -y install libghc-missingh-dev ; apt-get --no-upgrade --no-install-recommends -y install libghc-hslogger-dev ; apt-get --no-upgrade --no-install-recommends -y install libghc-unix-compat-dev ; apt-get --no-upgrade --no-install-recommends -y install libghc-ansi-terminal-dev ; apt-get --no-upgrade --no-install-recommends -y install libghc-ifelse-dev ; apt-get --no-upgrade --no-install-recommends -y install libghc-network-dev ; apt-get --no-upgrade --no-install-recommends -y install libghc-quickcheck2-dev ; apt-get --no-upgrade --no-install-recommends -y install libghc-mtl-dev ; apt-get --no-upgrade --no-install-recommends -y install libghc-monadcatchio-transformers-dev ; cabal update ; cabal install --only-dependencies ) || true && cabal configure && cabal build && ln -sf dist/build/propellor-config/propellor-config propellor; fi && ./propellor --boot softland ; fi'"] exited 1)
rx@varenne ~/work/propellor $
```

I should add, that I have tried to --spin to another
machine, and ... finally got that working:


```
 , host "laptop"
  & os (System (Debian Testing) "amd64")
```

Not sure, if I need more than that, want to keep it to the
minimum first, anyway:


```
  propellor --spin laptop
```

this works, yeah - sorry for the noise, above -  but still I get


```
Git commit ... done
To git://propellor.branchable.com/
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'git://propellor.branchable.com/'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Push to central git repository ... failed
```

Possible to turn off these git push attempts?


Thanks,
  Andreas