0

Upgrade proceeds till it throws this error

W:G-P-G error: https://dl.winehq.org/wine-builds/ubuntu focal In-release: The following signatures couldn't be verified because the public key is not available: 

then lists about 50 faults mostly like W:Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:

then fails and closes

Any way to push through this?

later Edit - By making sure I updated all programs beforehand, not just security updates (which was what I had updates set to) I reduced it down to 1 error instead of 50; but the same fail to upgrade.

1 Answers1

0

Try the following:

Open a terminal.

Run in it:

sudo apt update
sudo apt install --reinstall synaptic
sudo synaptic

In Synaptic, click on : ---> settings ---> repositories

Disable, by unchecking the box, the one that gives you problems (https://dl.winehq.org/wine-builds/ubuntu focal) and all those that are not original from Ubuntu, ppa, opera, google, etc. etc.

Close Synaptic

Run:

sudo apt update
sudo apt dist-upgrade
sudo apt autoremove
sudo apt clean

Close the terminal.

Start the upgrade process

kyodake
  • 17,808