this post was submitted on 01 Oct 2025
23 points (87.1% liked)

Linux

58675 readers
543 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 6 years ago
MODERATORS
 

On Archlinux it is not recommended to update only one package with the package manager pacman. Let's say I have 11 packages, and one of them is extra/firefox (true story). Updating only a pacman -S firefox could introduce problems, but installing a new single package if it wasn't there is okay.

So my question is, could we get around this by removing and installing the same package again in one go: pacman -Rs firefox && pacman -S firefox

you are viewing a single comment's thread
view the rest of the comments
[–] racketlauncher831@lemmy.ml 2 points 23 hours ago* (last edited 23 hours ago)

I haven't used Arch in a decade, but as unstable as Arch is, I don't think Arch doesn't have dependencies poorly defined like that.

Say, firefox-1 does not depend on libssl-1, but now you upgrade it to firefox-2, you won't succeed if you successfully downloaded firefox-2, but failed to download libssl-1, because pacman shall fail, while saying the reason being failed to download all of its dependencies.

If you start with a system with both firefox-1 and libssl-1 installed, upgrading firefox-1 to firefox-2 sure would have no problem, because its dependencies are already fulfilled.

If your system is breaking, it's probably due to some other issue, but it could not be pacman's.