I was wondering if I could enable more repos on the Librem 5. Like, which debian versions do the Librem 5 versions correspond to? Also, is there some way to switch to whichever version corresponds to Debian Testing?
If I may suggest that you apply caution here see this information on debian site
You can look at /etc/debian_version
and /etc/lsb-release
to find the OS version information.
There will be concerns for packages binary for the Librem5 ARCH that will need to exist on repos for anything to work.
Can you, yes.
Is it “safe” doubt it, at this stage. Though backports may be less risky than the others.
Before changing any repo configurations I would make sure you’re comfortable reinaging the phone and starting from scratch if things go wrong.
I believe currently the phone is running pure os amber-phone. It might be worth checking if there’s a birch-phone byzantium-phone option if you’re looking for newer packages before looking at debian testing or debian sid.
My understanding is pure os amber is a fork of debian buster and birch byzantium is a fork of bullseye.
Something else that may be worth looking into is “mobian” as that is working on the pinephone and in turn is more mobile focussed than plain debian at this time.
Correction here if I may that is not true.
Birch is just the phone hardware version, there was Birch, Chestnut, Dogwood then Evergreen.
As for Debian versions, really check files in /etc
they will be more accurate than people on forums.
Good eye, edited to fix birch/byzantium mixup. Birch is a phone version/revision byzantium is an os version/revision… My bad.
hehe no worries. Sorry if I sounded pissed off, as english is not my 1st language.
Thanks guys. I am comfortable reflashing the phone. I have already done so a dozen times between PureOS and postmarketOS. So it sounds like what I want to do is use PureOS byzantium, which corresponds to Debian Testing. I did find this, which I think is all the PureOS repos: http://repo.pureos.net/pureos/dists/ . Looks like byzantium does not have a phone repo like amber does. It’s probably not a good idea to mix amber and byzantium repos. There does appear to be amber-phone-staging though, which might be something I am interested in… Do either of you know where to add repos? In Debian, it should be in /etc/apt/sources.list, but that file doesn’t exist on my phone.
Yes, as I understand it amber-phone-staging is like amber-phone but with new things appearing earlier, new versions appear first in amber-phone-staging and then if they seem to work they come to amber-phone a few days/weeks later. So you can just use amber-phone-staging instead of amber-phone if you feel like living on the edge.
Are you sure? I think /etc/apt/sources.list
should be there, and that is where you can replace amber-phone with amber-phone-staging and also where you can add “deb-src” lines if you want “apt-get source” to work.
It’s present on mine.
You’re right, it is there. It wasn’t visible in whatever file explorer I was using on the phone. I can see it using the terminal though.
Thanks. You are right, it is there. I’ll give the staging repo a try.
Last question! Is there a way to add non-free repos?
I’m using Nemo, just for info.
There are no pureos non-free repos, if that’s what you’re looking for, they don’t exist.
If you mean the debian non-free, the same way you would add them to debian via sources.list
All the previous warnings about mixing os repos apply.
Thanks. I was using “Files”. Nemo appears to be much better.