Crimson backports unofficial

I wonder if this is an unlocker situation…? In that thread you can see steps to take - if it’s the same situation, that workaround helped me. You using the new LUKS Crimson may be the culprit though - not sure if unofficial backports are compatible with it (some specific patch conflicting?).

2 Likes

I do not try to apply backports to the latest Crimson image yet…

What about the output of apt dist-upgrade? Is it finished without errors?

1 Like

The sudo apt dist-upgrade finised without errors, I can still see that because I did the upgrade over ssh, and I have the terminal still open.

After the upgrade I rebooted the Librem 5 remotely with sudo reboot, and then it went into the state as described above. I rebooted another time (via powerbutton) and got the same state. I did this all on an extra Librem 5 that I have, and that I do not use for the daily driving, so not issue there.

Maybe, when I find some time, I can try again on a freshly flashed non-luks Crimson image.

1 Like

Just for funzies, I’m going to now try backports on that LUKS image… wish me luck (275 available to update) [no ssh, just straight form the console]

4 Likes

Good luck! Looking forward for your results!

3 Likes

I got the Codeberg error but re-tried with sudo apt upgrade --fix-missing which seems to have been enough to continue… (it’s still going)

1 Like

Codeberg limits the number of connections, yes…

1 Like

I had to do sudo apt upgrade --fix-missing a few times but it seems to have succeeded. There were about 28 packages that needed dist-upgrade after that still. Seven got removed. Re-starting now… :hand_with_index_finger_and_thumb_crossed:

… and crypt got borked :frowning:

2 Likes

Nooo… which one still needed dist-upgrade?

2 Likes

Sorry, not able to check anymore (obs). But I’ll try to remember to list next time - I’m going to try the unlocker installation trick to this.

[They were (not full package names): epiphany, gnome (control-center, -data, online-accounts, settings-daemon, -common, usage), gsettings-desktop-schemas, libgoa, libnautilus-extension4, libpolkit-agent, libpolkit-goobject, libzbar, nautilus, nautilus-data, phoc, phosh (phosh, core, full, mobile-sttings, phone, plugins, tour) pkexec, polkidt, tracker, tracker-extract, tracker-miner-fs. Any chance these are official crimson specific? And it seems that the possibility to split update to regular and dist was what made it possible to eventually get files from Codeberg with --fix-missing.]

1 Like

Bingo. It did work indeed. I had to run sudo apt update --fix-missing some four or five times due to codeberg and then that dist-upgrade for the remaining, then do the unl0kr switch to get LUKS pw working, but I now have a “Frankenstein” LUKS Crimson with backported almost up-to-date system - Gnome 48, kernel linux 6.6.0-1-librem5, phosh 0.46… (so, quite new, a few months old [it’s what’s in the backports] - and I’m left to wonder if there are any patches there, for power savings or any other L5 specific peculiarity)

[Edit to add: I noticed that the “FrankenLUKSCrim” did not respond to my Sim8202g scripts but did find the modem after the manual procedure (three modprobes for drivers and echo+tee). It’s now also 5G capable.]

3 Likes

Do you have some more detailed instructions? How can you run any commands on an unlocked Librem 5? Is it worth to try to do this? Is your “FrankenLUKSCrim” working well now?

1 Like

It’s pretty straight forward. You install the clean luks crim, add crim backports to sources and do the upgrades as described (as in, until you get them done), then do the unl0kr stuff (fix one line in file, install the app, run an update command) and then reboot.

It seems to work with just that - haven’t tested too much in the last 20 minutes or so. The modem script thing was a surprise but I had a workaround for that. FF seems to freeze on occasion (epiphany hasn’t, yet). Nothing specific or critical has popped up so far. However, I wouldn’t recommend it for daily use unless you know how to take backups and are prepared to let it die if in the future something does come up - more of a test-toy or curiosity at this point, I think.

2 Likes

But how can I do this now my phone does not boot any more? How can I provide the commands when there is no prompt?

1 Like

The instructions begin with: “You install the clean luks crim…” and you do all the steps before restarting. I had to re-flash the image a couple of times before I got it right. If you’ve lost the prompt, as far as I know, there is no fixing it anymore (it’s easier to just re-flash a new disc image, or an old backup disc image).

1 Like

Great, thanks, I did not read well enough. I will reflash later ant try this.

3 Likes

It would be helpful to try call apt install <not-upgradable-package> manually. In this case apt should show a problem that blocked the package to upgrade.

Of cource, all packages must be already downloaded. You could use --download-only option for that.

For one of my testing setup (the first Crimson image upgradeg to backports) FF lost their interface. --safe-mode and new profile solved the problem for some time, but finally it fail back to the same state. I have no idea whet it is… Fortunately, upgraded Byzantium works well.

3 Likes

That could work, but the point is that they were eventually installed and due to Codeberg limitations, it was good that upgradables were forced to two groups.

How often are you updating the Crim backports packets these days?

2 Likes

Thank you very much! Having an up to date phosh is making me very happy!

4 Likes

Not so often… This is the effect of cumulative upgrade when you need to upgrade all packages one time.

2 Likes