Apt update failed when I using local repository - linux

I deployed a local apt repository in LAN, the server IP is 192.168.88.96, by apt-mirror.
Below is the config of /etc/apt/mirror.list.
############# config ##################
#
# set base_path /var/spool/apt-mirror
#
# set mirror_path $base_path/mirror
# set skel_path $base_path/skel
# set var_path $base_path/var
# set cleanscript $var_path/clean.sh
# set defaultarch amd64
# set postmirror_script $var_path/postmirror.sh
# set run_postmirror 0
set nthreads 20
set _tilde 0
#
############# end config ##############
deb-amd64 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb-i386 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb-amd64 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb-i386 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb-amd64 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb-i386 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb-amd64 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
deb-i386 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
deb-amd64 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb-i386 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
clean https://mirrors.tuna.tsinghua.edu.cn/ubuntu/
And this is the result after executed command "sudo apt-mirror" on 192.168.88.96, and looks ok.
*****#source96:~$ sudo apt-mirror
Downloading 345 index files using 20 threads...
Begin time: Wed Feb 27 09:13:01 2019
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]
.. [4]... [3]... [2]... [1]... [0]...
End time: Wed Feb 27 09:47:38 2019
Processing tranlation indexes: [TTTTTTTTTT]
Downloading 1116 translation files using 20 threads...
Begin time: Wed Feb 27 09:47:38 2019
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]
.. [4]... [3]... [2]... [1]...
[0]...
End time: Wed Feb 27 10:12:22 2019
Processing indexes: [PPPPPPPPPP]
1.6 GiB will be downloaded into archive.
Downloading 394 archive files using 20 threads...
Begin time: Wed Feb 27 10:12:41 2019
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]
.. [4]... [3]... [2]... [1]... [0]...
End time: Wed Feb 27 10:53:29 2019
0 bytes in 0 files and 0 directories can be freed.
Run /var/spool/apt-mirror/var/clean.sh for this purpose.
Running the Post Mirror script ...
(/var/spool/apt-mirror/var/postmirror.sh)
Post Mirror script has completed. See above output for any possible errors.
And this is the the setting of client computer:
deb http://192.168.88.96/ubuntu/ xenial main restricted universe multiverse
deb http://192.168.88.96/ubuntu/ xenial-updates main restricted universe multiverse
deb http://192.168.88.96/ubuntu/ xenial-backports main restricted universe multiverse
deb http://192.168.88.96/ubuntu/ xenial-siecurity main restricted universe multiverse
deb http://192.168.88.96/ubuntu/ xenial-proposed main restricted universe multiverse
And once I execute "sudo apt update", it shows tones of problem:
Ign:8 http://192.168.88.96/ubuntu xenial/main amd64 Packages
Ign:9 http://192.168.88.96/ubuntu xenial/main i386 Packages
Ign:10 http://192.168.88.96/ubuntu xenial/main Translation-en
Ign:11 http://192.168.88.96/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:12 http://192.168.88.96/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://192.168.88.96/ubuntu xenial/restricted amd64 Packages
Ign:14 http://192.168.88.96/ubuntu xenial/restricted i386 Packages
Ign:15 http://192.168.88.96/ubuntu xenial/restricted Translation-en
Ign:16 http://192.168.88.96/ubuntu xenial/restricted amd64 DEP-11 Metadata
Ign:17 http://192.168.88.96/ubuntu xenial/universe amd64 Packages
Ign:18 http://192.168.88.96/ubuntu xenial/universe i386 Packages
Ign:19 http://192.168.88.96/ubuntu xenial/universe Translation-en
Ign:20 http://192.168.88.96/ubuntu xenial/universe amd64 DEP-11 Metadata
Ign:21 http://192.168.88.96/ubuntu xenial/universe DEP-11 64x64 Icons
Ign:22 http://192.168.88.96/ubuntu xenial/multiverse amd64 Packages
Ign:23 http://192.168.88.96/ubuntu xenial/multiverse i386 Packages
Ign:24 http://192.168.88.96/ubuntu xenial/multiverse Translation-en
Ign:25 http://192.168.88.96/ubuntu xenial/multiverse amd64 DEP-11 Metadata
Ign:26 http://192.168.88.96/ubuntu xenial/multiverse DEP-11 64x64 Icons
Ign:11 http://192.168.88.96/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:12 http://192.168.88.96/ubuntu xenial/main DEP-11 64x64 Icons
Ign:16 http://192.168.88.96/ubuntu xenial/restricted amd64 DEP-11 Metadata
Ign:27 http://ppa.launchpad.net/fcitx-team/nightly/ubuntu xenial InRelease
Ign:20 http://192.168.88.96/ubuntu xenial/universe amd64 DEP-11 Metadata
Ign:21 http://192.168.88.96/ubuntu xenial/universe DEP-11 64x64 Icons
Ign:25 http://192.168.88.96/ubuntu xenial/multiverse amd64 DEP-11 Metadata
Ign:26 http://192.168.88.96/ubuntu xenial/multiverse DEP-11 64x64 Icons
Err:11 http://192.168.88.96/ubuntu xenial/main amd64 DEP-11 Metadata
404 Not Found
Ign:12 http://192.168.88.96/ubuntu xenial/main DEP-11 64x64 Icons
Ign:16 http://192.168.88.96/ubuntu xenial/restricted amd64 DEP-11 Metadata
Ign:28 http://192.168.88.96/ubuntu xenial-updates/main amd64 Packages
Ign:29 http://192.168.88.96/ubuntu xenial-updates/main i386 Packages
Ign:30 http://192.168.88.96/ubuntu xenial-updates/main Translation-en
Ign:31 http://192.168.88.96/ubuntu xenial-updates/main amd64 DEP-11 Metadata
Ign:32 http://192.168.88.96/ubuntu xenial-updates/main DEP-11 64x64 Icons
Ign:33 http://192.168.88.96/ubuntu xenial-updates/restricted amd64 Packages
Ign:34 http://192.168.88.96/ubuntu xenial-updates/restricted i386 Packages
Ign:35 http://192.168.88.96/ubuntu xenial-updates/restricted Translation-en
Ign:36 http://192.168.88.96/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata
Ign:37 http://192.168.88.96/ubuntu xenial-updates/universe amd64 Packages
Ign:38 http://192.168.88.96/ubuntu xenial-updates/universe i386 Packages
Ign:39 http://192.168.88.96/ubuntu xenial-updates/universe Translation-en
Ign:40 http://192.168.88.96/ubuntu xenial-updates/universe amd64 DEP-11 Metadata
Ign:41 http://192.168.88.96/ubuntu xenial-updates/universe DEP-11 64x64 Icons
Ign:42 http://192.168.88.96/ubuntu xenial-updates/multiverse amd64 Packages
Ign:43 http://192.168.88.96/ubuntu xenial-updates/multiverse i386 Packages
Ign:44 http://192.168.88.96/ubuntu xenial-updates/multiverse Translation-en
Ign:45 http://192.168.88.96/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata
Ign:46 http://192.168.88.96/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons
Ign:47 http://192.168.88.96/ubuntu xenial-backports/main amd64 Packages
Ign:48 http://192.168.88.96/ubuntu xenial-backports/main i386 Packages
Ign:49 http://192.168.88.96/ubuntu xenial-backports/main Translation-en
Ign:50 http://192.168.88.96/ubuntu xenial-backports/main amd64 DEP-11 Metadata
Ign:51 http://192.168.88.96/ubuntu xenial-backports/main DEP-11 64x64 Icons
Ign:52 http://192.168.88.96/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata
Ign:53 http://192.168.88.96/ubuntu xenial-backports/universe amd64 Packages
Ign:54 http://192.168.88.96/ubuntu xenial-backports/universe i386 Packages
Ign:55 http://192.168.88.96/ubuntu xenial-backports/universe Translation-en
Ign:56 http://192.168.88.96/ubuntu xenial-backports/universe amd64 DEP-11 Metadata
Ign:57 http://192.168.88.96/ubuntu xenial-backports/universe DEP-11 64x64 Icons
Ign:58 http://192.168.88.96/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata
Ign:59 http://192.168.88.96/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons
Ign:60 http://192.168.88.96/ubuntu xenial-security/main amd64 Packages
Ign:61 http://192.168.88.96/ubuntu xenial-security/main i386 Packages
Ign:62 http://192.168.88.96/ubuntu xenial-security/main Translation-en
Ign:63 http://192.168.88.96/ubuntu xenial-security/main amd64 DEP-11 Metadata
Ign:64 http://192.168.88.96/ubuntu xenial-security/main DEP-11 64x64 Icons
Ign:65 http://192.168.88.96/ubuntu xenial-security/restricted amd64 Packages
Ign:66 http://192.168.88.96/ubuntu xenial-security/restricted i386 Packages
Ign:67 http://192.168.88.96/ubuntu xenial-security/restricted Translation-en
Ign:68 http://192.168.88.96/ubuntu xenial-security/restricted amd64 DEP-11 Metadata
Ign:69 http://192.168.88.96/ubuntu xenial-security/universe amd64 Packages
Ign:70 http://192.168.88.96/ubuntu xenial-security/universe i386 Packages
Ign:71 http://192.168.88.96/ubuntu xenial-security/universe Translation-en
Ign:72 http://192.168.88.96/ubuntu xenial-security/universe amd64 DEP-11 Metadata
Ign:73 http://192.168.88.96/ubuntu xenial-security/universe DEP-11 64x64 Icons
Ign:74 http://192.168.88.96/ubuntu xenial-security/multiverse amd64 Packages
Ign:75 http://192.168.88.96/ubuntu xenial-security/multiverse i386 Packages
Ign:76 http://192.168.88.96/ubuntu xenial-security/multiverse Translation-en
Ign:77 http://192.168.88.96/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata
Ign:78 http://192.168.88.96/ubuntu xenial-security/multiverse DEP-11 64x64 Icons
Ign:79 http://192.168.88.96/ubuntu xenial-proposed/main amd64 Packages
Ign:80 http://192.168.88.96/ubuntu xenial-proposed/main i386 Packages
Ign:81 http://192.168.88.96/ubuntu xenial-proposed/main Translation-en
Ign:82 http://192.168.88.96/ubuntu xenial-proposed/main amd64 DEP-11 Metadata
Ign:83 http://192.168.88.96/ubuntu xenial-proposed/main DEP-11 64x64 Icons
Ign:84 http://192.168.88.96/ubuntu xenial-proposed/restricted amd64 DEP-11 Metadata
Ign:85 http://192.168.88.96/ubuntu xenial-proposed/universe amd64 Packages
Ign:86 http://192.168.88.96/ubuntu xenial-proposed/universe i386 Packages
Ign:87 http://192.168.88.96/ubuntu xenial-proposed/universe Translation-en
Ign:88 http://192.168.88.96/ubuntu xenial-proposed/universe amd64 DEP-11 Metadata
Ign:89 http://192.168.88.96/ubuntu xenial-proposed/universe DEP-11 64x64 Icons
Ign:90 http://192.168.88.96/ubuntu xenial-proposed/multiverse amd64 DEP-11 Metadata
Ign:91 http://192.168.88.96/ubuntu xenial-proposed/multiverse DEP-11 64x64 Icons
Ign:31 http://192.168.88.96/ubuntu xenial-updates/main amd64 DEP-11 Metadata
Ign:32 http://192.168.88.96/ubuntu xenial-updates/main DEP-11 64x64 Icons
Ign:36 http://192.168.88.96/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata
Ign:40 http://192.168.88.96/ubuntu xenial-updates/universe amd64 DEP-11 Metadata
Ign:41 http://192.168.88.96/ubuntu xenial-updates/universe DEP-11 64x64 Icons
Ign:45 http://192.168.88.96/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata
Ign:46 http://192.168.88.96/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons
Ign:50 http://192.168.88.96/ubuntu xenial-backports/main amd64 DEP-11 Metadata
Ign:51 http://192.168.88.96/ubuntu xenial-backports/main DEP-11 64x64 Icons
Ign:52 http://192.168.88.96/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata
Ign:56 http://192.168.88.96/ubuntu xenial-backports/universe amd64 DEP-11 Metadata
Ign:57 http://192.168.88.96/ubuntu xenial-backports/universe DEP-11 64x64 Icons
Ign:58 http://192.168.88.96/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata
Ign:59 http://192.168.88.96/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons
Ign:63 http://192.168.88.96/ubuntu xenial-security/main amd64 DEP-11 Metadata
Ign:64 http://192.168.88.96/ubuntu xenial-security/main DEP-11 64x64 Icons
Ign:68 http://192.168.88.96/ubuntu xenial-security/restricted amd64 DEP-11 Metadata
Ign:72 http://192.168.88.96/ubuntu xenial-security/universe amd64 DEP-11 Metadata
Ign:73 http://192.168.88.96/ubuntu xenial-security/universe DEP-11 64x64 Icons
Ign:77 http://192.168.88.96/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata
Ign:78 http://192.168.88.96/ubuntu xenial-security/multiverse DEP-11 64x64 Icons
Ign:82 http://192.168.88.96/ubuntu xenial-proposed/main amd64 DEP-11 Metadata
Ign:83 http://192.168.88.96/ubuntu xenial-proposed/main DEP-11 64x64 Icons
Ign:84 http://192.168.88.96/ubuntu xenial-proposed/restricted amd64 DEP-11 Metadata
Ign:88 http://192.168.88.96/ubuntu xenial-proposed/universe amd64 DEP-11 Metadata
Ign:89 http://192.168.88.96/ubuntu xenial-proposed/universe DEP-11 64x64 Icons
Ign:90 http://192.168.88.96/ubuntu xenial-proposed/multiverse amd64 DEP-11 Metadata
Ign:91 http://192.168.88.96/ubuntu xenial-proposed/multiverse DEP-11 64x64 Icons
Ign:31 http://192.168.88.96/ubuntu xenial-updates/main amd64 DEP-11 Metadata
Err:32 http://192.168.88.96/ubuntu xenial-updates/main DEP-11 64x64 Icons
404 Not Found
Ign:36 http://192.168.88.96/ubuntu xenial-updates/restricted amd64 DEP-11 Metadata
Ign:40 http://192.168.88.96/ubuntu xenial-updates/universe amd64 DEP-11 Metadata
Ign:41 http://192.168.88.96/ubuntu xenial-updates/universe DEP-11 64x64 Icons
Ign:45 http://192.168.88.96/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata
Ign:46 http://192.168.88.96/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons
Ign:50 http://192.168.88.96/ubuntu xenial-backports/main amd64 DEP-11 Metadata
Err:51 http://192.168.88.96/ubuntu xenial-backports/main DEP-11 64x64 Icons
404 Not Found
Ign:52 http://192.168.88.96/ubuntu xenial-backports/restricted amd64 DEP-11 Metadata
Ign:56 http://192.168.88.96/ubuntu xenial-backports/universe amd64 DEP-11 Metadata
Ign:57 http://192.168.88.96/ubuntu xenial-backports/universe DEP-11 64x64 Icons
Ign:58 http://192.168.88.96/ubuntu xenial-backports/multiverse amd64 DEP-11 Metadata
Ign:59 http://192.168.88.96/ubuntu xenial-backports/multiverse DEP-11 64x64 Icons
Ign:63 http://192.168.88.96/ubuntu xenial-security/main amd64 DEP-11 Metadata
Err:64 http://192.168.88.96/ubuntu xenial-security/main DEP-11 64x64 Icons
404 Not Found
Ign:68 http://192.168.88.96/ubuntu xenial-security/restricted amd64 DEP-11 Metadata
Ign:72 http://192.168.88.96/ubuntu xenial-security/universe amd64 DEP-11 Metadata
Ign:73 http://192.168.88.96/ubuntu xenial-security/universe DEP-11 64x64 Icons
Ign:77 http://192.168.88.96/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata
Ign:78 http://192.168.88.96/ubuntu xenial-security/multiverse DEP-11 64x64 Icons
Ign:82 http://192.168.88.96/ubuntu xenial-proposed/main amd64 DEP-11 Metadata
Err:83 http://192.168.88.96/ubuntu xenial-proposed/main DEP-11 64x64 Icons
404 Not Found
Ign:84 http://192.168.88.96/ubuntu xenial-proposed/restricted amd64 DEP-11 Metadata
Ign:88 http://192.168.88.96/ubuntu xenial-proposed/universe amd64 DEP-11 Metadata
Ign:89 http://192.168.88.96/ubuntu xenial-proposed/universe DEP-11 64x64 Icons
Ign:90 http://192.168.88.96/ubuntu xenial-proposed/multiverse amd64 DEP-11 Metadata
Ign:91 http://192.168.88.96/ubuntu xenial-proposed/multiverse DEP-11 64x64 Icons
Ign:82 http://192.168.88.96/ubuntu xenial-proposed/main amd64 DEP-11 Metadata
Ign:93 http://dl.google.com/linux/chrome/deb stable InRelease
Err:98 http://ppa.launchpad.net/fcitx-team/nightly/ubuntu xenial Release
404 Not Found
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/fcitx-team/nightly/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
First of all, I think it is the problem of the third part source(Download from official source is too slow in China), but I replaced the source.list file which in client computer with "tuna" source, to check out if the problem will appear again. But it didn't, every thing is fine, no Ign, no Err, just Hit and Get. So it should I made something wrong when deploy it.
I need some advice to solve this problem. Thank you all.

