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

hadooplzo_2_2_2_0_2538-native can not be upgraded during RU

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-server
    • None

    Description

      2015-03-05 13:43:38,414 - Installing package lzo ('/usr/bin/zypper --quiet install --auto-agree-with-licenses --no-confirm --repo HDP-UTILS-2.2.2.0-2538 --repo HDP-2.2.2.0-2538 lzo')
      2015-03-05 13:43:44,829 - u"Package['hadooplzo_2_2_2_0_2538*']" {'use_repos': ['base', 'HDP-UTILS-2.2.2.0-2538', 'HDP-2.2.2.0-2538']}
      2015-03-05 13:43:45,787 - Installing package hadooplzo_2_2_2_0_2538* ('/usr/bin/zypper --quiet install --auto-agree-with-licenses --no-confirm --repo HDP-UTILS-2.2.2.0-2538 --repo HDP-2.2.2.0-2538 'hadooplzo_2_2_2_0_2538*'')
      Can not install packages.
      Traceback (most recent call last):
        File "/var/lib/ambari-agent/cache/custom_actions/scripts/install_packages.py", line 96, in actionexecute
          Package(name, use_repos=list(current_repo_files) if OSCheck.is_ubuntu_family() else current_repositories)
        File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
          self.env.run()
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
          self.run_action(resource, action)
        File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
          provider_action()
        File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 43, in action_install
          self.install_package(package_name, self.resource.use_repos)
        File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/zypper.py", line 72, in install_package
          shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput())
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
          return function(command, **kwargs)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 82, in checked_call
          return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout, path, sudo, on_new_line)
        File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 199, in _call
          raise Fail(err_msg)
      Fail: Execution of '/usr/bin/zypper --quiet install --auto-agree-with-licenses --no-confirm --repo HDP-UTILS-2.2.2.0-2538 --repo HDP-2.2.2.0-2538 'hadooplzo_2_2_2_0_2538*'' returned 4. Problem: nothing provides libjvm.so()(64bit) needed by hadooplzo_2_2_2_0_2538-native-0.6.0.2.2.2.0-2538.x86_64
       Solution 1: do not install hadooplzo_2_2_2_0_2538-native-0.6.0.2.2.2.0-2538.x86_64
       Solution 2: break hadooplzo_2_2_2_0_2538-native-0.6.0.2.2.2.0-2538.x86_64 by ignoring some of its dependencies
      
      Choose from above solutions by number or cancel [1/2/c] (c): c
      
      

      Attachments

        1. AMBARI-9951.patch
          10 kB
          Dmitry Lysnichenko
        2. AMBARI-9951.2.patch
          18 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: