Same problem with pamac and yay. (But wifi-menu is working, so I have internet access.)
Further details about NetworkManager:
sudo systemctl start NetworkManager
Job for NetworkManager.service failed because the control process exited with error code.
See "systemctl status NetworkManager.service" and "journalctl -xeu NetworkManager.service" for details.
systemctl status NetworkManager.service
Ă— NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Mon 2025-03-03 15:06:05 GMT; 1min 7s ago
Invocation: 133426c68f18408f827cd07529aa5093
Docs: man:NetworkManager(8)
Process: 6521 ExecStart=/usr/bin/NetworkManager --no-daemon (code=exited, status=127)
Main PID: 6521 (code=exited, status=127)
Mar 03 15:06:05 inspiron systemd[1]: NetworkManager.service: Scheduled restart job, restart counter is at 5.
Mar 03 15:06:05 inspiron systemd[1]: NetworkManager.service: Start request repeated too quickly.
Mar 03 15:06:05 inspiron systemd[1]: NetworkManager.service: Failed with result 'exit-code'.
Mar 03 15:06:05 inspiron systemd[1]: Failed to start Network Manager.
In case it’s relevant, here are the libssh* files I have in /usr/lib:
ls -l libssh*
lrwxrwxrwx 1 root root 16 Jun 9 2023 libssh2.so -> libssh2.so.1.0.1
lrwxrwxrwx 1 root root 16 Jun 9 2023 libssh2.so.1 -> libssh2.so.1.0.1
-rwxr-xr-x 1 root root 293288 Jun 9 2023 libssh2.so.1.0.1
lrwxrwxrwx 1 root root 11 Aug 30 2024 libssh.so -> libssh.so.4
lrwxrwxrwx 1 root root 16 Aug 30 2024 libssh.so.4 -> libssh.so.4.10.1
-rwxr-xr-x 1 root root 486808 Aug 30 2024 libssh.so.4.10.1
I read somewhere that renaming some of these files might be useful, but I tried renaming both the libssh and the libssh2 files and neither option helped.
Before I do, I wonder what you think about the following. I don’t seem to be able to post links in this forum, but there is a stackoverflow post that describes a problem that seems similar to mine (though how similar it is I don’t know). The solution that was approved there is the following:
[TESTED SOLUTION]
I got the same problem and fixed it as the previous answer but i will explain it more:
1.Download the libssh2 from here: [link suppressed]
BE SURE TO CHANGE aarch64 IN THE ABOVE URL TO YOUR CPU ARCH
2.unzip the zip you got from it and go to lib directory where you extracted the zip and move the libssh2.so.1.0.1 to /usr/lib with root permissions
3.Test it and it will work!
Do you think something like this might work? I tried downloading libssh2 in a zip and in a tar and decompressing them, but I could not find libssh2.so.1.0.1 in the decompressed versions.
But you can always look here because, and I quote:
pacman-staticAUR is a statically compiled version of pacman, so it will be able to run even when the libraries on the system are not working. This can also come in handy when a partial upgrade was performed and pacman can not run anymore.
That is what I would have done as well - but the procedure, while it is pretty simple, would have been hard to explain to someone not as well versed with the terminal and the structure of the packages as you seem to be.
… now: why was that same library that you had installed not working
while the “new” one is,
is anyone’s guess …