Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate package jdk on Ubuntu 14.04 #34

Open
ghost opened this issue Jan 9, 2016 · 0 comments
Open

Unable to locate package jdk on Ubuntu 14.04 #34

ghost opened this issue Jan 9, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 9, 2016

I'm using the following configuration in site.pp:

class { '::cloudera':
cm_server_host => 'cdh-server.test.com',
install_cmserver => true,
}

I have Java Oracle JDK 8 on my Ubuntu 14.04 machine.

Later, on puppet agent I get this error:

Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install jdk' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package jdk

Error: /Stage[main]/Cloudera::Java/Package[jdk]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install jdk' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package jdk

Notice: /Stage[main]/Cloudera::Java/Exec[java-alternatives]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera::Java/Exec[java-alternatives]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-agent]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-agent]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-daemons]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-daemons]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm/File[scm-config.ini]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera::Cm/File[scm-config.ini]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm/Service[cloudera-scm-agent]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera::Cm/Service[cloudera-scm-agent]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera/Anchor[cloudera::end]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera/Anchor[cloudera::end]: Skipping because of failed dependencies

Please let me know if I missing something.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants