Hi,
I saw there was another thread with a similar problem, but I am too panicked to parseand understand the solution.
I ran yay, left my computer alone, then powered it down as it was being unresponsive when I came back. When I rebooted, I was greeted with reboot into firmware as the only boot option. I’m panicking a little, I don’t know what to do to fix this, I need help ASAP as I have some time sensitive work on that computer’s drive.
Would greatly appreciate ideas on what to do.
Really does help if you pay attention during updates.
Boot off an ISO, chroot, look around, apply updates, and hope that’s all it is.
How to should be easy to search out.
If it works, good, mark it as the solution, if not, come back with more infro, because we’re shooting blind here.
Not sure what thread you mean, but maybe this is something you can do to solve this.
https://discovery.endeavouros.com/system-rescue/arch-chroot/2022/12/
If the data on the drive is so important you could start with a live ISO and make a backup of the data.
I’ve managed to chroot into the broken system. I’m getting pacman: error while loading shared libraries: /usr/lib/libnghttp2.so.14: file too short
I’ll try to look around for a solution…
Luckily the data on the drive is intact and I’ve managed to back it up.
Failing having another machine to fetch binaries off of, you should probably load the statically linked pacman binary to recover.
I’ll try to find the link or a link
This thread might also help to get a solution (go to the last post of the thread).
Hello!
I have run into an issue regarding booting after installing the latest BIOS update on my computer.
After installing the update, my SSD with EOS will not boot, although it seems to be able to be recognized.
When secure boot is off and CSM is enabled, the drives show up in the boot directory as generic names, and when selected to boot, display an error.
“Reboot and Select proper Boot device or Insert Boot Media in selected Boot device and press a key”
I know the drive is healthy, becau…
How do I load the binary? I don’t see a way to download the package
Click the link on the side menu that says download
Ooops, this is the source…let me look more.
From arch-wiki: https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/pacman-static
Thank you, pacman-static runs.
I got failed to synchronize all databases (unable to lock database) (I did run it without sudo, I noticed, but maybe this message is relevant?)
Then I did run it with sudo and I got:
sudo: pam_open_session: Module is unknown
sudo: policy plugin failed session initialization
Due to your crashed state, you may have to remove the pacman lock file.
You won’t probably be able to use ANY binary on the system, including sudo.
Hmm I wonder don’t you need sudo to remove the lock ?
If you come in from the ISO, you should be already running as root!!!
Removed the lock file. Now pacman is running as expected. Tried to install grub, can’t import PGP key so it fails. What should I do next?
Here’s the specific error:
error: key "6D42BDD116E0068F" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Yes that is something I forgot about sorry.
I haven’t ran grub in a couple of years now (old flaky software), no idea.
I tried to follow the instructions. I feel stuck.
[root@EndeavourOS roller]# pacman-key --init
pacman-conf: error while loading shared libraries: /usr/lib/libnghttp2.so.14: file too short
mkdir: cannot create directory ‘’: No such file or directory
gpg: keybox ‘/root/.gnupg/pubring.kbx’ created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
chmod: cannot access ‘/trustdb.gpg’: No such file or directory
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key…
gpg: directory ‘/root/.gnupg/openpgp-revocs.d’ created
gpg: revocation certificate stored as ‘/root/.gnupg/openpgp-revocs.d/7DFB44E8A9B52C9F2A7B7C56388E2C5148D98CFE.
rev’
gpg: Done
==> Updating trust database…
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
[root@EndeavourOS roller]# pacman-key --populate archlinux endeavouros
pacman-conf: error while loading shared libraries: /usr/lib/libnghttp2.so.14: file too short
==> ERROR: You do not have sufficient permissions to read the pacman keyring.
==> Use ‘pacman-key --init’ to correct the keyring permissions.
[root@EndeavourOS roller]# pacman-key --init
pacman-conf: error while loading shared libraries: /usr/lib/libnghttp2.so.14: file too short
mkdir: cannot create directory ‘’: No such file or directory
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
chmod: cannot access ‘/trustdb.gpg’: No such file or directory
[root@EndeavourOS roller]# sudo
usage: sudo -h | -K | -k | -V
usage: sudo -v [-ABkNnS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-ABkNnS] [-g group] [-h host] [-p prompt] [-U user]
[-u user] [command [arg …]]
usage: sudo [-ABbEHkNnPS] [-C num] [-D directory]
[-g group] [-h host] [-p prompt] [-R directory] [-T timeout]
[-u user] [VAR=value] [-i | -s] [command [arg …]]
usage: sudo -e [-ABkNnS] [-C num] [-D directory]
[-g group] [-h host] [-p prompt] [-R directory] [-T timeout]
[-u user] file …
[root@EndeavourOS roller]# sudo pacman-key --init
sudo: pam_open_session: Module is unknown
sudo: policy plugin failed session initialization
After you did the successful update? you should then be able to run local binaries.
Just a possibility, relink the librarys (ldconfig -v)..won’t hurt anything.
Perhaps I’ll just back up my files and stuff and reinstall the system. Would appreciate tips on how to keep as much of my current configuration as I can (settings, app data, that kind of thing)
The command returned a segmentation fault.