Article 6QVFC installpkg --root fails

installpkg --root fails

by
carlaschneider
from LinuxQuestions.org on (#6QVFC)
I installed the packages of slackware64-current from the directories a,d,l,n in an empty directory /x with installpkg --root

Then I did chroot /x and got an error:
chroot: failed to run command '/bin/bash': No such file or directory

I found out that the file /x/bin/bash is there, but the necessary library libc.so.6 is missing.
Actually this should be a link to /lib64/libc-2.40.so , but this file is also missing.
I found out that this file is contained in the packet l/glibc-2.40-x86_64-5.txz
in a directory "incoming" and the installation script should move it to /lib64
and then deletes "incoming".
Obviously this moving and link creation did not happen only the deleting.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments