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.

  • ollieparanoid@lemmy.mlM
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 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)