Since CentOS 8.3, some package name is changed [1]
Thus, if centos-linux-* is not installed appropriately with
current /etc/rinse/centos-8.packages.
And more, libmodulemd is missing. libmodulemd is required by python3-dnf [2]
So, without it, it raises the following exceptions [3]
How to reproduce it:
sudo rinse --arch amd64 --distribution centos-8 --directory /var/lib/chroot/centos-8-x86_64
[1] changed package names
centos-release => centos-linux-release
centos-repos = > centos-linux-repos
[2] libmodulemd is required by:
# rpm -q --whatrequires libmodulemd
python3-dnf-4.2.23-4.el8.noarch
[3] example of exceptions:
Running post-install script /usr/lib/rinse/common/10-resolv.conf.sh:
Running post-install script /usr/lib/rinse/common/15-mount-proc.sh:
Running post-install script /usr/lib/rinse/common/20-dev-zero.sh:
Running post-install script /usr/lib/rinse/centos-8/post-install.sh:
Updating package
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/libdnf/error.py", line 14, in
swig_import_helper
return importlib.import_module(mname)
File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: libmodulemd.so.2: cannot open shared object file: No such file or
directory
We believe that the bug you reported is fixed in the latest version of rinse, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 989286@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Thomas Lange <lange@debian.org> (supplier of updated rinse package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Fri, 27 May 2022 11:55:27 +0200 Source: rinse Architecture: source Version: 3.7 Distribution: unstable Urgency: low Maintainer: Thomas Lange <lange@debian.org> Changed-By: Thomas Lange <lange@debian.org> Closes: 989286 Changes: rinse (3.7) unstable; urgency=low . * add support for Rocky Linux 8, thanks to Hannes Eberhardt * add package to centos-8, Closes: #989286 * control: update standards version, add Rocky Linux Checksums-Sha1: 9bbbe68ff0605ed1864d434c65bb8a1f69b21c01 1499 rinse_3.7.dsc 6b224f2fca2818a3a0c2e2bb518072182a39f11e 30016 rinse_3.7.tar.xz d3d12dc68a7cf9c96d0ff025c506884f2c4a8d02 6029 rinse_3.7_amd64.buildinfo Checksums-Sha256: 6f5de1e7aec67b5f35ee21faf6218d121bc24a6affba49c7d351eebfc9010f33 1499 rinse_3.7.dsc b1d57b67ace7bdc89007db4a00d95b8a8e14c5ac2f361a0fa8fda280c867277c 30016 rinse_3.7.tar.xz e19c5bd88411031f832da532edd068b19d01c8cac13779a62ca358b9139a7e26 6029 rinse_3.7_amd64.buildinfo Files: d4496995a78108e9b29504f782b9b2e2 1499 admin optional rinse_3.7.dsc 06ea54714bf8c62881d1d1ce48e5fbc6 30016 admin optional rinse_3.7.tar.xz afc8e928a181294650348fcc1cec3a1c 6029 admin optional rinse_3.7_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEEsR7jJz9rLetSjJPaK/jZ/gdLzeQFAmKQoEcRHGxhbmdlQGRl Ymlhbi5vcmcACgkQK/jZ/gdLzeSssw/+KmemGm7soBg7oogI+4AwPTFceivNDpr/ 1lUVggWwfBViIpIYdX0y2oOi+VbFCtHs5l2pNoTw5DRasxicx3lzJAQiyPj7Rs5t Pe4UH2m6wxXn4nNjD9WXpGVDSzifsgQcpz9SFQCSiQiJfphpzV5TOV2ja5x0eZWx ibQVvd9V3kHnv83S5I3KUQRFBAHzoyP2HUltEAlJREdO3K7dZ4gTvsLXk4pQjaGN VIunrqddp62qRuMDtsfsS1DMTJyVmc7BQcZdEJo1ssMCbuwpOP6HftdunEEL2bl2 Eqc66UT+tsVIVm7fbxeLND6l6Kpp4PTmufUnB/nXynDtDtSw/GAQFZgcjrSEnSzj s8bzMaWzW/Gr84McliXjC+2FCyGQkLJa46/imB95dSZdjcjjNn17bVLB1C/3bY1+ E1bthzkZgIKks2cb+WQlx/UVF0phrfBjTDgcX9E967xynpOjYhqOWf0GjnSmAFAk +9sIBy6oIhkWCkMxxcby0Tl+VVlr/CXxiCcxdGtBpcFfBdRbF5zXK5hCcutbPlko 1fnhAo3UBiBl/ioZpoWzqNePBWzPrrydulBOIOGhCqSZORKGYdN9SQfenJsK1eqk 6LohVMIWlzJOHPANecTY3QNRiofBB4UxvYKTF3D+HWgdyXQIUOe5kPs/j578uLs2 xS4MUaCCUto= =enJe -----END PGP SIGNATURE-----