File: Android_Installation_Error.mdwn

package info (click to toggle)
git-annex 10.20250416-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 73,572 kB
  • sloc: haskell: 90,656; javascript: 9,103; sh: 1,469; makefile: 211; perl: 137; ansic: 44
file content (33 lines) | stat: -rw-r--r-- 1,531 bytes parent folder | download | duplicates (3)
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
### Please describe the problem.

When attempting to install git-annex in Termux on an Android device, the following error is received:

    Running on Android.. Tuning for optimal behavior.
    sed: can't read /data/data/com.termux/files/home/git-annex.linux/git-remote-annex: No such file or directory

The installation fails and git-annex cannot be run.

### What steps will reproduce the problem?

Following the instructions found at <https://git-annex.branchable.com/Android/>:

    pkg install wget
    wget https://git-annex.branchable.com/install/Android/git-annex-install
    source git-annex-install

### What version of git-annex are you using? On what operating system?

* git-annex: I have tried both the latest and the nightly builds of arm64 ancient as of 2024-09-30.
* Android 14
* Termux 0.118.1

### Please provide any additional information below.

I have tried downloading the `.tar.gz` file and extracting it manually. Inside I find the file `git-remote-annex`.  I then run `./runshell`, receive the error above, and when I `ls` the directory, I find that the file `git-remote-annex` is missing from the folder.  This seems to be a case of the file being moved by the installer before it can be modified by `sed`.

### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)

Works great on all of my Fedora, Ubuntu, and Rocky machines!

> Thanks for reporting, I have now fixed the bug in runshell. [[done]]
> --[[Joey]]