gpg:“tag:launchpad.net:2008:re​​dacted”不是密钥ID:使用apt-get安装新软件包时跳过错误

时间:2012-06-27 18:22:58

标签: ubuntu debian gnupg apt debian-based

无法在Ubuntu 12.04上安装新软件包,会出现与' gpg'相关的错误。 已执行的更新管理器' (已安装所有更新)但问题仍然存在,以下是我尝试安装Oracl JDK 7时的错误

coder@ubuntu:~$ sudo add-apt-repository ppa:flexiondotorg/java
[sudo] password for vikram: 
You are about to add the following PPA to your system:
 tag:launchpad.net:2008:redacted
 More info: https://launchpad.net/~flexiondotorg/+archive/java
Press [ENTER] to continue or ctrl-c to cancel adding it

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.jE42eWWvmU --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv tag:launchpad.net:2008:redacted
gpg: "tag:launchpad.net:2008:redacted" not a key ID: skipping

1 个答案:

答案 0 :(得分:1)

我认为你想要安装Oracles Java - 我认为你最容易做的就是直接从他们提供的二进制文件中做到:http://codingforme.wordpress.com/2012/05/14/installing-oracle-java-jdk-6-or-7-on-ubuntu-12-04/