Closed thorrak closed 7 years ago
There seems to be a problem with packages that can not be authenticated.
The fix is apt-key update && apt-get update. I will submit a patch.
::: (This may take a few minutes during which everything will be silent) ...
+ sudo apt-get install -y git-core build-essential python-dev python-virtualenv python-pip nginx libzmq-dev libevent-dev rabbitmq-server
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version.
git-core is already the newest version.
libevent-dev is already the newest version.
libzmq-dev is already the newest version.
nginx is already the newest version.
python-dev is already the newest version.
python-pip is already the newest version.
python-virtualenv is already the newest version.
The following extra packages will be installed:
erlang-asn1 erlang-base erlang-corba erlang-crypto erlang-diameter
erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic
erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon
erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools
erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools
erlang-webtool erlang-xmerl libltdl7 libodbc1 libsctp1 lksctp-tools
Suggested packages:
erlang erlang-manpages erlang-doc xsltproc fop erlang-ic-java
erlang-observer libmyodbc odbc-postgresql tdsodbc unixodbc-bin
The following NEW packages will be installed:
erlang-asn1 erlang-base erlang-corba erlang-crypto erlang-diameter
erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic
erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon
erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools
erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools
erlang-webtool erlang-xmerl libltdl7 libodbc1 libsctp1 lksctp-tools
rabbitmq-server
0 upgraded, 31 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.7 MB of archives.
After this operation, 38.5 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libltdl7 libodbc1 libsctp1 erlang-base erlang-asn1 erlang-mnesia
erlang-runtime-tools erlang-crypto erlang-public-key erlang-ssl erlang-inets
erlang-corba erlang-syntax-tools erlang-diameter erlang-xmerl erlang-edoc
erlang-eldap erlang-erl-docgen erlang-eunit erlang-ic erlang-odbc
erlang-snmp erlang-os-mon erlang-parsetools erlang-percept erlang-ssh
erlang-webtool erlang-tools erlang-nox lksctp-tools rabbitmq-server
E: There are problems and -y was used without --force-yes
+ printinfo 'All packages installed successfully.'
+ printf '::: %s\n' 'All packages installed successfully.'
::: All packages installed successfully.
+ echo
I have never heard of apt-key update before. Interesting!
For some reason, the automated install I attempted on my Raspberry Pi W failed on this line:
https://github.com/thorrak/fermentrack-tools/blob/master/automated_install/auto-install.sh#L125
I re-ran that line manually, and apt-get completed successfully. Not sure if it's an environment/hardware thing or an install script issue.