Replace xenial-siecurity to xenial-security will help to solve your problem.

Related

Debian - Nodejs is installed but npm isn't

I am following https://github.com/nodesource/distributions to install Nodejs v11.x on Debian. After following the two instructions, Nodejs seems to be installed fine and nodejs -v returns v4.8.2.
But npm doesn't seem to have been installed. whereis npm returns nothing and I am fairly certain there is no npm installed on my disk.
I have pasted the console log after the command curl -sL https://deb.nodesource.com/setup_11.x | bash - below:
+ apt-get update
Hit:1 http://download.virtualbox.org/virtualbox/debian stretch InRelease
Get:2 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease [15.4 kB]
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease
Hit:4 http://deb.debian.org/debian stretch-backports InRelease
Ign:5 http://deb.debian.org/debian stretch InRelease
Ign:6 http://ppa.launchpad.net/webupd8team/java/ubuntu disco InRelease
Hit:7 http://deb.debian.org/debian stretch Release
Ign:9 http://ppa.launchpad.net/webupd8team/java/ubuntu disco Release
Hit:10 https://download.sublimetext.com apt/stable/ InRelease
Ign:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Ign:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Ign:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Ign:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Ign:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Err:11 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main i386 Packages
404 Not Found
Ign:12 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 Packages
Ign:13 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all Packages
Ign:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en_US
Ign:15 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main Translation-en
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main amd64 DEP-11 Metadata
Ign:17 http://ppa.launchpad.net/webupd8team/java/ubuntu disco/main all DEP-11 Metadata
Fetched 15.4 kB in 16s (929 B/s)
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 005EAE8119BB5BCA
W: The repository 'http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu disco Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/disco/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
My guess is that the installer script stops midway during the process as apt-get is throwing an error. However even if that were the case, I have no idea how to tackle this problem. I don't want to remove the repositories for freecad and java to get apt to quit positively.
If the answer is related to apt-get and is off-topic on this forum, maybe it can be migrated to askubuntu?
well, first let's address the error you see regarding the repositories.
This line tells you the problem.
W: GPG error: http://ppa.launchpad.net/freecad-maintainers/freecad-stable/ubuntu cosmic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 005EAE8119BB5BCA
Did you follow the key installation instructions on the freecad page? See https://launchpad.net/~freecad-maintainers/+archive/ubuntu/freecad-stable
and click on Signing key - What's this?
As for the Node issue, try updating Node:
https://www.hostingadvice.com/how-to/update-node-js-latest-version/
Also, try sudo apt-get install npm
Trying to fix the repository issues gives weird python errors, it might have to do with me having both python 2.7 and 3 installed in my system but I don't know for sure.
What I ended up doing is just removing the problematic repositories from /etc/apt/sources.list.d temporarily and then running the curl script again. This makes the script run without any errors and afterwards, the command apt install -y nodejs installs the correct version along with npm.
The problem, it seems, was that debian's default repository also has a nodejs pacakge without npm. And due to the apt-get update error, the install script quit prematurely. Fixing that error did the job.

