cant sudo apt-get update on Ubuntu 16.04 LTS

sudo apt-get update

Get:1 http://mirrors.ocf.berkeley.edu/ubuntu xenial InRelease [247 kB]

Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease

Get:3 http://download.virtualbox.org/virtualbox/debian xenial InRelease [7,877 B]

Get:4 http://dl.google.com/linux/chrome/deb stable Release [1,189 B]

Get:5 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates InRelease [102 kB]

Get:6 http://dl.google.com/linux/chrome/deb stable Release.gpg [916 B]

Get:7 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports InRelease [102 kB]

Get:8 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security InRelease [102 kB]

Get:9 http://archive.canonical.com/ubuntu xenial InRelease [11.5 kB]

Get:10 http://archive.ubuntu.com/ubuntu wily InRelease [218 kB]

Get:11 http://download.virtualbox.org/virtualbox/debian xenial/contrib amd64 Packages [1,488 B]

Get:12 http://download.virtualbox.org/virtualbox/debian xenial/contrib i386 Packages [1,481 B]

Ign:13 http://archive.canonical.com/ubuntu trusty InRelease

Get:14 http://mirrors.ocf.berkeley.edu/ubuntu xenial/main Sources [868 kB]

Get:15 http://archive.canonical.com/ubuntu trusty Release [9,359 B]

Get:16 http://mirrors.ocf.berkeley.edu/ubuntu xenial/restricted Sources [4,808 B]

Get:17 http://mirrors.ocf.berkeley.edu/ubuntu xenial/universe Sources [7,728 kB]

Get:18 http://archive.canonical.com/ubuntu trusty Release.gpg [933 B]

Get:19 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,418 B]

Get:20 http://archive.canonical.com/ubuntu xenial/partner amd64 Packages [3,344 B]

Get:21 http://mirrors.ocf.berkeley.edu/ubuntu xenial/multiverse Sources [179 kB]

Get:22 http://mirrors.ocf.berkeley.edu/ubuntu xenial/main amd64 Packages [1,201 kB]

Get:23 http://archive.canonical.com/ubuntu xenial/partner i386 Packages [3,624 B]

Get:24 http://archive.canonical.com/ubuntu xenial/partner armhf Packages [544 B]

Get:25 http://archive.canonical.com/ubuntu xenial/partner Translation-en [1,964 B]

Get:26 http://archive.canonical.com/ubuntu trusty/partner Sources [10.1 kB]

Get:27 http://archive.ubuntu.com/ubuntu wily/main Sources [1,118 kB]

Get:28 http://mirrors.ocf.berkeley.edu/ubuntu xenial/main i386 Packages [1,196 kB]

Ign:29 http://mirrors.ocf.berkeley.edu/ubuntu xenial/main armhf Packages

Get:30 http://mirrors.ocf.berkeley.edu/ubuntu xenial/main Translation-en [568 kB]

Get:31 http://mirrors.ocf.berkeley.edu/ubuntu xenial/main amd64 DEP-11 Metadata [733 kB]

Get:32 http://mirrors.ocf.berkeley.edu/ubuntu xenial/main DEP-11 64x64 Icons [409 kB]

Get:33 http://mirrors.ocf.berkeley.edu/ubuntu xenial/restricted amd64 Packages [8,344 B]

Get:34 http://mirrors.ocf.berkeley.edu/ubuntu xenial/restricted i386 Packages [8,684 B]

Ign:35 http://mirrors.ocf.berkeley.edu/ubuntu xenial/restricted armhf Packages

Get:36 http://mirrors.ocf.berkeley.edu/ubuntu xenial/restricted Translation-en [2,908 B]

Get:37 http://mirrors.ocf.berkeley.edu/ubuntu xenial/restricted amd64 DEP-11 Metadata [186 B]

Get:38 http://mirrors.ocf.berkeley.edu/ubuntu xenial/universe amd64 Packages [7,532 kB]

Get:39 http://mirrors.ocf.berkeley.edu/ubuntu xenial/universe i386 Packages [7,512 kB]

Ign:40 http://mirrors.ocf.berkeley.edu/ubuntu xenial/universe armhf Packages

Get:41 http://mirrors.ocf.berkeley.edu/ubuntu xenial/universe Translation-en [4,354 kB]

Get:42 http://mirrors.ocf.berkeley.edu/ubuntu xenial/universe amd64 DEP-11 Metadata [3,410 kB]

Get:43 http://mirrors.ocf.berkeley.edu/ubuntu xenial/universe DEP-11 64x64 Icons [7,448 kB]

Get:44 http://mirrors.ocf.berkeley.edu/ubuntu xenial/multiverse amd64 Packages [144 kB]

