apt-get update has problem

Asked by Erman Gurses

I tried all the sub-steps in step 5 and the output is below. Can you help me to solve this problem? I need to run this two commands

1) $ sudo sh -c \ 'echo "foreign-architecture armhf" >> /etc/dpkg/dpkg.cfg.d/multiarch'
2) $ sudo apt-get update

foreign-architecture armhf
foreign-architecture armhf
foreign-architecture armhf
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ dpkg --print-foreign-architectures
i386 armhf
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo grep -R proxy /etc/apt/*
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ grep proxy /etc/environment
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ echo $http_proxy

erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ echo $ftp_proxy

erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ grep proxy /etc/bash.bashrc
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ grep proxy ~/.bashrc
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo fuser -vvv /var/lib/dpkg/lock
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo fuser -vvv /var/cache/apt/archives/lock
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ uname -a
Linux erman-XPS-8300 3.13.0-32-generic #57~precise1-Ubuntu SMP Tue Jul 15 03:51:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo rm /var/lib/apt/lists/lock
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo rm /var/cache/apt/archives/lock
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo rm /var/lib/dpkg/lock
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
^[[Aerman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo rm -rf /var/lib/dpkg/updates/*
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo rm -rf /var/lib/apt/lists
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo rm /var/cache/apt/*.bin
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo mkdir /var/lib/apt/lists
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo mkdir /var/lib/apt/lists/partial
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ LANG=C;sudo apt-get clean
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://archive.ubuntu.com precise Release.gpg [198 B]
Get:2 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:3 http://archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:4 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Get:5 http://archive.ubuntu.com precise Release [49.6 kB]
Get:6 http://archive.ubuntu.com precise-updates Release [98.7 kB]
Get:7 http://archive.ubuntu.com precise-backports Release [50.8 kB]
Get:8 http://archive.ubuntu.com precise-security Release [50.7 kB]
Get:9 http://archive.ubuntu.com precise/main Sources [934 kB]
Get:10 http://archive.ubuntu.com precise/restricted Sources [5470 B]
Get:11 http://archive.ubuntu.com precise/universe Sources [5019 kB]
Get:12 http://archive.ubuntu.com precise/multiverse Sources [155 kB]
Get:13 http://archive.ubuntu.com precise/main amd64 Packages [1273 kB]
Get:14 http://archive.ubuntu.com precise/restricted amd64 Packages [8452 B]
Get:15 http://archive.ubuntu.com precise/universe amd64 Packages [4786 kB]
Get:16 http://archive.ubuntu.com precise/multiverse amd64 Packages [119 kB]
Get:17 http://archive.ubuntu.com precise/main i386 Packages [1274 kB]
Get:18 http://archive.ubuntu.com precise/restricted i386 Packages [8431 B]
Get:19 http://archive.ubuntu.com precise/universe i386 Packages [4796 kB]
Get:20 http://archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
Get:21 http://archive.ubuntu.com precise/main TranslationIndex [3706 B]
Get:22 http://archive.ubuntu.com precise/multiverse TranslationIndex [2676 B]
Get:23 http://archive.ubuntu.com precise/restricted TranslationIndex [2596 B]
Get:24 http://archive.ubuntu.com precise/universe TranslationIndex [2922 B]
Get:25 http://archive.ubuntu.com precise-updates/main Sources [477 kB]
Get:26 http://archive.ubuntu.com precise-updates/restricted Sources [8056 B]
Get:27 http://archive.ubuntu.com precise-updates/universe Sources [110 kB]
Get:28 http://archive.ubuntu.com precise-updates/multiverse Sources [8881 B]
Get:29 http://archive.ubuntu.com precise-updates/main amd64 Packages [825 kB]
Get:30 http://archive.ubuntu.com precise-updates/restricted amd64 Packages [13.7 kB]
Get:31 http://archive.ubuntu.com precise-updates/universe amd64 Packages [247 kB]
Get:32 http://archive.ubuntu.com precise-updates/multiverse amd64 Packages [15.3 kB]
Get:33 http://archive.ubuntu.com precise-updates/main i386 Packages [856 kB]
Get:34 http://archive.ubuntu.com precise-updates/restricted i386 Packages [13.7 kB]
Get:35 http://archive.ubuntu.com precise-updates/universe i386 Packages [253 kB]
Get:36 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [15.5 kB]
Get:37 http://archive.ubuntu.com precise-updates/main TranslationIndex [3564 B]
Get:38 http://archive.ubuntu.com precise-updates/multiverse TranslationIndex [2605 B]
Get:39 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2461 B]
Get:40 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2850 B]
Get:41 http://archive.ubuntu.com precise-backports/main Sources [5145 B]
Get:42 http://archive.ubuntu.com precise-backports/universe Sources [39.4 kB]
Get:43 http://archive.ubuntu.com precise-backports/multiverse Sources [5311 B]
Get:44 http://archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:45 http://archive.ubuntu.com precise-backports/main amd64 Packages [6412 B]
Get:46 http://archive.ubuntu.com precise-backports/universe amd64 Packages [42.4 kB]
Get:47 http://archive.ubuntu.com precise-backports/multiverse amd64 Packages [5206 B]
Get:48 http://archive.ubuntu.com precise-backports/restricted amd64 Packages [14 B]
Get:49 http://archive.ubuntu.com precise-backports/main i386 Packages [6420 B]
Get:50 http://archive.ubuntu.com precise-backports/universe i386 Packages [42.2 kB]
Get:51 http://archive.ubuntu.com precise-backports/multiverse i386 Packages [5178 B]
Get:52 http://archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:53 http://archive.ubuntu.com precise-backports/main TranslationIndex [72 B]
Get:54 http://archive.ubuntu.com precise-backports/multiverse TranslationIndex [72 B]
Get:55 http://archive.ubuntu.com precise-backports/restricted TranslationIndex [70 B]
Get:56 http://archive.ubuntu.com precise-backports/universe TranslationIndex [73 B]
Get:57 http://archive.ubuntu.com precise-security/main Sources [108 kB]
Get:58 http://archive.ubuntu.com precise-security/restricted Sources [2494 B]
Get:59 http://archive.ubuntu.com precise-security/universe Sources [32.7 kB]
Get:60 http://archive.ubuntu.com precise-security/multiverse Sources [1786 B]
Get:61 http://archive.ubuntu.com precise-security/main amd64 Packages [416 kB]
Get:62 http://archive.ubuntu.com precise-security/restricted amd64 Packages [4627 B]
Get:63 http://archive.ubuntu.com precise-security/universe amd64 Packages [96.9 kB]
Get:64 http://archive.ubuntu.com precise-security/multiverse amd64 Packages [2451 B]
Get:65 http://archive.ubuntu.com precise-security/main i386 Packages [444 kB]
Get:66 http://archive.ubuntu.com precise-security/restricted i386 Packages [4620 B]
Get:67 http://archive.ubuntu.com precise-security/universe i386 Packages [102 kB]
Get:68 http://archive.ubuntu.com precise-security/multiverse i386 Packages [2644 B]
Get:69 http://archive.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:70 http://archive.ubuntu.com precise-security/multiverse TranslationIndex [72 B]
Get:71 http://archive.ubuntu.com precise-security/restricted TranslationIndex [72 B]
Get:72 http://archive.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:73 http://archive.ubuntu.com precise/main Translation-en [726 kB]
Get:74 http://archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
Get:75 http://archive.ubuntu.com precise/restricted Translation-en [2395 B]
Get:76 http://archive.ubuntu.com precise/universe Translation-en [3341 kB]
Get:77 http://archive.ubuntu.com precise-updates/main Translation-en [362 kB]
Get:78 http://archive.ubuntu.com precise-updates/multiverse Translation-en [9010 B]
Get:79 http://archive.ubuntu.com precise-updates/restricted Translation-en [3027 B]
Get:80 http://archive.ubuntu.com precise-updates/universe Translation-en [144 kB]
Get:81 http://archive.ubuntu.com precise-backports/main Translation-en [5882 B]
Get:82 http://archive.ubuntu.com precise-backports/multiverse Translation-en [4610 B]
Get:83 http://archive.ubuntu.com precise-backports/restricted Translation-en [14 B]
Get:84 http://archive.ubuntu.com precise-backports/universe Translation-en [33.8 kB]
Get:85 http://archive.ubuntu.com precise-security/main Translation-en [190 kB]
Get:86 http://archive.ubuntu.com precise-security/multiverse Translation-en [1299 B]
Get:87 http://archive.ubuntu.com precise-security/restricted Translation-en [1253 B]
Get:88 http://archive.ubuntu.com precise-security/universe Translation-en [59.8 kB]
Err http://archive.ubuntu.com precise/main armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise/restricted armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise/universe armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise/multiverse armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-updates/main armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-updates/restricted armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-updates/universe armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-updates/multiverse armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-backports/main armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-backports/universe armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-backports/multiverse armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-backports/restricted armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-security/main armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-security/restricted armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-security/universe armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Err http://archive.ubuntu.com precise-security/multiverse armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::18 80]
Fetched 28.0 MB in 21s (1276 kB/s)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/universe/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/main/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/restricted/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/universe/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::18 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo dpkg --configure -a
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ sudo dpkg --clear-avail
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://archive.ubuntu.com precise-backports Release.gpg
Hit http://archive.ubuntu.com precise-security Release.gpg
Hit http://archive.ubuntu.com precise Release
Hit http://archive.ubuntu.com precise-updates Release
Hit http://archive.ubuntu.com precise-backports Release
Hit http://archive.ubuntu.com precise-security Release
Hit http://archive.ubuntu.com precise/main Sources
Hit http://archive.ubuntu.com precise/restricted Sources
Hit http://archive.ubuntu.com precise/universe Sources
Hit http://archive.ubuntu.com precise/multiverse Sources
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/restricted amd64 Packages
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Hit http://archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Hit http://archive.ubuntu.com precise-updates/main Sources
Hit http://archive.ubuntu.com precise-updates/restricted Sources
Hit http://archive.ubuntu.com precise-updates/universe Sources
Hit http://archive.ubuntu.com precise-updates/multiverse Sources
Hit http://archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise-backports/main Sources
Hit http://archive.ubuntu.com precise-backports/universe Sources
Hit http://archive.ubuntu.com precise-backports/multiverse Sources
Hit http://archive.ubuntu.com precise-backports/restricted Sources
Hit http://archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-backports/main i386 Packages
Hit http://archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://archive.ubuntu.com precise-security/main Sources
Hit http://archive.ubuntu.com precise-security/restricted Sources
Hit http://archive.ubuntu.com precise-security/universe Sources
Hit http://archive.ubuntu.com precise-security/multiverse Sources
Hit http://archive.ubuntu.com precise-security/main amd64 Packages
Hit http://archive.ubuntu.com precise-security/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-security/universe amd64 Packages
Hit http://archive.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-security/main i386 Packages
Hit http://archive.ubuntu.com precise-security/restricted i386 Packages
Hit http://archive.ubuntu.com precise-security/universe i386 Packages
Hit http://archive.ubuntu.com precise-security/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-security/main TranslationIndex
Hit http://archive.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-security/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-security/universe TranslationIndex
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Hit http://archive.ubuntu.com precise-backports/main Translation-en
Hit http://archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://archive.ubuntu.com precise-backports/universe Translation-en
Hit http://archive.ubuntu.com precise-security/main Translation-en
Hit http://archive.ubuntu.com precise-security/multiverse Translation-en
Hit http://archive.ubuntu.com precise-security/restricted Translation-en
Hit http://archive.ubuntu.com precise-security/universe Translation-en
Err http://archive.ubuntu.com precise/main armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise/restricted armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise/universe armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise/multiverse armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-updates/main armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-updates/restricted armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-updates/universe armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-updates/multiverse armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-backports/main armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-backports/universe armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-backports/multiverse armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-backports/restricted armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-security/main armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-security/restricted armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-security/universe armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
Err http://archive.ubuntu.com precise-security/multiverse armhf Packages
  404 Not Found [IP: 2001:67c:1360:8c01::19 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/universe/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/main/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/restricted/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/universe/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise-security/multiverse/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
erman@erman-XPS-8300:~$
erman@erman-XPS-8300:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # deb cdrom:[Ubuntu 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140807.1)]/ dists/precise/main/binary-i386/
     2
     3 # deb cdrom:[Ubuntu 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140807.1)]/ dists/precise/restricted/binary-i386/
     4 # deb cdrom:[Ubuntu 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140807.1)]/ precise main restricted
     5
     6 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     7 # newer versions of the distribution.
     8 deb http://archive.ubuntu.com/ubuntu precise main restricted
     9 deb-src http://archive.ubuntu.com/ubuntu precise main restricted
    10
    11 ## Major bug fix updates produced after the final release of the
    12 ## distribution.
    13 deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
    14 deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted
    15
    16 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    17 ## team. Also, please note that software in universe WILL NOT receive any
    18 ## review or updates from the Ubuntu security team.
    19 deb http://archive.ubuntu.com/ubuntu precise universe
    20 deb-src http://archive.ubuntu.com/ubuntu precise universe
    21 deb http://archive.ubuntu.com/ubuntu precise-updates universe
    22 deb-src http://archive.ubuntu.com/ubuntu precise-updates universe
    23
    24 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    25 ## team, and may not be under a free licence. Please satisfy yourself as to
    26 ## your rights to use the software. Also, please note that software in
    27 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    28 ## security team.
    29 deb http://archive.ubuntu.com/ubuntu precise multiverse
    30 deb-src http://archive.ubuntu.com/ubuntu precise multiverse
    31 deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
    32 deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse
    33
    34 ## N.B. software from this repository may not have been tested as
    35 ## extensively as that contained in the main release, although it includes
    36 ## newer versions of some applications which may provide useful features.
    37 ## Also, please note that software in backports WILL NOT receive any review
    38 ## or updates from the Ubuntu security team.
    39 deb http://archive.ubuntu.com/ubuntu precise-backports main universe multiverse restricted
    40 deb-src http://archive.ubuntu.com/ubuntu precise-backports main universe multiverse restricted
    41
    42 deb http://archive.ubuntu.com/ubuntu precise-security main restricted
    43 deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
    44 deb http://archive.ubuntu.com/ubuntu precise-security universe
    45 deb-src http://archive.ubuntu.com/ubuntu precise-security universe
    46 deb http://archive.ubuntu.com/ubuntu precise-security multiverse
    47 deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse
    48
    49 ## Uncomment the following two lines to add software from Canonical's
    50 ## 'partner' repository.
    51 ## This software is not part of Ubuntu, but is offered by Canonical and the
    52 ## respective vendors as a service to Ubuntu users.
    53 # deb http://archive.canonical.com/ubuntu precise partner
    54 # deb-src http://archive.canonical.com/ubuntu precise partner
    55
    56 ## This software is not part of Ubuntu, but is offered by third-party
    57 ## developers who want to ship their latest software.
    58 # deb http://extras.ubuntu.com/ubuntu precise main
    59 # deb-src http://extras.ubuntu.com/ubuntu precise main

/etc/apt/sources.list.d/google-chrome.list

     1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
     2 # You may comment out this entry, but any other modifications may be lost.
     3 # deb http://dl.google.com/linux/chrome/deb/ stable main

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Erman Gurses
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does your home network use IPv6?

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

The armhf packages are available on special servers. you have to adapt your sources.list to look something like this:

deb [arch=amd64,i386] http://uk.archive.ubuntu.com/ubuntu/ quantal main universe
deb [arch=armel,armhf] http://ports.ubuntu.com/ubuntu-ports quantal main universe

see https://wiki.debian.org/Multiarch/HOWTO

Revision history for this message
Erman Gurses (ermangurses) said :
#3

@ actionparsnip (andrew-woodhead666) No I have IPv4.

@ Manfred Hampl (m-hampl) Thank you for your answer. What I learned is the error is harmless.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Why do you need armhf as foreign architecture at all?
If you do not have the http://ports.ubuntu.com/ repository server listed in your sources.list configuration file, the package management system will not find the packages for armhf. So the setting that you currently have is nonsense.

You have either to remove armhf from the dpkg multiarch configuration, or you have to enable the ports.ubuntu.com