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

package: yum from http source gives errors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Compiler
    • Labels:
      None
    • Environment:
    • Template:
      PUP Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      code

      package

      { 'remi-release-7': *ensure*   => 'installed', *source*   => 'http://rpms.remirepo.net/enterprise/remi-release-7.rpm', *provider* =>  rpm,  }

      Error

       

      Error: Execution of '/usr/bin/rpm -i http://rpms.remirepo.net/enterprise/remi-release-7.rpm' returned 1: package remi-release-7.6-1.el7.remi.noarch is already installed

      Error: /Stage[main]/Testrail::Install/Package[remi-release-7]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/rpm -i http://rpms.remirepo.net/enterprise/remi-release-7.rpm' returned 1: package remi-release-7.6-1.el7.remi.noarch is already installed

       

      without 

      provider =>  rpm, 

      Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm' returned 1: Error: Nothing to do

      Error: /Stage[main]/Testrail::Install/Package[remi-release-7.5]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm' returned 1: Error: Nothing to do

       

      since yum can't see the package is installed.

      yum search remi-release-7

      Repository 'curator4' is missing name in configuration, using id
      Repository 'curator5' is missing name in confiuration, using id
      Warning: No matches found for: remi-release-7
      No matches found

      rpm finds package installed

      rpm -qa | grep remi-release-7
      remi-release-7.6-1.el7.remi.noarch

       

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            felipe.garcia1@aon.com Felipe Garcia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support