LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Upgraded to current using slackpkg. root is no longer recognized as valid login and the OS won't load on startup (https://www.linuxquestions.org/questions/slackware-installation-40/upgraded-to-current-using-slackpkg-root-is-no-longer-recognized-as-valid-login-and-the-os-wont-load-on-startup-4175675662/)

colorpurple21859 06-19-2020 10:35 AM

Mount your partitions, Chroot into your system run
slackpkg update
slackpkg install-new
slackpkg upgrade-all

Rerun lilo

burning 06-19-2020 01:25 PM

Quote:

Originally Posted by colorpurple21859 (Post 6136091)
Mount your partitions, Chroot into your system run
slackpkg update
slackpkg install-new
slackpkg upgrade-all

Rerun lilo

I can't connect to an access point to update anything. It whizzed through a whole list of items when I did slackpkg install-new, saying that each one failed. And upgrade-all just old me that there were no new packages to upgrade.

rerunning lilo did nothing and on rebooting without the bootable drive, it still wouldn't let me login, citing the same share libraries error.
edit: Lilo mentioned that it issued 3 warnings but it didn't state what they were I don't think.

colorpurple21859 06-19-2020 05:25 PM

If you are able to connect to the internet with the live iso, connect to the internet from live iso, after mounting your partitions to /mnt before chrooting
Code:

cp /etc/resolv.conf to /mnt/etc/resolv.conf
chroot into your system and then.
Code:

dhcpcd eth0
slackpkg update
slackpkg install-new
slackpkg upgrade-all


burning 06-20-2020 12:22 PM

Quote:

Originally Posted by colorpurple21859 (Post 6136182)
If you are able to connect to the internet with the live iso, connect to the internet from live iso, after mounting your partitions to /mnt before chrooting
Code:

cp /etc/resolv.conf to /mnt/etc/resolv.conf
chroot into your system and then.
Code:

dhcpcd eth0
slackpkg update
slackpkg install-new
slackpkg upgrade-all


Ah, thanks. It worked. Everything is fixed now! I can login just fine again.
Thank you very much for your help!

colorpurple21859 06-20-2020 01:12 PM

Your welcome


All times are GMT -5. The time now is 07:16 AM.