Dear community, I read this post, and it doesn’t not succeed for pacman-key fails too. I downloaded the script, made it executable… and it calls on stuff I don’t have:
./pacman-key: ligne 32: /usr/share/makepkg/util/message.sh: Aucun fichier ou dossier de ce type
./pacman-key: ligne 33: /usr/share/makepkg/util/parseopts.sh: Aucun fichier ou dossier de ce type
./pacman-key: ligne 545: parseopts : commande introuvable
warning: config file /etc/pacman.conf, line 12: directive ‘UseDelta’ in section ‘options’ not recognized.
I can not reinstall the system, I need a fully static solution that does not require any compiling. Can you help ?
]> sudo ./pacman-static -S pacman
warning: config file /etc/pacman.conf, line 12: directive ‘UseDelta’ in section ‘options’ not recognized.
resolving dependencies…
looking for conflicting packages…
Packages (2) pacman-mirrorlist-20230410-1 pacman-6.0.2-7
Total Installed Size: 4.77 MiB
:: Proceed with installation? [Y/n] Y
error: no servers configured for repository: core
(0/2) checking keys in keyring (1/2) checking keys in keyring (2/2) checking keys in keyring
warning: Public keyring not found; have you run ‘pacman-key --init’?
downloading required keys…
error: keyring is not writable
error: keyring is not writable
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Then I tried downloading and using pacman-key, thus producing the error message I provided in the first message.
I do not know. Obviously I did not deleted pacman willingly, I wanted to get rid of something and gave my consent automatically as I was struggling with something and tried out a few solutions. And it did away with pacman and other stuff, like gimp.
yes, but which ones ?!
Can I get a list of dependencies not already installed so I download them individually ?
warning: config file /etc/pacman.conf, line 12: directive ‘UseDelta’ in section ‘options’ not recognized.
loading packages…
resolving dependencies…
looking for conflicting packages…
Packages (3) pacman-6.0.2-7 pacman-mirrorlist-20230410-1
archlinux-keyring-20230504-1
Total Installed Size: 6.38 MiB
:: Proceed with installation? [Y/n] Y
error: no servers configured for repository: core
(3/3) checking keys in keyring [##########] 100%
warning: Public keyring not found; have you run ‘pacman-key --init’?
downloading required keys…
error: keyring is not writable
error: keyring is not writable
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
sudo ./pacman-static -U ./archlinux-keyring-20230504-1-any.pkg.tar.zst
warning: config file /etc/pacman.conf, line 12: directive ‘UseDelta’ in section ‘options’ not recognized.
loading packages…
resolving dependencies…
looking for conflicting packages…
Packages (3) pacman-6.0.2-7 pacman-mirrorlist-20230410-1
archlinux-keyring-20230504-1
Total Installed Size: 6.38 MiB
:: Proceed with installation? [Y/n] Y
error: no servers configured for repository: core
(3/3) checking keys in keyring [##########] 100%
warning: Public keyring not found; have you run ‘pacman-key --init’?
downloading required keys…
error: keyring is not writable
error: keyring is not writable
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.