Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to install java on node using puppet-java

I am new to puppet and trying to install java on puppet node, using puppet-java and getting following error

Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install java' returned 100:

Reading package lists...

Building dependency tree...

Reading state information...

E: Unable to locate package java

Wrapped exception:

Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install java' returned 100: Reading package lists...

Building dependency tree...

Reading state information...

E: Unable to locate package java

Error: /Stage[main]/Java/Package[java]/ensure: change from purged to latest failed: Could not update: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install java' returned 100: Reading package lists...

Building dependency tree...

Reading state information...

E: Unable to locate package java