当前位置:   article > 正文

ubuntu warning: gpg (GnuPG) is not available. 解决办法_warning: gpg (gnupg) is not available. warning: in

warning: gpg (gnupg) is not available. warning: installing it is strongly en

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://blog.csdn.net/OneT1me/article/details/124981049

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/129200
推荐阅读
  

闽ICP备14008679号