Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-23471

Ubuntu16: Install components exited with code '100' with message: debconf: delaying package configuration, since apt-utils is not installed

    XMLWordPrintableJSON

Details

    Description

      Traceback (most recent call last):
       File "/var/lib/ambari-agent/cache/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/infra_solr.py", line 137, in <module>
       InfraSolr().execute()
       File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
       method(env)
       File "/var/lib/ambari-agent/cache/common-services/AMBARI_INFRA_SOLR/0.1.0/package/scripts/infra_solr.py", line 38, in install
       self.install_packages(env)
       File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 810, in install_packages
       retry_count=agent_stack_retry_count)
       File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__
       self.env.run()
       File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
       self.run_action(resource, action)
       File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
       provider_action()
       File "/usr/lib/ambari-agent/lib/resource_management/core/providers/packaging.py", line 30, in action_install
       self._pkg_manager.install_package(package_name, self.__create_context())
       File "/usr/lib/ambari-agent/lib/ambari_commons/repo_manager/apt_manager.py", line 35, in wrapper
       return function_to_decorate(self, name, *args[2:])
       File "/usr/lib/ambari-agent/lib/ambari_commons/repo_manager/apt_manager.py", line 245, in install_package
       shell.repository_manager_executor(cmd, self.properties, context, env=self.properties.install_cmd_env)
       File "/usr/lib/ambari-agent/lib/ambari_commons/shell.py", line 743, in repository_manager_executor
       raise RuntimeError(message)
      RuntimeError: Failed to execute command '['/usr/bin/apt-get', '-o', 'Dpkg::Options::=--force-confdef', '--allow-unauthenticated', '--assume-yes', 'install', u'ambari-infra-solr-client']', exited with code '100' with message: debconf: delaying package configuration, since apt-utils is not installed
      
      W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/ambari-hdp-1.list:1 and /etc/apt/sources.list.d/hdp.list:2
      
      W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/ambari-hdp-1.list:1 and /etc/apt/sources.list.d/hdp.list:2
      
      W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/ambari-hdp-1.list:3 and /etc/apt/sources.list.d/hdp.list:3
      
      W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/ambari-hdp-1.list:3 and /etc/apt/sources.list.d/hdp.list:3
      
      E: Sub-process /usr/bin/dpkg returned an error code (2)
      
      

      Attachments

        Issue Links

          Activity

            People

              hapylestat Dmytro Grinenko
              hapylestat Dmytro Grinenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h