Package installation fails with the message " unpacking of archive failed on file /usr/sbin/XXX cpio: cap_set_file"

Solution Verified - Updated -

Issue

  • Package installation fails with the message " unpacking of archive failed on file /usr/sbin/XXX cpio: cap_set_file"
Running transaction
  Installing : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                                                1/6
  Installing : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                                               2/6
  Installing : httpd-tools-2.4.6-67.el7_4.6.x86_64                                                                                                                                                                                       3/6
  Installing : mailcap-2.1.41-2.el7.noarch                                                                                                                                                                                               4/6
  Installing : redhat-logos-70.0.3-6.el7.noarch                                                                                                                                                                                          5/6
  Installing : httpd-2.4.6-67.el7_4.6.x86_64                                                                                                                                                                                             6/6
Error unpacking rpm package httpd-2.4.6-67.el7_4.6.x86_64
error: unpacking of archive failed on file /usr/sbin/suexec;5a4d0c36: cpio: cap_set_file
error: httpd-2.4.6-67.el7_4.6.x86_64: install failed
rhel-7-server-rpms/7Server/x86_64/productid                                                                                                                                                                           | 2.1 kB  00:00:00
  Verifying  : redhat-logos-70.0.3-6.el7.noarch                                                                                                                                                                                          1/6
  Verifying  : mailcap-2.1.41-2.el7.noarch                                                                                                                                                                                               2/6
  Verifying  : httpd-tools-2.4.6-67.el7_4.6.x86_64                                                                                                                                                                                       3/6
  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                                                                                               4/6
  Verifying  : apr-1.4.8-3.el7_4.1.x86_64                                                                                                                                                                                                5/6
  Verifying  : httpd-2.4.6-67.el7_4.6.x86_64                                                                                                                                                                                             6/6

Dependency Installed:
  apr.x86_64 0:1.4.8-3.el7_4.1               apr-util.x86_64 0:1.5.2-6.el7               httpd-tools.x86_64 0:2.4.6-67.el7_4.6               mailcap.noarch 0:2.1.41-2.el7               redhat-logos.noarch 0:70.0.3-6.el7

Failed:6
  httpd.x86_64 0:2.4.6-67.el7_4
  • docker build fails on a user namespaced container

Environment

  • Red Hat Enterprise Linux 7
  • docker-1.12.6-68.gitec8512b.el7.x86_64
  • user namespace enabled

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.