this is not the same case as Failed to fetch update on Ubuntu 14.04 LTS (Trusty Tahr)
the error is:
Error during update
A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.
W:Failed to fetch
http://extras.ubuntu.com/ubuntu/dists/utopic/Release Unable to find
expected entry 'main/binary-amd-64/Packages' in Release file (Wrong
sources.list entry or malformed file)
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/utopic/Release Unable to find
expected entry 'main/binary-amd-64/Packages' in Release file (Wrong
sources.list entry or malformed file)
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/utopic-updates/Release Unable
to find expected entry 'main/binary-amd-64/Packages' in Release file
(Wrong sources.list entry or malformed file)
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/utopic-backports/Release
Unable to find expected entry 'main/binary-amd-64/Packages' in
Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/utopic-security/Release Unable
to find expected entry 'main/binary-amd-64/Packages' in Release file
(Wrong sources.list entry or malformed file)
, W:Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/utopic-proposed/Release Unable
to find expected entry 'main/binary-amd-64/Packages' in Release file
(Wrong sources.list entry or malformed file)
, E:Some index files failed to download. They have been ignored, or
old ones used instead.
Restoring original system state
command used is:
sudo do-release-upgrade
[Updated]
on pinging
ping archive.ubuntu.com
the output was:
64 bytes from obake.canonical.com (91.189.92.200): icmp_seq=1 ttl=52 time=294 ms
64 bytes from obake.canonical.com (91.189.92.200): icmp_seq=2 ttl=52 time=295 ms
64 bytes from obake.canonical.com (91.189.92.200): icmp_seq=3 ttl=52 time=295 ms
....... until i stopped it.
also the system settings->details shows that this is 14.04LTS
output of:
dpkg --print-architecture
is amd64
i opened /etc/apt/sources.list
file and there is no mention of utopic. everywhere it is trusty.
[Update - 2]
i checked the above links and there is indeed no entry of main/binary-amd-64/Packages
but everywhere it is main/binary-amd64/Packages
(notice the hyphen between amd and 64).
i used the command:
grep -r "amd-64" /etc/apt
and got no output.
/etc/apt/sources.list
and wherever you find the wordutopic
, replace it withtrusty
! – Byte Commander Jul 13 '15 at 15:04dpkg --print-architecture
? – muru Jul 13 '15 at 15:14