Skip to content

SCL package installation returns an error #308

@mspaulding06

Description

@mspaulding06

Tried to install python using scl and it failed since the package names are wrong. It looks like the python version that is set (python27) is just being inserted into the package name which is breaking things. If I try using just the version (27) instead of python27 then installing the epel repository fails.

Here is my configuration in puppet:

  class { '::python':
      version    => 'python27',
      provider   => 'rhscl',
      pip        => present,
      dev        => present,
      virtualenv => present,
    }

The error I received:

Notice: /Stage[main]/Yum/Yumrepo[epel]/ensure: removed
Notice: /Stage[main]/Yum/Yumrepo[epel-source]/ensure: removed
Notice: /Stage[main]/Yum/Yumrepo[epel-testing]/ensure: removed
Notice: /Stage[main]/Yum/Yumrepo[epel-debuginfo]/ensure: removed
Notice: /Stage[main]/Yum/Yumrepo[epel-testing-source]/ensure: removed
Notice: /Stage[main]/Yum/Yumrepo[epel-testing-debuginfo]/ensure: removed
Notice: /Stage[main]/Python::Install/Package[rhscl-python27-epel-6-x86_64]/ensure: created
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list pythonpython27' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Python::Install/Package[python]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list pythonpython27' returned 1: Error: No matching Packages to list
Notice: /Stage[main]/Python::Install/Package[virtualenv]: Dependency Package[python] has failures: true
Warning: /Stage[main]/Python::Install/Package[virtualenv]: Skipping because of failed dependencies
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list pythonpython27-scldevel' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Python::Install/Package[pythonpython27-scldevel]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list pythonpython27-scldevel' returned 1: Error: No matching Packages to list
Notice: /Stage[main]/Python::Install/Exec[python-scl-pip-install]: Dependency Package[python] has failures: true
Notice: /Stage[main]/Python::Install/Exec[python-scl-pip-install]: Dependency Package[pythonpython27-scldevel] has failures: true
Warning: /Stage[main]/Python::Install/Exec[python-scl-pip-install]: Skipping because of failed dependencies
Info: Class[Python::Install]: Unscheduling all events on Class[Python::Install]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions