You are not logged in.
Pages: 1
hello so i accidently
sudo cp /home/picarica/somelibs/* /usr/lib/my screen gone black and i couldn't get into my system.
So first thing i tried using
pacman -Syu with recovery console ctrl+f2
it said it was missing lib or something like that didn't worked
then i burned arhclinux iso to usb and from liveUSB i did
mount /dev/sdb3 /mnt (sdb3 main filesystem /home is somewhere else)
rsync /usr/lib/* /mnt/usr/lib/after that i rebooted went to recovery console again and did
pacman -Syuwhich finally worked and after that i could get into my login screen (display manager will be mentioned below)
but after logging in it threw me back to login screen, so i still couldnt login
after that i red somewhere that i should try
pacman -Qk
pacman -Syudid that but no difference
i am bad at repairing linux if you have any ideas to try let me know and if you want to want to know more info let me know
MORE INFO ABOUT SOFTWARE/HARDWARE:
OS: arch linux newest 64x
disk setup:
/dev/sdb3 /
/dev/sda3 /home
DE:xfce4
Display manage(login):Lightdm-kde (not the gtk one)
RAM:8GB
Swap space:8GB
CPU: AMD FX-8320E
GPU: nvidia geforce 1050ti
Last edited by picarica (2018-08-03 14:38:53)
Offline
You did not post the output from pacman -Qk. Please post the output of `pacman -Qkk`
Edit:
Why are you copying files to /usr/lib? Is this now the second time you broke your system doing this? ( https://bbs.archlinux.org/viewtopic.php?id=239184 )
Last edited by loqs (2018-08-03 10:46:56)
Offline
boot the install image and reinstall all the packages, you can use pacstrap or pacman --sysroot for it.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
boot the install image and reinstall all the packages, you can use pacstrap or pacman --sysroot for it.
and not rsync the files somewhere from the iso :-)
Offline
You did not post the output from pacman -Qk. Please post the output of `pacman -Qkk`
Edit:
Why are you copying files to /usr/lib? Is this now the second time you broke your system doing this? ( https://bbs.archlinux.org/viewtopic.php?id=239184 )
no its the same problem but admins closed my post for many reasons so i tried better formating my post and tried fixing it
also sorry but i dont know how to post output of pacman qk because i am in recovery shell and have on idea how to copy it and paste it, and i saw only some libre offices missing when it was scrolling fast
and i copied those filer for hope of fixing the error of libs not existing
Offline
You could use a commandline pastebin
And you really should already know how to store the output of a command in a file.
pacman -Qkk >/tmp/pkgcheck| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
You will have to conduct an offline fix, re-installign all packages.
Combine
https://wiki.archlinux.org/index.php/Pa … an_upgrade
and
https://wiki.archlinux.org/index.php/Pa … endency.3F
Your posts btw. got deleted for only *one* reason…
Offline
all the main libs got fixed by
pacman -Qnq | pacman -Sthank you seth
Offline
Have you checked for untracked libraries remaining in /usr/lib?
Offline
Have you checked for untracked libraries remaining in /usr/lib?
actually i have not and not sure how to do it yet, could that be a problem in the future?
Offline
could that be a problem in the future?
What do you think will be the consequences? Do you consider that a problem?
not sure how to do it yet
Start by understanding the command you issued, "pacman -Qh"
There's a complementary option to "-n" (that however can not be bound to "pacman -S", at best those packages are from AUR)
If you installed stuff bypassing the package manager, you might want to list all files in all, filter them for the critical path and use that list to isolate completely untracked files in that path (which should be much faster than checking the package for every file in /usr/lib)
Offline
Pages: 1