If you think you have ever felt true fear, you havent tried Gentoo yet

  • Twinklebreeze @lemmy.world
    link
    fedilink
    arrow-up
    24
    ·
    3 days ago

    The y argument tells pacman to update the package list. This is so your computer is downloading the new packages instead of old ones from last time you updated it. The second y tells it to delete the old package list and download it from scratch. This is useful if pacman isn’t working correctly. Maybe the files got corrupted. But it wastes more resources for the repo so it is not recommended as a default.

    • JaddedFauceet@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      3 days ago

      Oh wow, I have always thought the y stands for “yes to any questions” turns out it has a --noconfirm

      Should have read the man page…

      -y, --refresh
                 Download a fresh copy of the master package databases (repo.db) from the server(s)
                 defined in pacman.conf(5). This should typically be used each time you use
                 --sysupgrade or -u. Passing two --refresh or -y flags will force a refresh of all
                 package databases, even if they appear to be up-to-date.