Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

issue in server_os_packages.rb #319

@uyo1787

Description

@uyo1787

I'm using "icinga2::server" recipe at ubuntu 16.04 and get

Recipe: icinga2::server_os_packages
  * apt_package[icinga2_packages] action install

    ================================================================================
    Error executing action `install` on resource 'apt_package[icinga2_packages]'
    ================================================================================

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '100'
    ---- Begin output of apt-get -q -y install libgd2-xpm-dev libjpeg62=1:6b2-2 libpng12-dev=1.2.54-1ubuntu1 imagemagick=8:6.8.9.9-7ubuntu5.9 php7.0-imagick php-pear=1:1.10.5+submodules+notgz-1+ubuntu16.04.1+deb.sury.org+1 php7.0-xmlrpc=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-xsl=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-mysql=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php-soap=1:7.1+55+ubuntu16.04.1+deb.sury.org+1 php7.0-gd=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-ldap=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-pgsql=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-intl=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 ----
    STDOUT: Reading package lists...
    Building dependency tree...
    Reading state information...
    Package libgd2-xpm-dev is a virtual package provided by:
      libgd-dev 2.1.1-4ubuntu0.16.04.8 [Not candidate version]
      libgd-dev 2.1.1-4build2 [Not candidate version]
    STDERR: E: Package 'libgd2-xpm-dev' has no installation candidate
    ---- End output of apt-get -q -y install libgd2-xpm-dev libjpeg62=1:6b2-2 libpng12-dev=1.2.54-1ubuntu1 imagemagick=8:6.8.9.9-7ubuntu5.9 php7.0-imagick php-pear=1:1.10.5+submodules+notgz-1+ubuntu16.04.1+deb.sury.org+1 php7.0-xmlrpc=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-xsl=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-mysql=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php-soap=1:7.1+55+ubuntu16.04.1+deb.sury.org+1 php7.0-gd=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-ldap=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-pgsql=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-intl=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 ----
    Ran apt-get -q -y install libgd2-xpm-dev libjpeg62=1:6b2-2 libpng12-dev=1.2.54-1ubuntu1 imagemagick=8:6.8.9.9-7ubuntu5.9 php7.0-imagick php-pear=1:1.10.5+submodules+notgz-1+ubuntu16.04.1+deb.sury.org+1 php7.0-xmlrpc=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-xsl=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-mysql=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php-soap=1:7.1+55+ubuntu16.04.1+deb.sury.org+1 php7.0-gd=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-ldap=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-pgsql=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 php7.0-intl=7.0.26-2+ubuntu16.04.1+deb.sury.org+2 returned 100

    Resource Declaration:
    ---------------------
    # In /var/chef/cache/cookbooks/icinga2/recipes/server_os_packages.rb

     61: package 'icinga2_packages' do
     62:   package_name os_packages
     63:   action :install
     64: end

    Compiled Resource:
    ------------------
    # Declared in /var/chef/cache/cookbooks/icinga2/recipes/server_os_packages.rb:61:in `from_file'

    apt_package("icinga2_packages") do
      package_name ["g++", "mailutils", "php7.0", "php7.0-cli", "php7.0-fpm", "build-essential", "libgd2-xpm-dev", "libjpeg62", "libpng12-0", "libpng12-dev", "libapache2-mod-php7.0", "imagemagick", "php7.0-imagick", "php-pear", "php7.0-xmlrpc", "php7.0-xsl", "php7.0-mysql", "php-soap", "php7.0-gd", "php7.0-ldap", "php7.0-pgsql", "php7.0-intl"]
      action [:install]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      declared_type :package
      cookbook_name "icinga2"
      recipe_name "server_os_packages"
    end

    Platform:
    ---------
    x86_64-linux

"icinga2": "~> 3.0.1"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions