Robertico Gonzalez
2013-Apr-05 03:00 UTC
[Puppet Users] ./puppet-enterprise-installer error on Ubunt 12.04 LTS
Hi, I am trying to install Puppet on a master node, but I am getting some errors. My platform is Ubuntu 12.04 LTS. The hostname is puppet and this is a Virtual Machine in Vmware 5.0. This is a lab server and it is behind a proxy. root@puppet:/home/rbgonza/puppet/puppet-enterprise-2.8.0-all# ./puppet-enterprise-installer ===============================================================================================================Puppet Enterprise v2.8.0 installer Puppet Enterprise documentation can be found at http://links.puppetlabs.com/puppet_enterprise_2.8_documentation ---------------------------------------------------------------------------------------------------------------- STEP 1: SELECT AND CONFIGURE ROLES This installer will offer to install the puppet master, console, cloud provisioner, and puppet agent roles. -> puppet master The puppet master serves configurations to a group of puppet agent nodes. This role also provides MCollective''s message queue and client interface. It should be installed on a robust, dedicated server. ?? Install puppet master? [y/N] y -> cloud provisioner The cloud provisioner can create and bootstrap new machine instances and add them to your Puppet infrastructure. It should be installed on a trusted node where site administrators have shell access. ?? Install the cloud provisioner? [y/N] y -> console The console is a web interface for viewing reports, classifying nodes, directly managing resources, controlling Puppet runs, and invoking MCollective agents. It should usually be installed on the puppet master server, but can also installed separately. ?? Install the console? [Y/n] y -> puppet agent The puppet agent role is automatically installed with the console, puppet master, and cloud provisioner roles. ?? The puppet master''s certificate will contain a unique name ("certname"); this should be the main DNS name at which it can be reliably reached. Puppet master''s certname? [Default: puppet] ?? The puppet master''s certificate can contain DNS aliases; agent nodes will only trust the master if they reach it at its certname or one of these official aliases. Puppet master''s DNS aliases (comma-separated list)? [Default: puppet] ?? Admin email address (will be used as account name) for accessing the console interface? email@company.com ?? Password for user email@company.com (minimum 8 characters)? Confirm Password: The console requires an SMTP server to email account information to users. ?? What is the name of your SMTP server? mail.yahoo.com ?? The console requires a MySQL database server. Install a new database server from your operating system''s repository and setup the console? [Y/n] y -> Vendor Packages The installer has detected that Puppet Enterprise requires additional packages from your operating system vendor''s repositories, and can automatically install them. If you choose not to install these packages automatically, the installer will exit so you can install them manually. Additional vendor packages required for installation: * curl * libapr1 * libaprutil1 * libaprutil1-dbd-sqlite3 * libaprutil1-ldap * libreadline5 * mysql-client * mysql-common * mysql-server * openjdk-6-jre-headless ?? Install these packages automatically? [Y/n] y -> Convenience Links The selected Puppet software will be installed into "/opt/puppet", which may not be included in your default shell PATH. For ease of use, this installer can create symbolic links to these executables in "/usr/local/bin". ?? Create symbolic links to Puppet executables in "/usr/local/bin"? [Y/n] y ---------------------------------------------------------------------------------------------------------------- STEP 2: CONFIRM PLAN You have selected to install the following components (and their dependencies) * Puppet Master * Console * Cloud Provisioner * Puppet Agent ?? Perform installation? [Y/n] y ## Saved answers to file: ./answers.lastrun.puppet ================================================================================================================## Saved answers to file: /etc/puppetlabs/installer/answers.install Warning: overwriting /etc/puppetlabs/facter/facts.d/puppet_enterprise_installer.txt Creating Backup: /etc/puppetlabs/facter/facts.d/puppet_enterprise_installer.txt.bak ---------------------------------------------------------------------------------------------------------------- STEP 3: INSTALL PACKAGES ## Installing packages from repositories... bzip2: Data integrity error when decompressing. Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover'' program to attempt to recover data from undamaged sections of corrupted files. W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/restricted/source/Sources 404 Not Found W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-amd64_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-amd64_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages Hash Sum mismatch W: Failed to fetch http://apt.puppetlabs.com/dists/precise/main/i18n/Translation-en Error reading from server. Remote end closed connection W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/main/i18n/Translation-en_US Error reading from server. Remote end closed connection W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_i18n_Translation-en Encountered a section with no Package: header E: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mysql-client : Depends: mysql-client-5.5 but it is not going to be installed mysql-server : Depends: mysql-server-5.5 but it is not going to be installed openjdk-6-jre-headless : Depends: ca-certificates-java but it is not installable Depends: java-common (>= 0.28) but it is not installable E: Unable to correct problems, you have held broken packages. ===============================================================================================================!! ERROR: Package installation failed ===============================================================================================================root@puppet:/home/rbgonza/puppet/puppet-enterprise-2.8.0-all# Thanks, rg -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.