Closed noejoe closed 6 years ago
Seems this is a problem in the branch 'alexa-avs-sample-app' that is used here, exactly in 'samples/javaclient/install-java8.sh'.
fixed the issue with this guide and adapting the follwoing script: 'samples/javaclient/install-java8.sh'
https://gist.github.com/ribasco/fff7d30b31807eb02b32bcf35164f11f
It seems as you have to change the ubunty repo from 'yakkety' to 'xenial' including the import of the needed key.
So far so good with xenial as repository. The installer of 'alexa-avs-sample-app' ran withouts problems and i could start the services.
=========== Installing Oracle Java8 ===========
========== Installing Java Dependency ============ Reading package lists... Done Building dependency tree Reading state information... Done dirmngr is already the newest version (2.1.18-8~deb9u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.4 (stretch) Version of Raspbian determined to be: stretch Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done Package 'openjdk-7-jre' is not installed, so not removed Package 'openjdk-8-jre' is not installed, so not removed Package 'oracle-java7-jdk' is not installed, so not removed The following packages were automatically installed and are no longer required: libxi6 libxrender1 libxtst6 x11-common Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: oracle-java8-jdk* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 173 MB disk space will be freed. (Reading database ... 36143 files and directories currently installed.) Removing oracle-java8-jdk (8u65) ... sudo apt-key adv --keyserver pgp.mit.edu --recv-keys EEA14886 Executing: /tmp/apt-key-gpghome.KcqxBCsXDK/gpg.1.sh --keyserver pgp.mit.edu --recv-keys EEA14886 sudo apt-key adv --keyserver pgp.mit.edu --recv-keys EEA14886 Egpg: keyserver receive failed: No data sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 Executing: /tmp/apt-key-gpghome.0fawSQGS0B/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys EEA14886 gpg: key C2518248EEA14886: public key "Launchpad VLC" imported gpg: Total number processed: 1 gpg: imported: 1 Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu yakkety InRelease [17.5 kB] Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease Hit:3 http://archive.raspberrypi.org/debian stretch InRelease Fetched 17.5 kB in 1s (11.8 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Package oracle-java8-installer is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'oracle-java8-installer' has no installation candidate Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package oracle-java8-set-default
===============================
STARTING Alexa Installation Grab a Coffee or Beer and relax this will take quite a while
=========================
========== Getting the code for Kitt-Ai =========== Cloning into 'snowboy'... remote: Counting objects: 2038, done. remote: Total 2038 (delta 0), reused 0 (delta 0), pack-reused 2038 Receiving objects: 100% (2038/2038), 53.74 MiB | 4.48 MiB/s, done. Resolving deltas: 100% (1007/1007), done. ========== Getting the code for Sensory =========== Cloning into 'alexa-rpi'... remote: Counting objects: 182, done. remote: Compressing objects: 100% (5/5), done. ^Cceiving objects: 29% (53/182)
The same error i got
how can solve the problem
Hi there,
at first I want to thank you for providing this great scripts, I can't wait to use it on my Raspberry Pi 3.
After running through the process for the third time now, I guess I discovered the mistake my first attemps weren't successful.
When running the installer.sh from step 8, there is an error in the attempt of installing oracle-java8-installer. It seems like the key that is tried to received is not existing on the server.
Here is the log from the installation process:
Beginning of log:
Making sure we are installing to the right OS
=========== Installing Oracle Java8 ===========
========== Installing Java Dependency ============ Reading package lists... Done Building dependency tree Reading state information... Done dirmngr is already the newest version (2.1.18-8~deb9u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.4 (stretch) Version of Raspbian determined to be: stretch Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done Package 'openjdk-7-jre' is not installed, so not removed Package 'openjdk-8-jre' is not installed, so not removed Package 'oracle-java7-jdk' is not installed, so not removed The following packages were automatically installed and are no longer required: libxi6 libxrender1 libxtst6 x11-common Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: oracle-java8-jdk* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 173 MB disk space will be freed. (Reading database ... 36143 files and directories currently installed.) Removing oracle-java8-jdk (8u65) ... sudo apt-key adv --keyserver pgp.mit.edu --recv-keys EEA14886 Executing: /tmp/apt-key-gpghome.KcqxBCsXDK/gpg.1.sh --keyserver pgp.mit.edu --recv-keys EEA14886 sudo apt-key adv --keyserver pgp.mit.edu --recv-keys EEA14886 Egpg: keyserver receive failed: No data sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 Executing: /tmp/apt-key-gpghome.0fawSQGS0B/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys EEA14886 gpg: key C2518248EEA14886: public key "Launchpad VLC" imported gpg: Total number processed: 1 gpg: imported: 1 Get:1 http://ppa.launchpad.net/webupd8team/java/ubuntu yakkety InRelease [17.5 kB] Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease Hit:3 http://archive.raspberrypi.org/debian stretch InRelease Fetched 17.5 kB in 1s (11.8 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Package oracle-java8-installer is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'oracle-java8-installer' has no installation candidate Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package oracle-java8-set-default
===============================
STARTING Alexa Installation Grab a Coffee or Beer and relax this will take quite a while
=========================
========== Getting the code for Kitt-Ai =========== Cloning into 'snowboy'... remote: Counting objects: 2038, done. remote: Total 2038 (delta 0), reused 0 (delta 0), pack-reused 2038 Receiving objects: 100% (2038/2038), 53.74 MiB | 4.48 MiB/s, done. Resolving deltas: 100% (1007/1007), done. ========== Getting the code for Sensory =========== Cloning into 'alexa-rpi'... remote: Counting objects: 182, done. remote: Compressing objects: 100% (5/5), done. ^Cceiving objects: 29% (53/182)
End of log.
Thanks a lot in advance.
Greets, joe