Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Puppet installation bug and how to resolve it?

$
0
0
Hey Guys, Not sure if you have noticed but while installed puppet on Ubuntu 15.04 I experience three certificate related errors. root@jim-Ubuntu1504:/home/jim/Downloads# apt-get install puppetserver Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: ca-certificates-java java-common openjdk-8-jre-headless puppet-agent Suggested packages: default-jre equivs openjdk-8-jre-jamvm fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho ttf-wqy-microhei ttf-wqy-zenhei fonts-indic The following NEW packages will be installed: ca-certificates-java java-common openjdk-8-jre-headless puppet-agent puppetserver 0 to upgrade, 5 to newly install, 0 to remove and 3 not to upgrade. Need to get 110 MB of archives. After this operation, 389 MB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://au.archive.ubuntu.com/ubuntu/ vivid/main ca-certificates-java all 20140324 [12.3 kB] Get:2 http://apt.puppetlabs.com/ vivid/PC1 puppet-agent amd64 1.4.1-1vivid [13.7 MB] Get:3 http://au.archive.ubuntu.com/ubuntu/ vivid/main java-common all 0.52 [131 kB] Get:4 http://au.archive.ubuntu.com/ubuntu/ vivid/universe openjdk-8-jre-headless amd64 8u45-b14-1 [63.1 MB] Get:5 http://apt.puppetlabs.com/ vivid/PC1 puppetserver all 2.3.1-1puppetlabs1 [32.8 MB] Fetched 110 MB in 2min 6s (866 kB/s) Selecting previously unselected package ca-certificates-java. (Reading database ... 172239 files and directories currently installed.) Preparing to unpack .../ca-certificates-java_20140324_all.deb ... Unpacking ca-certificates-java (20140324) ... Selecting previously unselected package java-common. Preparing to unpack .../java-common_0.52_all.deb ... Unpacking java-common (0.52) ... Selecting previously unselected package openjdk-8-jre-headless:amd64. Preparing to unpack .../openjdk-8-jre-headless_8u45-b14-1_amd64.deb ... Unpacking openjdk-8-jre-headless:amd64 (8u45-b14-1) ... Selecting previously unselected package puppet-agent. Preparing to unpack .../puppet-agent_1.4.1-1vivid_amd64.deb ... Unpacking puppet-agent (1.4.1-1vivid) ... Selecting previously unselected package puppetserver. Preparing to unpack .../puppetserver_2.3.1-1puppetlabs1_all.deb ... Unpacking puppetserver (2.3.1-1puppetlabs1) ... Processing triggers for ca-certificates (20141019ubuntu0.15.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d....done. Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for doc-base (0.10.6) ... Processing 2 added doc-base files... Processing triggers for systemd (219-7ubuntu6) ... Processing triggers for ureadahead (0.100.0-19) ... Setting up java-common (0.52) ... Setting up puppet-agent (1.4.1-1vivid) ... Created symlink from /etc/systemd/system/multi-user.target.wants/puppet.service to /lib/systemd/system/puppet.service. Created symlink from /etc/systemd/system/multi-user.target.wants/mcollective.service to /lib/systemd/system/mcollective.service. Created symlink from /etc/systemd/system/multi-user.target.wants/pxp-agent.service to /lib/systemd/system/pxp-agent.service. Removed symlink /etc/systemd/system/multi-user.target.wants/pxp-agent.service. Setting up ca-certificates-java (20140324) ... **/var/lib/dpkg/info/ca-certificates-java.postinst: line 53: java: command not found /var/lib/dpkg/info/ca-certificates-java.postinst: line 66: java: command not found** done. Processing triggers for ca-certificates (20141019ubuntu0.15.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d.... **/etc/ca-certificates/update.d/jks-keystore: 82: /etc/ca-certificates/update.d/jks-keystore: java: not found E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.** done. Setting up openjdk-8-jre-headless:amd64 (8u45-b14-1) ... update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode Setting up puppetserver (2.3.1-1puppetlabs1) ... usermod: no changes Processing triggers for systemd (219-7ubuntu6) ... Processing triggers for ureadahead (0.100.0-19) ... root@jim-Ubuntu1504:/home/jim/Downloads# Any idea how to resolve it?? Please note that this is clean install. Host OS: Windows 10 Virtualization Software: Virtual box 5.0.20 After clean install of Ubuntu all I did was installed vivid repository package apt-get update apt-get upgrade apt-get install puppetserver and the above show is the output. Any help to solve the issue would be greatly appreciated.

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>