Well libtinfo.x is in aaaa_libraries- Actually is in both aaa_libraries* and ncurses*
Code:
$ cd /var/log/packages
$ grep libtinfo *
aaa_libraries-15.0-x86_64-3:lib64/libtinfo.so.6.2
ncurses-6.2_20201219-x86_64-4:lib64/libtinfo.so.6.2
But link is created only by doinst.sh of ncurses*
Code:
$ cd ../scripts
$ grep libtinfo *
ncurses-6.2_20201219-x86_64-4:( cd lib64 ; rm -rf libtinfo.so.6 )
ncurses-6.2_20201219-x86_64-4:( cd lib64 ; ln -sf libtinfo.so.6.2 libtinfo.so.6 )
ncurses-6.2_20201219-x86_64-4:( cd usr/lib64 ; rm -rf libtinfo.so )
ncurses-6.2_20201219-x86_64-4:( cd usr/lib64 ; ln -sf libtinfo.so.6 libtinfo.so )
ncurses-6.2_20201219-x86_64-4:( cd usr/lib64 ; rm -rf libtinfo.so.6 )
ncurses-6.2_20201219-x86_64-4:( cd usr/lib64 ; ln -sf ../../lib64/libtinfo.so.6 libtinfo.so.6 )
doinst.sh for aaa_libraries.* is just missing. Look inside package. It seems that there should be doinst.sh script for aaa_libraries*. At least containing this line
Code:
he
( cd lib64 ; rm -rf libtinfo.so.6 )
( cd lib64 ; ln -sf libtinfo.so.6.2 libtinfo.so.6 )
Without it chroot to /mnt fails. Due to bash in chroot jail can't find libtinfo.so.6
For me creating the link fixed the issue.