this post was submitted on 23 Mar 2024
6 points (100.0% liked)

postmarketOS

982 readers
1 users here now

postmarketOS - a real Linux distribution for phones and other mobile devices ๐Ÿง ๐Ÿ“ฑ ๐Ÿ‘ฉโ€๐Ÿ’ป

Rules:

See also:

founded 3 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] linmob@lemmy.ml 3 points 7 months ago (2 children)

This sounds more like a network problem, maybe something on your end or that one of the repos was temporarily unreachable (usually it's the postmarketOS repo for me in such situations). I recommend running sudo apk update in situations like this and reading through the output. Depending on which repo is unreachable (= if it's one of the alpine repos) it may be a better idea to delay upgrading.

It definitely has nothing to do with the device being dropped from main to community โ€” both categories mean that the device is served by stable.

Hope this helps!

[โ€“] PublicLewdness@lemmy.ml 1 points 7 months ago* (last edited 7 months ago) (1 children)

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.ml 1 points 7 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)