Hi folks!
Yesterday, I joined the club and installed PostmarketOS+phosh on my "new" OnePlus6. Besides a usb-c (power only) cable that cost me an hour to troubleshoot, everything went smoothly.
Well, nearly everything. What I cant figure out at this point is how to install and get software. I'm on the latest stable release which might have been a mistake but I'm usually quite cautious at first.
So my problem is pmos came with 16 apps preinstalled and the software app only shows these when I open it. Can someone confirm or deny if this is normal? I asked around in 5 different places for stuff in the last 16 hrs (yes, I did sleep in between) and I know a lot of stuff now but this I could not figure out. :D
I know I can install flatpak, which I did but it never shows any results at all which I find unrealistic. I put in the repo like it is shown in the wiki and I have internet. Something else must be wrong.
I'm an admin by trade and I do some software development as a hobby so feel free to assume I know how to use the command line. I'm only a full time linux user for maybe half a year.
Anybody got ideas what might be wrong?
Alpine edge testing apps are in postmarketOS edge. So yeah, not all of them make it to stable, but quite a few do:
For software listed on https://linuxphoneapps.org/ the count is as follows: Alpine 3.19: 160 Alpine edge: 198
(Source: https://linuxphoneapps.org/packaged-in/)
The difference should be mostly the apps that have not made it beyond testing, yet.
Please note that you can also try installing testing apps on stable by
apk add PKGNAME --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
, or, maybe as more safe way of doing this, use distrobox, install alpine:latest in it, and changing/etc/apk/repositories/
to make it edge instead of 3.19.You can also try to build some software that's not packaged by coming up with your own APKBUILDs, I did so a while ago on https://framagit.org/linmobapps/apkbuilds, maybe the notes I left there can be helpful to you.
Regarding Wikis: They always get stale, so clarifications and additions are surely welcome!
Please don't ever suggest this. That approach is prone to breakage and shouldn't be used. You're installing an app built against edge on a stable release which has different versions of libraries and might even be missing dependencies entirely. If you want something from testing, just switch to edge and enable the entire testing repo.
Thanks for the suggestions. Thats exactly the route I‘m taking. I made an account on alpines gitlab and also did a gnome app tutorial to make some rudimentary things for the phone.
While we‘re at it: do you know if there is any way to get alpine apk visible in gnome software? Its driving me nuts that flatpak is visible and apk which is a lot of stuff can only be installed through cli.
Nice!
It's a long standing issue, for context I recommend reading https://blogs.gnome.org/pabloyoyoista/2023/03/05/gs-and-pmos-a-bumpy-road/
Thanks a lot for mentioning this. In other words, this does work on edge. But it does not work for me on stable… the question being if its because stable or because of a bug…
It did work on edge at the time of that post (March 2023), and IIRC it may have worked in stable 23.06 (the release right after that post) - I don't have a device still running that to confirm. It since broke again, and it's currently broken in stable and testing (it's definitely broken for me in edge in both Plasma Mobile (KDE Discover) and Phosh/GNOME Mobile (GNOME Software). So don't go to edge because of this, especially not right now.
Wow! Now I‘m somehow more informed and confused at the same time which is on par for my experience with linux phones so far :D
Thank you very much for elaborating. This is really important info for me.
So, it might be my device on 23.12 stable that is having issues but it might also be 23.12 itself that is causing this. Please correct me if thats wrong.
As flatpak apps show (correct?) your situation is not different from what I would expect. I installed 23.12 on one of my devices and see a similar behavior. Generally, assuming you did start with a Phosh image or used pmbootstrap and chose phosh as UI (and did not, say, start out with Plasma Mobile and then switched over to Phosh, which can cause weirdness), I think we can safely say that this not just an issue on your end. This is very likely a general issue on 23.12 and edge currently.
Why isn't it fixed already? It sure seems to be difficult, and most "long termers" (extrapolating from my own behavior) likely have given up on using front-ends like GNOME Software or KDE Discover and have become fluent enough with apk and flatpak on the terminal and thus don't contribute to a solution.
Makes total sense! Thanks.
Would you suggest I open up an issue then?
Generally yes, but I am just a dumb tech blogger, so what do I know 😀 . I checked the issue tracker, and this issue seems related - I also see that crash, and it might extend beyond upgrades and thus be the source of what you are seeing. If you also see that crash of that service, maybe just upvote the existing issue first or if you can chime in/help out, do that before opening a potential duplicate :-)
That is the exact issue I‘m having. I commented on it with my own log.