添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Debian 10 Buster apt-key 报错:E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

  • 博主:
  • 发布时间:
  • 4430次浏览
  • 1518字数
  • 分类: 笔记
  • 环境

    Debian 10 Buster 10.9.0 x32
    debian-10.9.0-i386-DVD-1.iso

    问题

    在使用 debian-10.9.0-i386-DVD-1.iso 安装 Debian 10 后,apt-key adv 操作报错:

    E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation.

    apt install gnupg、apt install gnupg1 与 apt install gnupg2 均报错,可查看下方“相关报错”。

    解决

    由于在安装过程中未配置网络源(好象是 main 源)所导致,设置 Debian 10 Buster 源即可,参考如下设置为国内 163 源。


    设置源后,再执行:
    apt install gnupg2 -y

    在进行安装

    相关报错

    apt-key adv

    报错:

    E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
    apt install gnupg

    报错:

    Package gnupg is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'gnupg' has no installation candidate
    apt install gnupg1

    报错:

    Package gnupg1 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'gnupg1' has no installation candidate
    apt install gnupg2

    报错:

    Package gnupg2 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    E: Package 'gnupg2' has no installation candidate

    Adobe Premiere Pro 2019 无法打开 桌面生产 crash 文件 报错 EXCEPTION_ACCESS_VIOLATION ZXPSignLib-minimal.dll

    评论数: 31

    Unity.exe - 系统错误 由于找不到 MSVCP100.dll MSVCR100.dll,无法继续执行代码。Package Manager Error EBUSY: resource busy or locked, rmdir

    评论数: 0

    Confluence 删除页面报错 删除失败 我们不能删除您的页面。再试一次。

    评论数: 0

    Windows 系统修复方法一:使用 bcdboot 修复启动文件,创建启动项

    评论数: 0

    pip install suds 报错:ModuleNotFoundError: No module named 'client'

    评论数: 2

    Jira 从 csv 文件 批量 导入问题 子任务 踩坑记录

    评论数: 2

    Debian 10 Buster apt-key 报错:E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

    环境

    Debian 10 Buster 10.9.0 x32
    debian-10.9.0-i386-DVD-1.iso

    问题

    在使用 debian-10.9.0-i386-DVD-1.iso 安装 Debian 10 后,apt-key adv 操作报错:

    E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation.

    apt install gnupg、apt install gnupg1 与 apt install gnupg2 均报错,可查看下方“相关报错”。

    解决

    由于在安装过程中未配置网络源(好象是 main 源)所导致,设置 Debian 10 Buster 源即可,参考如下设置为国内 163 源。


    设置源后,再执行:
    apt install gnupg2 -y

    在进行安装

    相关报错

    apt-key adv

    报错:

    E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
    apt install gnupg

    报错:

    Package gnupg is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'gnupg' has no installation candidate
    apt install gnupg1

    报错:

    Package gnupg1 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package 'gnupg1' has no installation candidate
    apt install gnupg2

    报错:

    Package gnupg2 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    E: Package 'gnupg2' has no installation candidate