GitLab更新失败(CentOS)

使用yum更新GitLab,出现如下错误提示:

Error: Failed to download metadata for repo 'gitlab_gitlab-ce': repomd.xml GPG signature verification error: Bad GPG signature

编写如下脚本:


for pubring in /var/cache/dnf/gitlab_gitlab-?e-*/pubring
 do
   gpg --homedir $pubring --delete-key F6403F6544A38863DAA0B6E03F01618A51312F3F
 done

运行:

按y键确认

成功后运行如下代码:

dns cache-update

运行成功,再次使用yum update更新,gitlab更新不再报错。

相关推荐

  1. CentOS:安装gitlab

    2024-03-27 05:48:03       67 阅读
  2. CentOS更新 Git

    2024-03-27 05:48:03       47 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-03-27 05:48:03       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-03-27 05:48:03       106 阅读
  3. 在Django里面运行非项目文件

    2024-03-27 05:48:03       87 阅读
  4. Python语言-面向对象

    2024-03-27 05:48:03       96 阅读

热门阅读

  1. 面试 JVM 八股文十问十答第四期

    2024-03-27 05:48:03       49 阅读
  2. 量子计算与大模型融合的潜力与挑战探索

    2024-03-27 05:48:03       38 阅读
  3. 简明 Python 教程(第5章 函数)

    2024-03-27 05:48:03       32 阅读
  4. Python 和 Go:一文了解

    2024-03-27 05:48:03       40 阅读