Recently I noticed when updating that pacman doesn’t resume where I stopped it (a few minutes before) which is not nice since my internet is slow. After a lot of searching I found out every time I run pacman -Syu it makes a new folder in /var/cache/pacman/pkg named download-xxxxxx where the x’s are randomized characters then it puts the downloaded .tar.zst files into that new folder ignoring the previous folder it created last time. My workaround was to move the contents of the previous download folder to it’s parent directory but what would be a permanent solution? I remember when this wasn’t the case so it must be a new “feature” I can hopefully disable.

  • SSUPII@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 month ago

    /etc/pacman.conf should have a voice where to put the cache files. Set it to a directory in your home

    • jroid8@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      ·
      1 month ago

      I don’t think changing CacheDir variable prevents this behavior, it would just create the download-xxxxxx folders in my newly selected cache directory