Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6293

Yum package provider: ensure => latest fails with multilib packages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.8.7
    • Fix Version/s: None
    • Component/s: Types and Providers
    • Labels:
      None
    • Environment:

      CentOS Linux 7.1.1503

    • Template:
    • Team:
      Agent

      Description

      When a package such as openssl098e has both x86_64 and i686 versions installed and not the latest and your puppet manifests does something like:

      package { 'openssl098e':
      ensure => latest,
      }

      and newer versions exist in the updates repository, the yum provider fails as it calls

      /usr/bin/yum -d 0 -e 0 -y install openssl098e

      which errors with "Multilib version problems found". Since older versions of the packages exist the yum provider should not be doing an "install" but should instead run

      /usr/bin/yum -d 0 -e 0 -y update openssl098e

      which does work to update both x86_64 and i686 versions of the package without the multilib error.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            raines.nmr Paul Raines
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support