Get:45 http://mirrors.ocf.berkeley.edu/ubuntu xenial/multiverse i386 Packages [140 kB]

Ign:46 http://mirrors.ocf.berkeley.edu/ubuntu xenial/multiverse armhf Packages

Get:47 http://mirrors.ocf.berkeley.edu/ubuntu xenial/multiverse Translation-en [106 kB]

Get:48 http://mirrors.ocf.berkeley.edu/ubuntu xenial/multiverse amd64 DEP-11 Metadata [63.8 kB]

Get:49 http://mirrors.ocf.berkeley.edu/ubuntu xenial/multiverse DEP-11 64x64 Icons [230 kB]

Get:50 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/main Sources [256 kB]

Get:51 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/restricted Sources [3,000 B]

Get:52 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/universe Sources [161 kB]

Get:53 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/multiverse Sources [5,668 B]

Get:54 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/main amd64 Packages [565 kB]

Get:55 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/main i386 Packages [547 kB]

Ign:56 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/main armhf Packages

Get:57 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/main Translation-en [228 kB]

Get:58 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/main amd64 DEP-11 Metadata [299 kB]

Get:59 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/main DEP-11 64x64 Icons [195 kB]

Get:60 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/restricted amd64 Packages [7,772 B]

Get:61 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/restricted i386 Packages [7,772 B]

Ign:62 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/restricted armhf Packages

Get:63 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/restricted Translation-en [2,548 B]

Get:64 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata [157 B]

Get:65 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/universe amd64 Packages [488 kB]

Get:66 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/universe i386 Packages [470 kB]

Ign:67 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/universe armhf Packages

Get:68 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/universe Translation-en [193 kB]

Get:69 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [163 kB]

Get:70 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/universe DEP-11 64x64 Icons [205 kB]

Get:71 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/multiverse amd64 Packages [8,932 B]

Get:72 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/multiverse i386 Packages [7,992 B]

Ign:73 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/multiverse armhf Packages

Get:74 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/multiverse Translation-en [4,460 B]

Get:75 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2,516 B]

Get:76 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [7,765 B]

Get:77 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/main Sources [3,308 B]

Get:78 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/universe Sources [4,048 B]

Get:79 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/main amd64 Packages [4,688 B]

Get:80 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/main i386 Packages [4,692 B]

Ign:81 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/main armhf Packages

Get:82 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/main Translation-en [3,216 B]

Get:83 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]

Get:84 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/main DEP-11 64x64 Icons [29 B]

Get:85 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata [194 B]

Get:86 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/universe amd64 Packages [5,624 B]

Get:87 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/universe i386 Packages [5,628 B]

Ign:88 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/universe armhf Packages

Get:89 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/universe Translation-en [2,872 B]

Get:90 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4,672 B]

Get:91 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/universe DEP-11 64x64 Icons [2,716 B]

Get:92 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata [216 B]

Get:93 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons [29 B]

Get:94 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/main Sources [77.0 kB]

Get:95 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/restricted Sources [2,604 B]

Get:96 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/universe Sources [34.6 kB]

Get:97 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/multiverse Sources [1,144 B]

Get:98 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/main amd64 Packages [291 kB]

Get:99 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/main i386 Packages [275 kB]

Ign:100 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/main armhf Packages

Get:101 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/main Translation-en [124 kB]

Get:102 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/main amd64 DEP-11 Metadata [54.6 kB]

Get:103 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/main DEP-11 64x64 Icons [50.7 kB]

Get:104 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/restricted amd64 Packages [7,420 B]

Get:105 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/restricted i386 Packages [7,420 B]

Ign:106 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/restricted armhf Packages

Get:107 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/restricted Translation-en [2,428 B]

Get:108 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/restricted amd64 DEP-11 Metadata [200 B]

Get:109 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/universe amd64 Packages [139 kB]

Get:110 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/universe i386 Packages [125 kB]

Ign:111 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/universe armhf Packages

Get:112 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/universe Translation-en [72.2 kB]

Get:113 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/universe amd64 DEP-11 Metadata [35.7 kB]

Get:114 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/universe DEP-11 64x64 Icons [52.2 kB]

Get:115 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/multiverse amd64 Packages [2,748 B]

Get:116 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/multiverse i386 Packages [2,908 B]

Ign:117 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/multiverse armhf Packages

Get:118 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/multiverse Translation-en [1,232 B]

Get:119 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [212 B]

Get:120 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/multiverse DEP-11 64x64 Icons [29 B]

Ign:29 http://mirrors.ocf.berkeley.edu/ubuntu xenial/main armhf Packages

