/bin/bash unreachable after upgrade-all 14.2
by costasdk from LinuxQuestions.org on (#4ZQ2Y)
After downloading iso i did new installation of 14.2 from usb .
Then i did slackpkg update and upgrade-all .
One of the packages to be upgraded must have some error like :
line 499 and 501 or 511 error and some library missing .
There is not enough time to see what package caused the error as upgrade is running to fast .
As a result /bin/bash is declared as missing and system becomes unreachable and not booting .
But /bin/bash exists with details 1164640 bytes Aug 30 21:29 .
After a second installation of 14.2 i tried for a third time update and upgrade-all so i got the same error .
So for another time i cannot boot and i am sending this from usb booted Porteus .
By searching /var/log/packages/ it seems that the last package to be upgraded was glib-solibs-2.23-x86_64-4_slack14.2 .
I don't know if is that that causes the error .
I tried to recreate error from Porteus bash to /mnt/sdb2 (14.2 root):
find . -type f -name slackpkg > ./usr/sbin/slackpkg (so it exists)
chroot /mnt/sdb2 /usr/sbin/slackpkg upgrade-all >
chroot: failed to run command '/usr/sbin/slackpkg': No such file or directory
How can i reverse the error without new installation as chroot not working ?
Am i the only with this error ?
thanks in advance for any help


Then i did slackpkg update and upgrade-all .
One of the packages to be upgraded must have some error like :
line 499 and 501 or 511 error and some library missing .
There is not enough time to see what package caused the error as upgrade is running to fast .
As a result /bin/bash is declared as missing and system becomes unreachable and not booting .
But /bin/bash exists with details 1164640 bytes Aug 30 21:29 .
After a second installation of 14.2 i tried for a third time update and upgrade-all so i got the same error .
So for another time i cannot boot and i am sending this from usb booted Porteus .
By searching /var/log/packages/ it seems that the last package to be upgraded was glib-solibs-2.23-x86_64-4_slack14.2 .
I don't know if is that that causes the error .
I tried to recreate error from Porteus bash to /mnt/sdb2 (14.2 root):
find . -type f -name slackpkg > ./usr/sbin/slackpkg (so it exists)
chroot /mnt/sdb2 /usr/sbin/slackpkg upgrade-all >
chroot: failed to run command '/usr/sbin/slackpkg': No such file or directory
How can i reverse the error without new installation as chroot not working ?
Am i the only with this error ?
thanks in advance for any help