When attempting to do an sudo apt update I get a load of Failed to fetch messages as below.
Code:
E: Failed to fetch http://ports.ubuntu.com/dists/xenial/main/binary-i386/Packages 404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: Failed to fetch http://ports.ubuntu.com/dists/xenial-updates/main/binary-i386/Packages 404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: Failed to fetch http://ports.ubuntu.com/dists/xenial-security/main/binary-i386/Packages 404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: Failed to fetch http://ports.ubuntu.com/dists/xenial-backports/main/binary-i386/Packages 404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/xenial/main/binary-i386/Packages 404 Not Found [IP: 2001:67c:1360:8001::22 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
I'm also unable to sudo apt install programs, it returns a message such as:
Code:
E: Unable to locate package fdupes
It's not that I can't access the internet as everything else works fine such as web browsing, email, FTP etc.
How can I fix this issue?
Many thanks for any help.
PS
I'm using Linux Ubuntu 16.04.3 LTS on a Raspberry Pi 3.