VOLTTRON : Mongodb installation- error in ppa chris-lea/zeromq/ubuntu xenial

My OS is: Ubuntu (16.04 LTS)
I want to install MongoDB historian instead of mysqlhistorian
(installed).
Following up the issue: Switching between or adding multiple VOLTTRON Historian Framework
and the documentation: http://volttron.readthedocs.io/en/4.1/core_services/historians/Mongo-Historian.html#prerequisites
it seems that there is another error occur when I run the script :
sudo scripts/historian-scripts/root_install_mongo_ubuntu.sh
This message shows up:
Enter 1 or 2 based on the version of Ubuntu you are running
1. Ubuntu 12.04 LTS(Precise Pangolin)
2. Ubuntu 14.04.4 LTS(Trusty Tahr)
I select "2", because it is the closest version to (16.04 LTS)
after selecting "2"
I get the error shown below:
Executing: /tmp/tmp.0w3KEgvSfT/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv
EA312927
gpg: requesting key EA312927 from hkp server keyserver.ubuntu.com
gpg: key EA312927: "MongoDB 3.2 Release Signing Key <packaging#mongodb.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse
Ign:1 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 InRelease
Hit:2 http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 Release
Ign:3 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial InRelease
Hit:4 http://ftp.osuosl.org/pub/mariadb/repo/10.2/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu xenial InRelease
Ign:7 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:8 http://dl.google.com/linux/chrome/deb stable Release
Ign:9 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial Release
Ign:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Ign:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Ign:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Ign:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Ign:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Err:10 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Sources
404 Not Found
Ign:12 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial/main DEP-11 64x64 Icons
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/chris-lea/zeromq/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/chris-lea/zeromq/ubuntu/dists/xenial/main/source/Sources 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Note
It is worth mentioning I have installed (pyzmq) using:
(Volttron)USER_NAME#USER_NAME-Laptop:~/volttron$ pip install pyzmq and the requirement for it is satisfied as shown below:
Requirement already satisfied: pyzmq in
./env/local/lib/python2.7/site-packages
and for (MongoDB connector) is also satisfied using :pip install pymongo
Requirement already satisfied: pymongo in ./env/lib/python2.7/site-packages
Question
If selecting "2" is not correct, what is the solution for higher Ubuntu version?
The script needs to be updated to support the latest version of ubuntu. I will update it and create a pull request.
As an alternative have you considered CrateHistorian? CrateHistorian also provides better performance for large production systems.

