16
submitted 2 months ago by ada@lemmy.blahaj.zone to c/archlinux@lemmy.ml

How do non explicitly installed package dependencies get updated in Arch? Do they update independently of the package that is dependent on them, or do they get updated when the parent package updates? Or is it some secret third thing?

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[-] MsFlammkuchen@lemmy.blahaj.zone 17 points 2 months ago

Every package gets updated, when there is an update for it. Dependencies don't matter for that.

Only if a package depends on a specific version of another package, is there a difference. When the dependency would get updated to a version that doesn't satisfy the version requirement. Then an error gets thrown and nothing gets updated.

But the package maintainers for the official repos don't really let that happen. It's more of a problem with aur packages.

[-] ccryx@discuss.tchncs.de 12 points 2 months ago

Adding to this: individual package updates are not supported. Always update your whole system, unless you know what you are doing.

load more comments (1 replies)
this post was submitted on 28 Apr 2024
16 points (94.4% liked)

Arch Linux

7173 readers
25 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS