Moderators, translator
455
edits
K2latmanesh (talk | contribs) m (adding a note) |
(Removed confusing section - perhaps obsolete - rewritten with tried and tested commands) |
||
Line 85: | Line 85: | ||
{{Warning|The following commands only work, when your system time is set correctly! }} | {{Warning|The following commands only work, when your system time is set correctly! }} | ||
{{BoxInfo|Info|Retrieving the latest keyring packages can be done by browsing a current mirrors pool folder. E.g. from '''https://mirror.easyname.at/manjaro/pool''' - using the '''overlay''' for Manjaro keyring and '''sync''' for Arch keyring and downloading them to your system. Do not download '''.sig''' files.}} | |||
''' | |||
''' | |||
{{BoxInfo|Info|Those running ARM can find the '''archlinuxarm-keyring''' and '''manjaro-arm-keyring''' in the '''sync-arm''' and '''overlay-arm''' folders respectively.}} | |||
''' | |||
'''Download the new keyring packages''' | |||
''' | Before you download ensure no keyring packages is in the current folder. | ||
{{UserCmd|command= | {{UserCmd|command=rm manjaro-keyring* archlinux-keyring*}} | ||
Use either your browser or curl to download. Using curl assumes you know the correct package name as located with the mirror. Replace '''YYYYMMDD-R''' as available from the mirror. | |||
{{UserCmd|command=curl -O https://mirror.easyname.at/manjaro/pool/overlay/manjaro-keyring-YYYYMMDD-R-any.pkg.tar.xz}} | |||
{{ | {{UserCmd|command=curl -O https://mirror.easyname.at/manjaro/pool/sync/archlinux-keyring-YYYYMMDD-R-any.pkg.tar.zst}} | ||
'''Remove the dysfunctional keyrings''' by entering this command: | |||
''' | |||
{{UserCmd|command=sudo rm -r /etc/pacman.d/gnupg}} | {{UserCmd|command=sudo rm -r /etc/pacman.d/gnupg}} | ||
'''Initialize the pacman keyring''': | |||
''' | |||
{{UserCmd|command=sudo pacman-key --init}} | {{UserCmd|command=sudo pacman-key --init}} | ||
'''Install the downloaded packages''' | |||
''' | Assuming the files is the current folder and using wildcard so you don't have to deal with dates and versions - remove the packages after successful installation | ||
{{UserCmd|command=sudo pacman -U manjaro-keyring*.pkg.tar.xz archlinux-keyring*.pkg.tar.zst}} | |||
{{UserCmd|command= | |||
'''Populate the keyrings''' - (optional as the install process will do that) | |||
''' | {{UserCmd|command=sudo pacman-key --populate manjaro archlinux}} | ||
{{UserCmd|command=sudo pacman - | |||
'''Clear out the software packages downloaded during the aborted installation''' (optional): | |||
''' | {{warning|The command clears the pacman cache completely, and one will not be able to downgrade to a previous version of a package if required. Instead packages that are causing signing errors can be removed individually when upgrading.}} | ||
{{warning|The | |||
{{UserCmd|command=sudo pacman -Sc}} | {{UserCmd|command=sudo pacman -Sc}} | ||
After that try running '''sudo pacman -Syyu''' to see if the errors were resolved. | |||
After that try running '''sudo pacman - | |||
== Conflicting files - ''FILENAME'' exists in filesystem == <!--T:39--> | == Conflicting files - ''FILENAME'' exists in filesystem == <!--T:39--> |