warning: gpg (GnuPG) is not available.
warning: Installing it is strongly encouraged.
fatal: cannot make /home/xxxx/work/dove13/.repo/repo directory: File ex
kkkkcom@kkkkcom-virtual-machine:/snap/bin$ ls -l repo
lrwxrwxrwx 1 root root 13 5月 16 09:38 repo -> git-repo.repo
kkkkcom@kkkkcom-virtual-machine:/snap/bin$ ls -l git-repo.repo
lrwxrwxrwx 1 root root 13 5月 16 09:38 git-repo.repo -> /usr/bin/snap
这里直接去修改用户组发现并不能生效,可能跟链接L文件有关,于是通过rm -rf把有问题的repo删除,并且将实体机里面的repo文件拷贝到相关路径并设置相同的权限和用户组,发现问题解决
rm -rf /snap/bin/repo
kkkkcom@kkkkcom:kkkkcom-virtual-machine:/snap/bin$ sudo cp ~/Desktop/repo .
kkkkcom@kkkkcom-virtual-machine:/snap/bin$ ls -l repo
-rw-r–r-- 1 root root 45277 5月 26 10:40 repo
kkkkcom@kkkkcom-virtual-machine:/snap/bin$ sudo chown kkkkcom:kkkkcom repo
kkkkcom@kkkkcom-virtual-machine:/snap/bin$ ls -l repo
-rw-r–r-- 1 kkkkcom kkkkcom 45277 5月 26 10:40 repo
kkkkcom@kkkkcom-virtual-machine:/snap/bin$ chmod 775 repo
kkkkcom@kkkkcom-virtual-machine:/snap/bin$ ls -l repo
-rwxrwxr-x 1 kkkkcom kkkkcom 45277 5月 26 10:40 repo文章来源:https://www.toymoban.com/news/detail-618179.html
参考解决办法:
https://blog.csdn.net/OneT1me/article/details/124981049文章来源地址https://www.toymoban.com/news/detail-618179.html
到了这里,关于ubuntu warning: gpg (GnuPG) is not available. 解决办法的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!