I tried to update my Pinephone CE using "sudo apk upgrade -a" and received the error

"Not continuing due to stale/unavailable repositories. Use --force-missing-repositories to continue"

I am on 23.12 with Phosh. I remember hearing that the Pinephone may be getting dropped from main to community so I wasn't sure if this was related to that or something different. Is it safe to use the command it suggests ? I figured I would ask before blindly doing it.

  • PublicLewdness@lemmy.ml
    hexagon
    ·
    edit-2
    8 months ago

    I tried the update command and the repos that the error occur on are

    "http:////dl-cdn.alpinelinux.org/alpine/3.19/main"

    "http:////dl-cdn.alpinelinux.org/alpine/3.19/community"

    I don't get the error on my Pinebook Pro which si also on PostmarketOS 23.12 if that matters.

    • ollieparanoid@lemmy.mlM
      ·
      8 months ago

      Haven't seen that error yet, but I'd suggest trying other Alpine mirrors (set them in your /etc/apk/repositories): https://mirrors.alpinelinux.org/

      (there's also "apk fix" which helps when installing a package failed earlier for whatever reason, but that doesn't seem to be the cause here)