Hello, tried to upgrade my system, but it fails with the following message: Upgrading : gcc-toolset-13-libstdc++-devel-13.3.1-2.2.el9_5.x86_64 2/6 error: unpacking of archive failed on file /opt/rh/gcc-toolset-13/root/usr/bin/cc;67b8468a: cpio: symlink failed - No such file or directory error: gcc-toolset-13-gcc-13.3.1-2.2.el9_5.x86_64: install failed
I can probably fix it by uninstalling gcc-toolset-13 and installing again (or manually remove the link in question), but I’d prefer if this could be fixed on the distro level?
Thanks for your reply.
I figured out the reason - permissions as /opt was mounted via NFS. I did not expect that dnf would install into /opt when I initially configured the machines and it has restricted root access from clients. Solved now.
Some applications (mostly third-party packages, like from Dell, zoom, etc) do have files in /opt/
The GCC Toolsets, which continue the Software Collection style that el6 and el7 had, belong to that group.