`aura` returns `Permission denied (publickey)` when fetching packages from AUR
aura >>= Building python-pipenv-git...
Cloning into bare repository '/var/cache/aura/vcs/python-pipenv-git/python-pipenv-git/python-pipenv-git'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
==> ERROR: Failure while downloading python-pipenv-git git repo
Aborting...
aura >>= There was a makepkg failure.
I am running aura like
sudo -E aura --hotedit --aursync --delmakedeps --noconfirm --sysupgrade
If I run ssh -vT [email protected] in my regular shell, I can see that GitHub accepts the authentication. If I do env -i -- ssh -vT [email protected], then I get the same message as the above.
It seems that aura is clobbering other environment variables which are relevant to my SSH authentication. Any advice here?
Hi, thanks for the report. sudo -E has traditionally not worked very well. As an initial experiment, would you be willing to try the alpha of the next major version of Aura? It handles sudo in a different way, likely avoiding environment variable problems related to git.
Note that an explicit sudo isn't necessary with the new version. The equivalent command would be:
aura --aursync --delmakedeps --sysupgrade
or just
aura -Aua
Looking at aura -Ah it seems I haven't yet ported --noconfirm for -A. I will make that a priority.
I just released 4.0.0-alpha10 which provides --noconfirm for -A.
Hi there, as this should not longer be occurring, I'm going to close this issue. Aura 4 will be released soon.