A repo that is making it not possible to update with sudo apt update [duplicate]

Solution 1:

Edit the file /etc/apt/sources.list, for example, with nano editor:

sudo nano /etc/apt/sources.list

Then comment the lines with the "sury" repo, adding a # at the beginning of the line.

Then come back to the terminal, and repeat the sudo apt-get update command.