Ign:35 http://mirrors.ocf.berkeley.edu/ubuntu xenial/restricted armhf Packages

Ign:40 http://mirrors.ocf.berkeley.edu/ubuntu xenial/universe armhf Packages

Ign:46 http://mirrors.ocf.berkeley.edu/ubuntu xenial/multiverse armhf Packages

Ign:56 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/main armhf Packages

Ign:62 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/restricted armhf Packages

Ign:67 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/universe armhf Packages

Ign:73 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/multiverse armhf Packages

Ign:81 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/main armhf Packages

Ign:88 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/universe armhf Packages

Ign:100 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/main armhf Packages

Ign:106 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/restricted armhf Packages

Ign:111 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/universe armhf Packages

Ign:117 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/multiverse armhf Packages

Ign:29 http://mirrors.ocf.berkeley.edu/ubuntu xenial/main armhf Packages

Ign:35 http://mirrors.ocf.berkeley.edu/ubuntu xenial/restricted armhf Packages

Ign:40 http://mirrors.ocf.berkeley.edu/ubuntu xenial/universe armhf Packages

Ign:46 http://mirrors.ocf.berkeley.edu/ubuntu xenial/multiverse armhf Packages

Ign:56 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/main armhf Packages

Ign:62 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/restricted armhf Packages

Ign:67 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/universe armhf Packages

Ign:73 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/multiverse armhf Packages

Ign:81 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/main armhf Packages

Ign:88 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/universe armhf Packages

Ign:100 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/main armhf Packages

Ign:106 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/restricted armhf Packages

Ign:111 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/universe armhf Packages

Ign:117 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/multiverse armhf Packages

Err:29 http://mirrors.ocf.berkeley.edu/ubuntu xenial/main armhf Packages

404 Not Found [IP: 2607:f140:8801::1:30 80]

Ign:35 http://mirrors.ocf.berkeley.edu/ubuntu xenial/restricted armhf Packages

Ign:40 http://mirrors.ocf.berkeley.edu/ubuntu xenial/universe armhf Packages

Ign:46 http://mirrors.ocf.berkeley.edu/ubuntu xenial/multiverse armhf Packages

Err:56 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/main armhf Packages

404 Not Found [IP: 2607:f140:8801::1:30 80]

Ign:62 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/restricted armhf Packages

Ign:67 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/universe armhf Packages

Ign:73 http://mirrors.ocf.berkeley.edu/ubuntu xenial-updates/multiverse armhf Packages

Err:81 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/main armhf Packages

404 Not Found [IP: 2607:f140:8801::1:30 80]

Ign:88 http://mirrors.ocf.berkeley.edu/ubuntu xenial-backports/universe armhf Packages

Err:100 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/main armhf Packages

404 Not Found [IP: 2607:f140:8801::1:30 80]

Ign:106 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/restricted armhf Packages

Ign:111 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/universe armhf Packages

Ign:117 http://mirrors.ocf.berkeley.edu/ubuntu xenial-security/multiverse armhf Packages

Fetched 51.0 MB in 8s (6,279 kB/s)

Reading package lists… Done

N: Skipping acquire of configured file 'contrib/binary-armhf/Packages' as repository 'http://download.virtualbox.org/virtualbox/debian xenial InRelease' doesn't support architecture 'armhf'

E: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/ … f/Packages">http://mirrors.ocf.berkeley.edu/ubuntu/dists/xenial/main/binary-armhf/Packages 404 Not Found [IP: 2607:f140:8801::1:30 80]

E: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/ … f/Packages">http://mirrors.ocf.berkeley.edu/ubuntu/dists/xenial-updates/main/binary-armhf/Packages 404 Not Found [IP: 2607:f140:8801::1:30 80]

E: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/ … f/Packages">http://mirrors.ocf.berkeley.edu/ubuntu/dists/xenial-backports/main/binary-armhf/Packages 404 Not Found [IP: 2607:f140:8801::1:30 80]

E: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/ … f/Packages">http://mirrors.ocf.berkeley.edu/ubuntu/dists/xenial-security/main/binary-armhf/Packages 404 Not Found [IP: 2607:f140:8801::1:30 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

3 Replies

Your apt-get is working fine. It fetched all the repos that matter.

Regarding your last 4 errors, these are unneeded lines in your sources.list file. You're trying to fetch "armhf" packages, not sure why, when Linode are regular i386 and amd64 machines.

Double check your repositories, and remove unneeded ones. Better yet, reset it to the standard repos, or the Linode provided ones for best results.

You can use the command :
add-apt-repository
To remove unnecessary repos as shown in this article.

You need to use Ubuntu 18.04.6 LTS (Bionic Beaver) source.list

Explained well in Article

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct