vagrant@vagrant-ubuntu-trusty-64:~/mosquitto-1.4.5$ make
set -e; for d in lib client src; do make -C ${d}; done
make[1]: Entering directory `/home/vagrant/mosquitto-1.4.5/lib'
cc -Wall -ggdb -O2 -I. -I.. -I../lib -fPIC -DWITH_TLS -DWITH_TLS_PSK -DWITH_THREADING -DWITH_SOCKS -DWITH_SRV -c mosquitto.c -o mosquitto.o
In file included from mosquitto.c:33:0:
./mosquitto_internal.h:27:27: fatal error: openssl/ssl.h: No such file or directory
# include <openssl/ssl.h>
^
compilation terminated.
make[1]: *** [mosquitto.o] Error 1
make[1]: Leaving directory `/home/vagrant/mosquitto-1.4.5/lib'
make: *** [mosquitto] Error 2
vagrant@vagrant-ubuntu-trusty-64:~/mosquitto-1.4.5$ sudo apt-get install -y build-essential libtool m4 autoconf openssl libssl-dev libc-ares-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version.
The following extra packages will be installed:
automake autotools-dev dpkg-dev g++ g++-4.8 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-ares2 libdpkg-perl
libfile-fcntllock-perl libltdl-dev libltdl7 libssl-doc libstdc++-4.8-dev
zlib1g-dev
Suggested packages:
autoconf2.13 autoconf-archive gnu-standards autoconf-doc gettext
debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg
libtool-doc libstdc++-4.8-doc automaken gfortran fortran95-compiler gcj-jdk
The following NEW packages will be installed:
autoconf automake autotools-dev build-essential dpkg-dev g++ g++-4.8
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libc-ares-dev libc-ares2 libdpkg-perl libfile-fcntllock-perl libltdl-dev
libltdl7 libssl-dev libssl-doc libstdc++-4.8-dev libtool m4 zlib1g-dev
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,937 kB/12.9 MB of archives.
After this operation, 48.8 MB of additional disk space will be used.
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.3
404 Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libdpkg-perl all 1.17.5ubuntu5.3
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main dpkg-dev all 1.17.5ubuntu5.3
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libssl-dev amd64 1.0.1f-1ubuntu2.5
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libssl-doc all 1.0.1f-1ubuntu2.5
404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/d/dpkg/libdpkg-perl_1.17.5ubuntu5.3_all.deb 404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.17.5ubuntu5.3_all.deb 404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.1f-1ubuntu2.5_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-doc_1.0.1f-1ubuntu2.5_all.deb 404 Not Found [IP: 91.189.91.15 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
vagrant@vagrant-ubuntu-trusty-64:~/mosquitto-1.4.5$
vagrant@vagrant-ubuntu-trusty-64:~/mosquitto-1.4.5$
vagrant@vagrant-ubuntu-trusty-64:~/mosquitto-1.4.5$ sudo apt-get install -y build-essential libtool m4 autoconf openssl libssl-dev libc-ares-dev --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssl is already the newest version.
The following extra packages will be installed:
automake autotools-dev dpkg-dev g++ g++-4.8 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libc-ares2 libdpkg-perl
libfile-fcntllock-perl libltdl-dev libltdl7 libssl-doc libstdc++-4.8-dev
zlib1g-dev
Suggested packages:
autoconf2.13 autoconf-archive gnu-standards autoconf-doc gettext
debian-keyring g++-multilib g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg
libtool-doc libstdc++-4.8-doc automaken gfortran fortran95-compiler gcj-jdk
The following NEW packages will be installed:
autoconf automake autotools-dev build-essential dpkg-dev g++ g++-4.8
libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libc-ares-dev libc-ares2 libdpkg-perl libfile-fcntllock-perl libltdl-dev
libltdl7 libssl-dev libssl-doc libstdc++-4.8-dev libtool m4 zlib1g-dev
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,937 kB/12.9 MB of archives.
After this operation, 48.8 MB of additional disk space will be used.
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.3
404 Not Found [IP: 91.189.88.153 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libdpkg-perl all 1.17.5ubuntu5.3
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main dpkg-dev all 1.17.5ubuntu5.3
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libssl-dev amd64 1.0.1f-1ubuntu2.5
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ trusty-security/main libssl-doc all 1.0.1f-1ubuntu2.5
404 Not Found [IP: 91.189.91.15 80]
Unable to correct missing packages.
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/d/dpkg/libdpkg-perl_1.17.5ubuntu5.3_all.deb 404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.17.5ubuntu5.3_all.deb 404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-dev_1.0.1f-1ubuntu2.5_amd64.deb 404 Not Found [IP: 91.189.91.15 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl-doc_1.0.1f-1ubuntu2.5_all.deb 404 Not Found [IP: 91.189.91.15 80]
E: Aborting install.