You are not logged in.
Pages: 1
I don't know how I did it, but I somehow managed to delete my /bin and /lib folders.
I have achieved chroot access on the machine, so is there any way I can tell which packages have files in /bin and /lib. The /usr folder is not affected, so Im guessing not too many packages need to be reinstalled.
P.S:
I am currently pacstrapping base, base-devel and zsh.
Last edited by aditya3098 (2014-10-19 16:32:28)
Offline
both /bin and /lib are just symlinks (assuming you're even half way up to date). Just `ln -s usr/bin bin` `ln -s usr/lib lib` and you should be set.
Last edited by Scimmia (2014-10-19 14:45:14)
Offline
Not a Pacman issue, moving to NC...
Offline
Yeah, got that from the docs and fixed it. I actually read that somewhere, but for some reason, /bin and /lib were empty folders, not deleted. This made me think the system went bonkers and I pacstrapped and got it working.
On the plus side, it helped me fix a bunch of minor/major issues I had, including the shutdown/poweroff/halt/reboot commands not working, forcing me to use systemctl reboot/poweroff, and I found out that for some reason, /root was world-writable, which gave me a heart attack.
UPDATE: I looked into my command history, turns out I was trying to put some stuff into /bin or something, and things went downhill from there.
UPDATE(er): Forgot to mention, the pacstrap command actually errored out until I deleted /bin and /lib
Last edited by aditya3098 (2014-10-19 16:33:53)
Offline
Pages: 1