A few days ago, I started getting the following error when performing 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.
According to WebUpd8, that, that, that, and that page, I don't seem to need a key for this (anymore).
If I remove the key
/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
with apt-key del
, I (obviously) get
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
Thanks for any further help with this.
This command should do the trick:
Have a nice day
Software and updates -> other software -> remove webupd8team PPA.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
worked for me.
I think you all are missing the underlying problem.... The PPA no longer works:
root@ced-looker1:/etc/apt/sources.list.d# add-apt-repository ppa:webupd8team/java The Oracle JDK License has changed for releases starting April 16, 2019.
The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using this product. An FAQ is available here: https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html
Oracle Java downloads now require logging in to an Oracle account to download Java updates, like the latest Oracle Java 8u211 / Java SE 8u212. Because of this I cannot update the PPA with the latest Java (and the old links were broken by Oracle). For this reason, THIS PPA IS DISCONTINUED (unless I find some way around this limitation).
Steps that worked for me on Mint 19:
remove the webupd8 ppa from
sources.list.d
use the command that our friend above posted for us:
then re-add the ppa again and update it.