Can't get rid of GPG-error: http://download.opensuse.org [duplicate]

Solution 1:

If you don't need the source, you can look up and remove/comment the source entries. To find out where they are:

grep -iR opensuse /etc/apt/sources.list*

In all likelihood, they are in the sources.list.d folder, so this command should disable such entries:

sudo sed -i '/opensuse/ s/^/#/' /etc/apt/sources.list.d/*.list

You can ignore files with the .save extension.