You are not logged in.
Hi everyone,
Yesterday I installed openssh and after trying the command ssh I received the error
error while loading shared libraries: xxx: cannot open shared object
So I installed openssl and then it worked.
Now when I restarted the system, I have a new problem. It just hangs on Reached target Graphical Interface.
When I press ctrl+alt+f2 to log in with the non graphical interface, I saw that I cannot use anymore lots of commands (sudo and pacman included).
They both give me the same error
error while loading shared libraries: xxx: cannot open shared object
I tried to execute
/sbin/ldconfig -v
to try to fix the links, but it didn't work.
What should I do?
Thanks in advance for any hint.
Offline
Please post the system's full pacman.log
Offline
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Either you have been doing partial updates, which are unsupported, or you are using a mirror that is not up-to-date.
Boot from the install media a use pacman to do a full update of your system, see 'man pacman' on how to tell pacman to do operations on your currently installed system and not the install media root.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Either you have been doing partial updates, which are unsupported, or you are using a mirror that is not up-to-date.
Boot from the install media a use pacman to do a full update of your system, see 'man pacman' on how to tell pacman to do operations on your currently installed system and not the install media root.
Now I got a problem with this.
I booted into the live USB, I mounted the root partition on /mnt and tried to execute
pacman -Syu -r /mnt
Problem now is that it says
error: Partition / too full: 196521 blocks are needed, 64033 blocks are free.
The output of df says that /dev/sda3 mounted on /mnt is 50% free and it has 9750784 blocks available
The output of df -i says that /mnt has 1141195 blocks available.
Any idea of the reason why it says that? Thanks in the meantime for the gist.
Offline
Set --cachedir as well.
Offline
Set --cachedir as well.
This did work thanks, and it seems it doesn't have anymore any problem related to shared libraries.
Unfortunately I forgot to mount the boot partition when upgrading the whole system, and I'm not sure if that's the reason, but now I can't boot anymore.
It says that it cannot load the kernel modules and then that it cannot mount the boot partition.
I guess I'm gonna open a new thread because so far I could not solve it from looking online.
Thanks a lot for the help!
Offline
Just boot from your USB again, mount the / and /boot partitions, and then use the same pacman flags you used above to reinstall the linux package.
Offline
Just boot from your USB again, mount the / and /boot partitions, and then use the same pacman flags you used above to reinstall the linux package.
I did, but unfortunately this didn't help, it says that everything is up to date and that there is nothing to upgrade.
Offline
He didn't say to update, he said to reinstall the linux package.
Offline