Re: [aur-general] AUR problem: 403 for white_dune package
Just try ``` ~ ssh aur@aur.archlinux.org help Commands: adopt <name> Adopt a package base. disown <name> Disown a package base. flag <name> <comment> Flag a package base out-of-date. git-receive-pack Internal command used with Git. git-upload-pack Internal command used with Git. help Show this help message and exit. list-repos List all your repositories. restore <name> Restore a deleted package base. set-comaintainers <name> [...] Set package base co-maintainers. set-keywords <name> [...] Change package base keywords. setup-repo <name> Create a repository (deprecated). unflag <name> Remove out-of-date flag from a package base. unvote <name> Remove vote from a package base. vote <name> Vote for a package base. ``` if this does not work for you, you'll need to fix your ssh config / keys. Toni "J. Scheurich" mufti11@web.de – January 24, 2020 11:18 AM
Hi
$ git clone ssh://aur.archlinux.org/white_dune.git Cloning into 'white_dune'... aur@aur.archlinux.org: Permission denied (publickey). fatal: Could not read from remote repository. Is your key added to the ssh-agent? $ cat ~/.ssh/config Host aur.archlinux.org User aur PreferredAuthentications publickey IdentityFile ~/.ssh/aur AddKeysToAgent yes ... $ git push aur@aur.archlinux.org: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights $
Is this .ssh/config enough for ssh-agent ?
so long MUFTI
Hi,
Just try
```
~ ssh aur@aur.archlinux.org help
Commands: ...
if this does not work for you, you'll need to fix your ssh config / keys.
Thanks, that was the problem. Now i get $ git push Enumerating objects: 10, done. Counting objects: 100% (10/10), done. Delta compression using up to 4 threads Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 1.11 KiB | 569.00 KiB/s, done. Total 7 (delta 3), reused 0 (delta 0) remote: Traceback (most recent call last): remote: File "hooks/update", line 11, in <module> remote: load_entry_point('aurweb==4.8.0', 'console_scripts', 'aurweb-git-update')() remote: File "/usr/lib/python3.8/site-packages/aurweb-4.8.0-py3.8.egg/aurweb/git/update.py", line 341, in main remote: File "/usr/lib/python3.8/site-packages/aurweb-4.8.0-py3.8.egg/aurweb/git/update.py", line 42, in extract_arch_fields remote: KeyError: 'arch' remote: error: hook declined to update refs/heads/master To ssh://aur.archlinux.org/white_dune.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'ssh://aur@aur.archlinux.org/white_dune.git' I deleted the "arch" line in PKGBUILD cause of a errormessage in git push, is this the error ? what is a valid "arch line" ? so long MUFTI
participants (2)
-
eye
-
J. Scheurich