I'm having trouble updating the submodules I use for my vim configuration despite everything else working from a GitHub perspective.
I have already followed github's "generating SSH keys" as well as "adding SSH keys to github" article multiple times and have re-added my SSH key multiple times. I have tried the ed protocol, as well as the RSA and neither seems to work.
Strangely enough, all other tests for whether or not I'm connected work. I'm able to git clone a raw repository without a problem, even private repositories using ssh links.
I can also use the ssh -T git@github.com
command fine and it says i'm authenticated with my proper user account and everything.
ssh -T git@github.com
Hi ca-mantis-shrimp! You've successfully authenticated, but GitHub does not provide shell access.
Literally the only thing that is broken is recursively updating submodules and it is driving me crazy, everything i'm reading say I just need to replace the public key but I really don't think that's the problem or i'm missing something
and yes, I'm add the ssh key and ensure the agent is running in the background.
I get
/usr/lib/git-core/git-submodule: 88: gettext: Permission denied
/usr/lib/git-core/git-submodule: 1: envsubst: Permission denied
/usr/lib/git-core/git-submodule: 88: envsubst: Permission denied
/usr/lib/git-core/git-submodule: 1: envsubst: Permission denied
/usr/lib/git-core/git-submodule: 88: gettext: Permission denied
/usr/lib/git-core/git-submodule: 88: envsubst: Permission denied
...
when trying to update
I've deleted the repo and tried cloning it back, I really can't think of what could be wrong here.
Solution:
In my case, the problem was that I needed to install gettext
package as a super user it simply wasn't in the partition.
Thank you to @VonC for your detailed advice!