Unable to install NodeJS 9 on Ubuntu 16.04 LTS (64bit) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 5 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I have tried installing NodeJS by using the following command:
sudo apt-get install nodejs
The problem is, it installs an older version of NodeJS. So I found another way to install a newer version of NodeJS by the following command:
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
But it keeps throwing me the following error message:
adam#adam-pc:~$ curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
## Installing the NodeSource Node.js v9.x repo...
## Populating apt-get cache...
+ apt-get update
Get:1 http://hu.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Hit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease
Get:3 http://hu.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease
Get:5 http://hu.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Hit:6 http://ppa.launchpad.net/linrunner/tlp/ubuntu xenial InRelease
Hit:7 http://dl.google.com/linux/chrome/deb stable Release
Ign:8 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial InRelease
Hit:9 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:10 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Ign:11 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial Release
Ign:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Ign:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Err:12 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:13 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main i386 Packages
Ign:14 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main all Packages
Ign:15 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en_US
Ign:16 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main Translation-en
Ign:17 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:18 http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 451 kB in 6s (70,4 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/michael-gruz/canon-trunk/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
I keep looking for a solution for hours now, tried around 10 ideas from StackOverflow and from different forums that I found on Google, but still nothing.
EDIT:
Meanwhile I found the solution.
I opened Ubuntu Update manager by the following command:
update-manager
Then I clicked on Settings and Other software tab and unticked all the http://ppa.launchpad.net/ stuff I found ticked and strange (especially all the michael-gruz links).
Then used the commands above again:
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install nodejs
Now I got v9.5.0 installed.
There's nothing wrong with that install command itself. If you were to look why it errors out, you can see that a launchpad package has gone 404. If you remove this repository, it won't interrupt apt and allow installing the package. You should be able to remove this removed PPA like so:
sudo add-apt-repository --remove ppa:michael-gruz/ppa
I recommend to use a version manager for node. The most popular ones are nvm and n.
Now you can:
sudo apt-get install nodejs // install a really old node
npm install n -g // get n
n latest // get latest node, or a specific one with n v8.0.0

Error while trying to mount S3 bucket into Ubuntu 14.04 EC2 instance

I have tried the following link to mount S3 bucket into EC2 :
https://forums.aws.amazon.com/message.jspa?messageID=313009
I started typing the following commands :
wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/s3fs/s3fs-1.74.tar.gz
tar zxf s3fs-1.74.tar.gz
The next command to type is this :
apt-get install build-essential libxml2-dev libfuse-dev libcurl4-openssl-dev
But, when I type this, I get the following response :
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
binutils cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5 icu-devtools libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan2 libatomic1
libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcurl3 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-5-dev libgomp1 libicu-dev libisl15 libitm1 liblsan0
libmpc3 libmpx0 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libquadmath0 libselinux1-dev libsepol1-dev libstdc++-5-dev libtsan0 libubsan0 linux-libc-dev make
manpages-dev
Suggested packages:
binutils-doc cpp-doc gcc-5-locales debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg gcc-multilib autoconf automake libtool flex bison gdb
gcc-doc gcc-5-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx0-dbg
libquadmath0-dbg glibc-doc libcurl4-doc libcurl3-dbg libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssl-dev pkg-config zlib1g-dev icu-doc libstdc++-5-doc
make-doc
The following NEW packages will be installed:
binutils build-essential cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5 icu-devtools libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcurl3 libcurl4-openssl-dev libdpkg-perl libfakeroot libfile-fcntllock-perl libfuse-dev
libgcc-5-dev libgomp1 libicu-dev libisl15 libitm1 liblsan0 libmpc3 libmpx0 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libquadmath0 libselinux1-dev
libsepol1-dev libstdc++-5-dev libtsan0 libubsan0 libxml2-dev linux-libc-dev make manpages-dev
0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
Need to get 49.5 MB of archives.
After this operation, 196 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpcrecpp0v5 amd64 2:8.38-3.1 [15.2 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libmpc3 amd64 1.0.3-1 [39.7 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 binutils amd64 2.26.1-1ubuntu1~16.04.3 [2,310 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libc-dev-bin amd64 2.23-0ubuntu3 [68.7 kB]
Err:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-libc-dev amd64 4.4.0-45.66
404 Not Found [IP: 54.87.136.115 80]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libc6-dev amd64 2.23-0ubuntu3 [2,084 kB]
Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libisl15 amd64 0.16.1-1 [524 kB]
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 cpp-5 amd64 5.4.0-6ubuntu1~16.04.2
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 cpp amd64 4:5.3.1-1ubuntu1 [27.7 kB]
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcc1-0 amd64 5.4.0-6ubuntu1~16.04.2
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libgomp1 amd64 5.4.0-6ubuntu1~16.04.2
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libitm1 amd64 5.4.0-6ubuntu1~16.04.2
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libatomic1 amd64 5.4.0-6ubuntu1~16.04.2
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libasan2 amd64 5.4.0-6ubuntu1~16.04.2
Err:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-libc-dev amd64 4.4.0-45.66
404 Not Found [IP: 54.87.136.115 80]
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 liblsan0 amd64 5.4.0-6ubuntu1~16.04.2
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libtsan0 amd64 5.4.0-6ubuntu1~16.04.2
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libubsan0 amd64 5.4.0-6ubuntu1~16.04.2
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcilkrts5 amd64 5.4.0-6ubuntu1~16.04.2
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libmpx0 amd64 5.4.0-6ubuntu1~16.04.2
Err:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 cpp-5 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libquadmath0 amd64 5.4.0-6ubuntu1~16.04.2
Ign:21 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libgcc-5-dev amd64 5.4.0-6ubuntu1~16.04.2
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/main amd64 gcc-5 amd64 5.4.0-6ubuntu1~16.04.2
Get:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 gcc amd64 4:5.3.1-1ubuntu1 [5,244 B]
Ign:24 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.2
Err:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcc1-0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Ign:25 http://security.ubuntu.com/ubuntu xenial-security/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.2
Get:26 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1,504 B]
Get:27 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 make amd64 4.1-6 [151 kB]
Get:28 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdpkg-perl all 1.18.4ubuntu1.1 [195 kB]
Get:29 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.1 [584 kB]
Get:30 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4,758 B]
Get:31 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]
Get:32 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]
Err:11 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libgomp1 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Get:33 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 icu-devtools amd64 55.1-7 [165 kB]
Get:34 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:35 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
Get:36 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Ign:37 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcurl3 amd64 7.47.0-1ubuntu2.1
Ign:38 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcurl4-openssl-dev amd64 7.47.0-1ubuntu2.1
Get:39 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libfile-fcntllock-perl amd64 0.22-3 [32.0 kB]
Get:40 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libsepol1-dev amd64 2.4-2 [249 kB]
Get:41 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpcre16-3 amd64 2:8.38-3.1 [144 kB]
Get:42 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpcre32-3 amd64 2:8.38-3.1 [136 kB]
Get:43 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpcre3-dev amd64 2:8.38-3.1 [525 kB]
Err:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libitm1 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Get:44 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libselinux1-dev amd64 2.4-3build2 [122 kB]
Get:45 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfuse-dev amd64 2.9.4-1ubuntu3.1 [105 kB]
Get:46 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libicu-dev amd64 55.1-7 [8,546 kB]
Err:13 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libatomic1 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:14 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libasan2 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Get:47 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxml2-dev amd64 2.9.3+dfsg1-1ubuntu0.1 [743 kB]
Err:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 liblsan0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:16 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libtsan0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:17 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libubsan0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Get:48 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 manpages-dev all 4.04-2 [2,048 kB]
Err:18 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcilkrts5 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:19 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libmpx0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:20 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libquadmath0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:21 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libgcc-5-dev amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:22 http://security.ubuntu.com/ubuntu xenial-security/main amd64 gcc-5 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:24 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:25 http://security.ubuntu.com/ubuntu xenial-security/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:37 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcurl3 amd64 7.47.0-1ubuntu2.1
404 Not Found [IP: 54.87.136.115 80]
Err:38 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcurl4-openssl-dev amd64 7.47.0-1ubuntu2.1
404 Not Found [IP: 54.87.136.115 80]
Fetched 19.0 MB in 1s (11.5 MB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.4.0-45.66_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/cpp-5_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libcc1-0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libgomp1_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libitm1_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libatomic1_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libasan2_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/liblsan0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libtsan0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libubsan0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libcilkrts5_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libmpx0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libquadmath0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libgcc-5-dev_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/gcc-5_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++-5-dev_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/g++-5_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl3_7.47.0-1ubuntu2.1_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4-openssl-dev_7.47.0-1ubuntu2.1_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Is this an error? Why is it showing this?
make sure to update apt-get before installing any lib
$ apt-get update
$ apt-get install build-essential libxml2-dev libfuse-dev libcurl4-openssl-dev

Get dev library packages for arm on x64 Ubuntu host?

I am building a project that requires a number of libraries, for windows I got prebuilt libs from MSYS2, for linux from the ubuntu repos, and now I am porting to android, so I need the same libraries for armhf and arm64. The good news is the ubuntu repos have everything I need, the bad news - I can't figure out how to get them using apt, that is get the libs with the entire dependency trees. It is possible to download individual packages from the web, but it gets kind of arduous to get the entire dependency tree, building the libraries from source - tremendously more so.
I can do sudo apt-get install package:uarch for i386 even though I am on a 64bit host, however when I try arm I get a unable to locate package. So how do I get them?
Note 1: I only need the libraries, I don't need toolchains, the NDK already has those.
Note 2: I did try asking on the ubuntu site, but I didn't get any feedback in like a day, and since the question is strictly about development I decided to try here.
Note 3: The question is not about recommending libraries.
EDIT: After dpkg --add-architecture armhf for update I get:
Hit:1 http://bg.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://bg.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:2 http://bg.archive.ubuntu.com/ubuntu xenial-updates InRelease [95,7 kB]
Ign:4 http://bg.archive.ubuntu.com/ubuntu xenial/main armhf Packages
Ign:5 http://bg.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages
Ign:6 http://bg.archive.ubuntu.com/ubuntu xenial/universe armhf Packages
Ign:7 http://bg.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages
Ign:4 http://bg.archive.ubuntu.com/ubuntu xenial/main armhf Packages
Ign:5 http://bg.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages
Ign:6 http://bg.archive.ubuntu.com/ubuntu xenial/universe armhf Packages
Ign:7 http://bg.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages
Ign:4 http://bg.archive.ubuntu.com/ubuntu xenial/main armhf Packages
Ign:5 http://bg.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages
Ign:6 http://bg.archive.ubuntu.com/ubuntu xenial/universe armhf Packages
Hit:8 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:7 http://bg.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages
Ign:9 http://bg.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
Ign:10 http://bg.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Err:4 http://bg.archive.ubuntu.com/ubuntu xenial/main armhf Packages
404 Not Found [IP: 195.85.215.252 80]
Ign:5 http://bg.archive.ubuntu.com/ubuntu xenial/restricted armhf Packages
Ign:6 http://bg.archive.ubuntu.com/ubuntu xenial/universe armhf Packages
Ign:7 http://bg.archive.ubuntu.com/ubuntu xenial/multiverse armhf Packages
Ign:9 http://bg.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
Ign:10 http://bg.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Ign:9 http://bg.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
Ign:10 http://bg.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Get:11 http://bg.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [383 kB]
Get:12 http://bg.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [378 kB]
Ign:13 http://bg.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
Get:14 http://bg.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [323 kB]
Get:15 http://bg.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [320 kB]
Ign:16 http://bg.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:17 http://bg.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages
Err:9 http://bg.archive.ubuntu.com/ubuntu xenial-backports/main armhf Packages
404 Not Found [IP: 195.85.215.252 80]
Ign:10 http://bg.archive.ubuntu.com/ubuntu xenial-backports/universe armhf Packages
Ign:13 http://bg.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
Ign:16 http://bg.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:17 http://bg.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages
Ign:13 http://bg.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
Ign:16 http://bg.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:17 http://bg.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages
Err:13 http://bg.archive.ubuntu.com/ubuntu xenial-updates/main armhf Packages
404 Not Found [IP: 195.85.215.252 80]
Ign:16 http://bg.archive.ubuntu.com/ubuntu xenial-updates/universe armhf Packages
Ign:17 http://bg.archive.ubuntu.com/ubuntu xenial-updates/multiverse armhf Packages
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Err:18 http://security.ubuntu.com/ubuntu xenial-security/main armhf Packages
404 Not Found [IP: 91.189.91.26 80]
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe armhf Packages
Fetched 95,7 kB in 1s (59,8 kB/s)
Reading package lists... Done
E: Failed to fetch http://bg.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-armhf/Packages 404 Not Found [IP: 195.85.215.252 80]
E: Failed to fetch http://bg.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-armhf/Packages 404 Not Found [IP: 195.85.215.252 80]
E: Failed to fetch http://bg.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-armhf/Packages 404 Not Found [IP: 195.85.215.252 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-armhf/Packages 404 Not Found [IP: 91.189.91.26 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Unlike Debian, the Ubuntu archives don't have everything in the right place already, in fact non-x86 packages are kept somewhere else altogether. The first thing to do is edit /etc/apt/sources.lst to add ports.ubuntu.com alongside archive.ubuntu.com/ubuntu for the repositories you want, e.g. for:
deb http://bg.archive.ubuntu.com/ubuntu/ xenial main restricted
the equivalent ports repo is:
deb http://bg.ports.ubuntu.com/ xenial main restricted
With those in place,
dpkg --add-architecture armhf
(repeat as appropriate for additional architectures), then updating as usual, does the trick. I've confirmed this on a fresh install of 16.04.1, but I'm pretty sure the same applies as far back as 12.04 too.
Per the multiarch documentation, you can shut the "ignored" and "not found" errors up by restricting entries to the relevant architectures, i.e.:
deb [arch=i386,amd64] http://archive.ubuntu.com...
deb [arch=armhf] http://ports.ubuntu.com...
For reference, Debian's census report has a convenient summary.

Resources