So i tried a partial upgrade, using sudo pacman -S openssl
. Now almost each command(pacman in particular) throws an error. I searched the internet for this problem, i tried everything(except rebooting and chrooting and doing some magic) but it didn’t work. I don’t want to reboot and use chroot, because im not sure how am is supposed to do it.
Welcome to the forum!
Why? What issue were you trying to solve?
Partial upgrades are unsupported and will cause breakage–you just found that out.
You made a backup before doing that, right? Right?
I was trying to run a prorgam, which was missing libssl library, so i installed it.
No, I did not backup.
Forgot to mention, my last update was probably 3-4 months ago
… so … you will need to update.
Since everything is broken … maybe you can try
https://wiki.archlinux.org/title/Pacman#Using_pacman-static
i don’t have it installed on my system
can’t find a link where to download the binary.
still working on it
I wouldnt expect anyone to have pacman-static
already installed.
The only problem is … it seems the AUR is down right now.
EDIT. The AUR seems to be back up. But I’m going to paste another link to the precompiled binaries:
https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/
PS. While a little more work to use if your package manager is broken … its worth noting manjaro also has pacman-static
in the repos … so a packaged version should be available from any of the mirrors.
so… i just have to wait?
okay, so i downloaded pacman-static from aur, but it throws Permission denied
even under root
Did you make the file executable? i.e. chmod +x ...
sorry, i didn’t… now it works
should i now upgrade my whole system using -Syu?
At least to start with.
Share any errors.
ok, so i ran the update, but at the end it gave me a warning warning: Public keyring not found; have you run 'pacman-key --init'?
, and then it throwed me a keyring is not writable
error. and pacman-key --init
gives me
pacman-conf: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libcrypto.so.3)
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
Are you running pacman-static
with sudo or with root account?
running with root, sudo returns the same error as pacman.
Update.
Tried to solve the keyring issue by using these commands.
pacman-key now outputs this:
pacman-conf: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libcrypto.so.3)
mkdir: cannot create directory ââ: No such file or directory
gpg: directory '/root/.gnupg' created
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/88A7A3B7DAF5DF3F049A5A22C1882F7781617AEC.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
but pacman-key --populate
returns
pacman-conf: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /usr/lib/libcrypto.so.3)
==> ERROR: You do not have sufficient permissions to read the pacman keyring.
==> Use 'pacman-key --init' to correct the keyring permissions.
and so pacman-static still cannot install anything
I’m guessing this won’t be resolved by simply reinstalling glibc:
sudo pacman -Syu glibc
You violated the r/archlinux subreddit rules by posting there and were called out. Please don’t do that.
Only Arch Linux itself. No other related distributions that might have a base around Arch Linux.
Manjaro is not Arch. Arch is not Manjaro. Arch users cannot help you.
I’m not sure what part of this you don’t understand: