File: gcrypt_special_remote_fails_on_bare_remote_repos.mdwn

package info (click to toggle)
git-annex 8.20210223-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 68,764 kB
  • sloc: haskell: 70,359; javascript: 9,103; sh: 1,304; makefile: 212; perl: 136; ansic: 44
file content (39 lines) | stat: -rw-r--r-- 1,933 bytes parent folder | download | duplicates (4)
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
Creating a gcrypt remote on a remote bare repository fails: it tries to modify the config file in the wrong path:

(problem is in last line)

```
$ git annex initremote qech type=gcrypt encryption=hybrid gitrepo=~/astro.git keyid=0BA74AC5B9494715
initremote qech (encryption setup) (hybrid cipher with gpg key 0BA74AC5B9494715) gcrypt: Development version -- Repository format MAY CHANGE
gcrypt: Decrypting manifest
gpg: Signature made Son 13 Sep 2015 19:37:16 CEST using RSA key ID B9494715
gpg: Good signature from "Arian Sanusi <arian@sanusi.ch>"
gpg:                 aka "Arian Sanusi <arian@sanusi.de>"
gpg:                 aka "Arian Sanusi <asanusi@student.ethz.ch>"
gpg:                 aka "Arian Sanusi <arian@guave.org>"
gpg:                 aka "Arian Sanusi <asanusi@ethz.ch>"
gpg:                 aka "Arian Sanusi <arian@semioptimal.net>"
gcrypt: Remote ID is :id:1+DP8KgrbsvpSycQ5QKO
Von gcrypt::/home/arian-debian-ssd/astro
 * [neuer Branch]    git-annex  -> qech/git-annex
gcrypt: Development version -- Repository format MAY CHANGE
gcrypt: Decrypting manifest
gpg: Signature made Son 13 Sep 2015 19:37:16 CEST using RSA key ID B9494715
gpg: Good signature from "Arian Sanusi <arian@sanusi.ch>"
gpg:                 aka "Arian Sanusi <arian@sanusi.de>"
gpg:                 aka "Arian Sanusi <asanusi@student.ethz.ch>"
gpg:                 aka "Arian Sanusi <arian@guave.org>"
gpg:                 aka "Arian Sanusi <asanusi@ethz.ch>"
gpg:                 aka "Arian Sanusi <arian@semioptimal.net>"
Everything up-to-date
error: could not lock config file /home/arian-debian-ssd/astro.git/.git/config: Datei oder Verzeichnis nicht gefunden
git-annex: git [Param "config",Param "core.gcrypt-id",Param ":id:1+DP8KgrbsvpSycQ5QKO"] failed
```

debian stretch *pre gcc5* on amd64 here:

```
i  git                 1:2.5.1-1    amd64
ii  git-annex           5.20150812-2 amd64
ii  git-remote-gcrypt   0.20130908-7 all
```