I im trying to do
sudo apt-get update
but i get the following error:
W: Failed to fetch http://ftp.udc.es/ubuntu/dists/trusty/Release Unable to find expected entry 'main/binary-x8-64/Packages' in Release file (Wrong sources.list entry or malformed file)
I have tried resetting the /etc/apt/sources.list like is here suggested:
How do I restore the default repositories?
And also tried to select another server from which to download the updates: 'sudo apt-get update' error on Ubuntu 12.04
But I keep getting the same damned error message. Any ideas?
As asked in comment, doing:
$ grep -R ftp.udc.es /etc/apt/sources.list*
/etc/apt/sources.list:deb http://ftp.udc.es/ubuntu/ trusty main universe
/etc/apt/sources.list.save:deb http://ftp.udc.es/ubuntu/ trusty main
$ cat sources.list
## See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
deb http://ftp.udc.es/ubuntu/ trusty main universe
# CDROMs are managed through the apt-cdrom tool.
$ dpkg --print-architecture
amd64
$ dpkg --print-foreign-architectures
i386
x8664
x8-64
x864
x8-64
isn't a valid architecture option for Debian repositories, yet your sources seem to use it. What aboutgrep -R ftp.udc.es /etc/apt/sources.list*
?/etc/apt/sources.list
so we can check the syntax.dpkg --print-architecture; dpkg --print-foreign-architectures
as well, please.