Red Hat Satellite 6 installation fails with error Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-foreman_openscap' returned 1: Error unpacking rpm package tfm-rubygem-foreman_openscap-4.1.3-1.el7sat.noarch

Solution Verified - Updated -

Issue

  • Red Hat Satellite 6 installation fails with below error in /var/log/foreman-installer/satellite.log file:

    [ERROR ] [configure] Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-foreman_openscap' returned 1: Error unpacking rpm package tfm-rubygem-foreman_openscap-4.1.3-1.el7sat.noarch
    [ERROR ] [configure] unpacking of archive failed: cpio: mkdir failed - No such file or directory
    [ERROR ] [configure] /Stage[main]/Foreman::Plugin::Openscap/Foreman::Plugin[openscap]/Package[tfm-rubygem-$oreman_openscap]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-for$man_openscap' returned 1: Error unpacking rpm package tfm-rubygem-foreman_openscap-4.1.3-1.el7sat.noarch
    [ERROR ] [configure] unpacking of archive failed: cpio: mkdir failed - No such file or directory
    

Environment

  • Red Hat Satellite 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content