Apt-Get Update : failure to fetch

For that you will need the below commands:

~$ sudo rm -vf /var/lib/apt/lists/*
~$ sudo apt-get update

This will solve your issue!

If the problem is messed with keys then you can try the below commands

~$ cd /etc/apt/apt/sources.list.d/

~$ sudo rm -R *

~$ cd /var/lib/apt/lists/

~$ sudo rm -R *

~$ sudo nano /etc/apt/sources.list

and comment out the line with #

~$ apt-key list

~$ sudo apt-key del XXXX

XXXX is the key ID from the list you got

~$ sudo apt-key update

~$ sudo apt-get clean

~$ sudo apt-get update

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.