### Please describe the problem. I am unable to copy files from my Android git annex repository into a remote repository on a Ubuntu machine. It was previously working fine, but after recent upgrades, it throws odd errors and refuses to copy the files. ### What steps will reproduce the problem? Run this command: `git annex copy --to remote Path/To/File.txt` ### What version of git-annex are you using? On what operating system? Souce Android Tablet [[!format sh """ git-annex version: 5.20131221-gf8c928d build flags: Assistant Webapp Testsuite S3 WebDAV Inotify XMPP DNS Feeds Quvi TDFA CryptoHash key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL remote types: git gcrypt S3 bup directory rsync web webdav glacier hook local repository version: 5 default repository version: 3 supported repository versions: 3 5 upgrade supported from repository versions: 0 1 2 4 """]] Destination Ubuntu server [[!format sh """ git-annex version: 5.20131224-g692aa01 build flags: Assistant Webapp Pairing S3 WebDAV Inotify DBus XMPP Feeds Quvi TDFA key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SHA256 SHA1 SHA512 SHA224 SHA384 WORM URL remote types: git gcrypt S3 bup directory rsync web webdav glacier hook """]] ### Please provide any additional information below. [[!format sh """ # If you can, paste a complete transcript of the problem occurring here. # If the problem is with the git-annex assistant, paste in .git/annex/daemon.log git annex copy --to gimli Books/Laravel/laravel.mobi copy Books/Laravel/laravel.mobi (checking gimli...) git-annex: Not in a git repository. (to gimli...) git-annex: unknown command recvkey Usage: git-annex command [option ...] Commonly used commands: add [PATH ...] add files to annex addurl URL ... add urls to annex assistant automatically handle changes copy [PATH ...] copy content of files to/from another repository drop [PATH ...] indicate content of files not currently wanted edit [PATH ...] same as unlock get [PATH ...] make content of annexed files available import [PATH ...] move and add files from outside git working copy importfeed URL ... import files from podcast feeds lock [PATH ...] undo unlock command mirror [PATH ...] mirror content of files to/from another repository move [PATH ...] move content of files to/from another repository rmurl FILE URL record file is not available at url status [PATH ...] show the working tree status sync [REMOTE ...] synchronize local repository with remotes unlock [PATH ...] unlock files for modification watch watch for changes webapp launch webapp Repository setup commands: dead REMOTE ... hide a lost repository describe REMOTE DESC change description of a repository direct switch repository to direct mode enableremote NAME [K=V ...] enables use of an existing special remote group REMOTE DESC add a repository to a group indirect switch repository to indirect mode init DESC initialize git-annex initremote NAME [K=V ...] creates a special (non-git) remote schedule REMOTE [EXPR] get or set scheduled jobs semitrust REMOTE ... return repository to default trust level trust REMOTE ... trust a repository ungroup REMOTE DESC remove a repository from a group untrust REMOTE ... do not trust a repository vicfg edit git-annex's configuration wanted REMOTE [EXPR] get or set preferred content expression Repository maintenance commands: addunused NUM|RANGE ... add back unused files dropunused NUM|RANGE ... drop unused file content fix [PATH ...] fix up symlinks to point to annexed content forget prune git-annex branch history fsck [PATH ...] check for problems merge automatically merge changes from remotes repair recover broken git repository unused look for unused file content upgrade upgrade repository layout Query commands: find [PATH ...] lists available files help display help info [PATH ...] shows general information about the annex list [PATH ...] show which remotes contain files log [PATH ...] shows location log map generate map of repositories version show version info whereis [PATH ...] lists repositories that have file content Utility commands: migrate [PATH ...] switch data to different backend reinject SRC DEST sets content of annexed file unannex [PATH ...] undo accidential add command uninit [PATH ...] de-initialize git-annex and clean out repository Plumbing commands: dropkey KEY ... drops annexed content for specified keys examinekey KEY ... prints information from a key fromkey KEY PATH adds a file using a specific key lookupkey FILE ... looks up key used for file pre-commit [PATH ...] run by git pre-commit hook rekey [PATH KEY ...] change keys used for files transferkey KEY transfers a key from or to a remote transferkeys transfers keys xmppgit git to XMPP relay rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(224) [sender=3.1.0dev] rsync failed -- run git annex again to resume file transfer failed git-annex: copy: 1 failed # End of transcript or log. """]] > There was a bug in the linux standalone tarball distributed > with 5.20131221 that made the `git-annex-shell` wrapper accidentially run > `git-annex` instead of `git-annex-shell`. Which results in > this error about recvkey, which is a git-annex-shell command, not a > git-annex command. > > I think your ubuntu system must have git-annex installed from that tarball. > This bug is fixed in the daily builds, and I have updated the > tarballs for the release too, now. [[done]] --[[Joey]]