23
Do not update single packages on Archlinux, but
(beehaw.org)
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
You're correct partial upgrades are unsupported. Arch follows a rolling release model, meaning there are no fixed "versions" of the system. Instead, everything is continuously updated. Each package is built and tested against the current state of the rest of the system in the Arch repositories. That package was compiled against the latest system libraries in the repos, not necessarily the ones on your machine.
Your proposed "workaround" may work if the package is standalone and has few/no dependencies. Again, ArchLinux strongly recommends full system upgrades (pacman -Syu) rather than only reinstalling/upgrading a single package, because library or dependency mismatches can occur if your system is out of sync.
A safer approach may be to use "pacman -S package --needed" which will avoid removing it first and automatically handles dependencies safely.
But
pacman -S package
to install a new application is not considered a partial upgrade.