33
submitted 2 days ago by onlooker@lemmy.ml to c/linux@lemmy.ml

I haven't distro hopped much in the past few years, so I am near clueless. I know that Linux Mint has a graphical updater and I vaguely remember openSUSE having it, though I'm not so sure on that one, because as I mentioned, it's been a while. Especially curious if any Arch-based distros have it.

you are viewing a single comment's thread
view the rest of the comments
[-] Ooops@feddit.org 1 points 2 days ago* (last edited 2 days ago)

When config files change with an update pacman writes the new one as a .pacnew file instead of overwriting the existing one. That's always an issue with updates on config files (although one less severe on slow updating distros). Do you keep the old config to keep your changes intact while ignoring new default options that should be in there or do you replace the old config with a recent one but risk using manual edits?

pacdiff basically just searches for .pacnew files and then queries you what to do with each.

You can define a viewer via a DIFFPROG= variable (I simply use vim -d because that's already my editor of choice but the package pulls diffutils as a dependency so just diff works, too) and compare the new default config file with the existing one side-by-side (with differences highlighted), so you can either copy your personal edits to the new one or copy additional or changed default options to your old one, whatever is easier. After that you have the option to dismiss/delete the .pacnew file or rename it to replace the old one.

PS: pacdiff is part of the pacman-contrib package. That package also provides checkupdates.

Running pacman -Syu updates your package list to the recent one, then updates all your outdated packages. You are not actually supposed to update the list, then abort the update of packages or just update some of them because Archlinux always assumes up-to-date systems (see: unsupported partial upgrades). So pacman should not be used to just check for available updates without updating. That's where checkupdates comes in, simulating pacman -Syu without actually touching your system and just getting a list of available updates.

PPS: the AUR has a similiar aur-check-updates tools to do the same for AUR packages.

this post was submitted on 20 Oct 2026
33 points (90.2% liked)

Linux

68215 readers
490 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS