推送至Arch用户存储库时发生错误

时间:2020-03-07 12:56:16

标签: git hook archlinux

我想将我的命令行实用程序发布在arch linux用户存储库上。我已经运行了makepkg --printsrcinfo > .SRCINFO命令,并使用git添加了PKGBUILD文件和.SRCINFO文件。

使用git推送后出现以下错误。

Enumerating objects: 8, done.
Counting objects: 100% (8/8), done.
Delta compression using up to 4 threads
Compressing objects: 100% (7/7), done.
Writing objects: 100% (8/8), 1.08 KiB | 368.00 KiB/s, done.
Total 8 (delta 1), 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 306, in main
remote: KeyError: 'pkgbase'
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/myapp.git
 ! [remote rejected] master -> master (hook declined)

如何解决这个问题?

1 个答案:

答案 0 :(得分:2)

该错误发生在远程端。此外,错误报告看起来不像正常的前提条件,它可以检查失败,它看起来更像是内部错误。

因此,您唯一可以解决该错误的方法就是将其报告给Arch存储库维护人员,并请他们帮助您解决问题。