Skip to content

Instantly share code, notes, and snippets.

@NULLx76
Last active January 12, 2021 17:59
Show Gist options
  • Save NULLx76/d91a5d5fd0ac8084866d699c5352f9b8 to your computer and use it in GitHub Desktop.
Save NULLx76/d91a5d5fd0ac8084866d699c5352f9b8 to your computer and use it in GitHub Desktop.
CentOS LXC filesystem yum error

This error can occur in unprivileged CentOS/RedHat LXC Containers.

Error:

error: unpacking of archive failed on file /proc: cpio: chown
error: filesystem-3.8-3.el8.x86_64: install failed

Fix:

echo "%_netsharedpath /sys:/proc" >> /etc/rpm/macros.dist; yum -y update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment