From 42767fe41f86761b7ce67838e7cb3c34c0a998f6 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Sat, 27 May 2023 19:07:26 +0200 Subject: [PATCH] add pacdiff tool to arch --- distros/arch/pacman.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/distros/arch/pacman.md b/distros/arch/pacman.md index 80cddc7..89cbe79 100644 --- a/distros/arch/pacman.md +++ b/distros/arch/pacman.md @@ -36,3 +36,14 @@ If you're constantly getting 'everything corrupted, nothing upgraded', try runni List all orphaned packages: > sudo pacman -Qtdq + +## Cleaning Config Files + +Arch does not overwrite your changes to configuration files. +Instead, it updates them by adding the `.pacnew` suffix. + +So when `/etc/pacman.conf` receives an update, this will be placed in `/etc/pacman.conf.pacnew`. +These changes must be merge manually. + +Install the `pacdiff` tool to make this easier, from the `pacman-contrib` package, then simply run `sudo pacdiff` to sort through the various mergers. +