几天前,我在执行时开始出现以下错误apt-get update
:
E: Repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease' changed its 'Label' value from 'Oracle Java (JDK) 8 / 9 Installer PPA' to 'Oracle Java (JDK) 8 Installer PPA'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
据WebUpd8,那,那,那,和该网页,我似乎并不需要为这个一键(再)。
如果我取出钥匙
/etc/apt/trusted.gpg.d/webupd8team_ubuntu_java.gpg
pub rsa1024 2010-05-04 [SC]
7B2C 3B08 89BF 5709 A105 D03A C251 8248 EEA1 4886
uid [ unknown] Launchpad VLC
与apt-key del
,我(显然)得到
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
感谢您提供任何其他帮助。
Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/pool/main/o/oracle-java8-installer/oracle-java8-installer_8u181-1~webupd8~1_all.deb 404 Not Found
。MichałKnapiński在这里的回答解决了我两个问题。它修复了404,还要求我接受标签更改。