cross-posted from: https://lemmy.blahaj.zone/post/11540913

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!

  • lurch (he/him)@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    7 months ago

    In most distros (including Arch) they get automatically updated to the latest version compatible with the packages that depend on it. As soon as all the packages that depend on it get updated and support a newer version of the dep, it also gets updated.

    • Ada@lemmy.blahaj.zoneOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      This is different to what I’ve been told in another answer. I’ve been told that dependencies can update without care about compatibility. In the case of official packages, the maintainers work around that by timing releases appropriately, but in the case of AUR packages, the dependencies can and do update without care about the packages that depend on them