• PieMePlenty@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    15 days ago

    Never had an update break on headless Debian. Even when switching from 12 to 13. That shit is solid.
    I’m getting used to arch on my main desktop and I still can’t figure out why the hell “sync” is the wording pacman uses for updating or why ‘y’ is refresh. Sync refresh upgrade my ass. I will admin, it is fast.

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      14 days ago

      Because you’re “sync”ing with the state of the repo. You’re not necessarily upgrading. Sometimes the repos have a lower version than what you have, so you would be downgrading in that case. Or sometimes you’re just using it to install a new package and its dependencies.

      -u is upgrade. And -uu is upgrade or downgrade. It’s used to filter the packages that sync operates on, so basically you’re syncing any packages that have a different version than the repo.

      -y for refresh? No idea. -r is root, so I guess it was already in use by the time someone added refresh?