You are not logged in.
I'm trying to follow the steps here to migrate my aur packages to aur4. I've created my public key, edited ~/.ssh/config as described, and copied my public key file to my aur4 account settings.
When I run my git clone command I get this:
$ git clone ssh://aur@aur4.archlinux.org/wcgbrowser-git.git
Cloning into 'wcgbrowser-git'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Is there a step missing here where I need to create the repository on aur4 first, or is that done automatically when I clone? Seems logical, but I couldn't find a way to create the repo either in the web interface or on the wiki. Or is this indeed an authentication issue of some kind?
Last edited by lykwydchykyn (2015-06-08 18:53:57)
Offline
is this indeed an authentication issue of some kind?
The "Permission denied (publickey)" message suggests that this is the case. Double-check that your ~/.ssh/config and the public key on the AUR web interface are correct.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Ah, looks like I copied the wrong publickey. Thanks for the sanity check.
Offline
I've done everything here and mine wants a passphrase for the pub file/key. Even when I put a passphrase in for the key it still doesn't work.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
I also got this error when I tried to clone a package I had already migrated and done updates to. I was following the wiki instructions https://wiki.archlinux.org/index.php/Ar … g_packages which say to
$ git clone ssh://aur@aur.archlinux.org/foobar.git
However, everything worked fine when I used
$ git clone ssh://aur@aur4.archlinux.org/foobar.git
Notice `aur4` instead of `aur`.
I'm not sure where to fix this. I could try to change the wiki, but it seems like now that https://aur4.archlinux.org/ and https://aur.archlinux.org/ take you to the same place, it shouldn't be necessary to specify aur4 in the clone command.
Last edited by colinkeenan (2015-08-30 23:51:23)
Offline
I also got this error when I tried to clone a package I had already migrated and done updates to. I was following the wiki instructions https://wiki.archlinux.org/index.php/Ar … g_packages which say to
$ git clone ssh://aur@aur.archlinux.org/foobar.git
However, everything worked fine when I used
$ git clone ssh://aur@aur4.archlinux.org/foobar.git
Notice `aur4` instead of `aur`.
I'm not sure where to fix this. I could try to change the wiki, but it seems like now that https://aur4.archlinux.org/ and https://aur.archlinux.org/ take you to the same place, it shouldn't be necessary to specify aur4 in the clone command.
aur4 was temporary for about 2 months. It is now aur as the transition period has ended. You can still upload the stuff and still use the backup at pkgbuild if needed.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
colinkeenan wrote:I also got this error when I tried to clone a package I had already migrated and done updates to. I was following the wiki instructions https://wiki.archlinux.org/index.php/Ar … g_packages which say to
$ git clone ssh://aur@aur.archlinux.org/foobar.git
However, everything worked fine when I used
$ git clone ssh://aur@aur4.archlinux.org/foobar.git
Notice `aur4` instead of `aur`.
I'm not sure where to fix this. I could try to change the wiki, but it seems like now that https://aur4.archlinux.org/ and https://aur.archlinux.org/ take you to the same place, it shouldn't be necessary to specify aur4 in the clone command.
aur4 was temporary for about 2 months. It is now aur as the transition period has ended. You can still upload the stuff and still use the backup at pkgbuild if needed.
Yes - I know that aur4 was temporary, and therefore it makes sense that the wiki says to use aur, however, I get this error when using aur and therefore still have to use aur4. I have created a bug report concerning this: https://bugs.archlinux.org/task/46154
Offline
I tried to solve this without editing the wiki by filing this bug report: https://bugs.archlinux.org/task/46154. It was closed for not being a bug, so I have fixed the command in the wiki, putting "aur4" back into it because that's what's required to avoid this error.
Offline
Did you maybe forget to change "aur4" to "aur" in your ssh config?
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
@progandy Thank you for providing the correct answer to my problem. I had to use "aur4" because I had
/home/colin %cat /home/colin/.ssh/config
Host aur4.archlinux.org
IdentityFile ~/.ssh/id_aur
User aur
I've fixed it to
/home/colin %cat /home/colin/.ssh/config
Host aur.archlinux.org
IdentityFile ~/.ssh/id_aur
User aur
and now the original wiki command works (and somebody else already undid my previous edit of the wiki)
Offline
Problem happened again today when doing a git push. Fixed by removing the local git repository for the package and cloning again. The problem was the previous clone was still using aur4.
Offline