User Tools

Site Tools


pacman

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pacman [2022/07/20 16:58] – archlinux-keyring rjtpacman [2024/09/15 19:54] (current) – [Maintenance] rjt
Line 26: Line 26:
 === .pacnew === === .pacnew ===
  
-There are tools to manage ''.pacnew'' files that are created when core config files are updated FIXME+There are tools to manage ''.pacnew'' files that are created when core config files are updated
 + 
 +  * [[https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave#Managing_.pac*_files|Managing .pac* files]]
  
 I just use [[vim#vimdiff]] to check difference between the current and new files. You could also just use ''vim -d [file] [file]''. ''Ctrl+w [left or right arrow]'' to switch window, btw. I just use [[vim#vimdiff]] to check difference between the current and new files. You could also just use ''vim -d [file] [file]''. ''Ctrl+w [left or right arrow]'' to switch window, btw.
Line 67: Line 69:
  
 If you get errors about keys (and things like files being corrupt), try updating ''archlinux-keyring'' before doing a full update. EG: (''sudo pacman -Sy archlinux-keyring && sudo pacman -Su''. You might want to chuck that in an alias. If you get errors about keys (and things like files being corrupt), try updating ''archlinux-keyring'' before doing a full update. EG: (''sudo pacman -Sy archlinux-keyring && sudo pacman -Su''. You might want to chuck that in an alias.
 +
 +nbjp [[https://monthly-reports.archlinux.page/2022/07/|Apparently Arch now updates the keyring weekly]].
 +
 +I was getting this error: ''warning: Public keyring not found; have you run 'pacman-key --init'?'' which was mucking up the upgrade process. These steps fixed it:
 +
 +  - ''sudo rm -r /etc/pacman.d/gnupg''
 +  - ''sudo pacman-key --init''
 +  - ''sudo pacman-key --populate archlinux''
 +  - ''sudo pacman -S archlinux-keyring''
  
 ==== AUR ==== ==== AUR ====
pacman.1658300313.txt.gz · Last modified: 2022/07/20 16:58 by rjt