It’s possible on other distros you just have to get the dependencies on your own. I managed to do it in Arch. You might progress with apt install debhelper
and trying again.
No, I’m flashing fine on Fedora, it just requires an extra step. Once you have uuu built, what are you doing next? Are you following the guide? https://developer.puri.sm/Librem5/Development_Environment/Phone/Troubleshooting/Reflashing_the_Phone.html#flash-the-image
You may want to try installing the debhelper-compact version 13 package
I only got as far as step 2, as follows, and didn’t want to go further, given the dependencies error.
First, check that everything is ready:
-
Check that the
librem5-flash-image
directory is the current directory. -
Make sure you have installed all python dependencies
sudo apt build-dep .
. -
Install the udev rules
sudo ./scripts/librem5-flash-image --udev
I had installed debhelper-compat
, but it indicates version 12.10 is the latest version.
Interesting. Debian stable version is 13.3.4 (https://packages.debian.org/source/stable/debhelper).
You may want to try with the debian package.
Ah, I see. That’s confusing. You need to install the following:
python3-coloredlogs,
python3-jenkins,
python3-requests,
python3-tqdm,
python3-yaml,
I had the same problem on Ubuntu - and hence wrote: https://source.puri.sm/Librem5/community-wiki/-/wikis/Building-uuu-and-Jumpdrive
It worked for me and, given the similarity with Mint, maybe will work for you.
considering that uuu
https://tracker.debian.org/pkg/mfgtools is in debian testing I find it strange that it is not in ubuntu
and derivatives.
Seems that the package exists in ubuntu since Ubuntu 21.04
:
https://packages.ubuntu.com/impish/uuu
https://packages.ubuntu.com/source/impish/mfgtools
EDIT: latest Linux Mint seems to be based on Ubuntu 20.04
so that is why it does not show in the repos.
Yes, exactly. You will note in my build instructions that it says for “Ubuntu 20.04” (focal). Ubuntu then went and wasted my time because as of 21.04 (hirsute) the package uuu
is there. https://packages.ubuntu.com/search?keywords=uuu However I would have needed to build Jumpdrive anyway.
you might get away with rebuilding the deb package from source on 20.04
and some minor tweaks in the control file, like lowering the debhelper version.
But the operative term here is: might
Still waiting for Byzantium to be officially released for L5 by purism. Will this ever happen? Some people have written that this is around the corner, but it seems that this corner is a long turn…
Byzantium is kind of on two tracks: laptops and phones. It might not offocially be released in general, but it’s the recommended OS for the phones now.
OK, but I haven’t seen an easy way to switch. If it is the recommended shouldn’t exist a trivial way to upgrade? All I read is several scripts and flashing and honestly I am confused. Has Purism setup a webpage saying “this is recommended and this is how you do it”?
I read for example the link https://developer.puri.sm/Librem5/Development_Environment/Phone/Troubleshooting/Reflashing_the_Phone.html
Look the section for flashing. It is so difficult and mainly uncertain. Where is the choice of Byzantium on this page? Maybe I do not have the correct link though.
I was expecting a news article from Purism saying “do that”. I either missed it or never existed.
There is no choice on that page, the flashing defaults to Byzantium. I think that’s kind of became official when we switched the flashing scripts to stop using Amber unless requested.
I’m not sure why we haven’t made this official though, but I will raise the topic internally.
Oh well. We can skip this step an install the python dependencies we need on our own. @dcz listed them above. (or in https://source.puri.sm/Librem5/librem5-flash-image/-/blob/main/requirements.txt)
I’m unsure if those packages are available independently in linux mint repos. I think you could install sudo apt install python3-pip
then do something like pip3 install -r requirements.txt
. If that works or you manually install the deps then you can continue on with the instructions.
Thanks. I’m a little scared to try this now; I don’t want to break my L5.