PINE64
[Fixed] Phosh crashes frequently after latest updates - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: [Fixed] Phosh crashes frequently after latest updates (/showthread.php?tid=17381)

Pages: 1 2 3


RE: EDIT: Phosh crashes frequently after latest updates (important - don't update!) - jsch - 09-22-2022

The issue seems to be related to https://gitlab.gnome.org/World/Phosh/phosh/-/issues/840 and https://gitlab.gnome.org/World/Phosh/phosh/-/issues/841

glib 2.74 does no longer support G_REGEX_JAVASCRIPT_COMPAT whereas phosh was build with using that regex type/module

So we have to wait for a newer phosh release (or one compiled with a different flag?) before it's safe to upgrade libglib2


RE: EDIT: Phosh crashes frequently after latest updates (important - don't update!) - arno_nuehm - 09-22-2022

(09-22-2022, 11:20 AM)jsch Wrote: The issue seems to be related to https://gitlab.gnome.org/World/Phosh/phosh/-/issues/840 and https://gitlab.gnome.org/World/Phosh/phosh/-/issues/841

glib 2.74 does no longer support G_REGEX_JAVASCRIPT_COMPAT whereas phosh was build with using that regex type/module

So we have to wait for a newer phosh release (or one compiled with a different flag?) before it's safe to upgrade libglib2

Downgrading the three liglib2 packages did the trick - thanks a million!


And to keep these packages even after the next update, it is neccessary to mark the packages on hold like this

Code:
sudo apt-mark hold libglib2.0-0 libglib2.0-bin libglib2.0-data

Type unhold for updating, when the issue with Phosh is solved.

Cheers!


RE: [Temporarily Fixed] Phosh crashes frequently after latest updates - d-.-b - 09-22-2022

(09-22-2022, 12:55 PM)arno_nuehm Wrote: Downgrading the three liglib2 packages did the trick - thanks a million!

I would like to know how to do that please.

Thank you very much!


RE: [Temporarily Fixed] Phosh crashes frequently after latest updates - arno_nuehm - 09-22-2022

(09-22-2022, 01:56 PM)d-.-b Wrote:
(09-22-2022, 12:55 PM)arno_nuehm Wrote: Downgrading the three liglib2 packages did the trick - thanks a million!

I would like to know how to do that please.

Thank you very much!

jsch posted the solution:

Code:
wget http://snapshot.debian.org/archive/debian/20220831T091202Z/pool/main/g/glib2.0/libglib2.0-bin_2.73.3-3_arm64.deb http://snapshot.debian.org/archive/debian/20220831T091202Z/pool/main/g/glib2.0/libglib2.0-data_2.73.3-3_all.deb http://snapshot.debian.org/archive/debian/20220831T091202Z/pool/main/g/glib2.0/libglib2.0-0_2.73.3-3_arm64.deb

sudo dpkg -i libglib2.0-0_2.73.3-3_arm64.deb libglib2.0-bin_2.73.3-3_arm64.deb libglib2.0-data_2.73.3-3_all.deb



RE: [Temporarily Fixed] Phosh crashes frequently after latest updates - arno_nuehm - 09-22-2022

If you want to get updates run again, you have to downgrade three other packages:

Code:
wget https://repo.ialab.dsu.edu/debian/pool/main/g/gobject-introspection/libgirepository-1.0-1_1.73.0%2Bds-1_arm64.deb https://repo.ialab.dsu.edu/debian/pool/main/g/gobject-introspection/gir1.2-glib-2.0_1.73.0%2Bds-1_arm64.deb https://repo.ialab.dsu.edu/debian/pool/main/g/gobject-introspection/gir1.2-freedesktop_1.73.0%2Bds-1_arm64.deb

sudo dpkg -i libgirepository-1.0-1_1.73.0+ds-1_arm64.deb gir1.2-glib-2.0_1.73.0+ds-1_arm64.deb gir1.2-freedesktop_1.73.0%2Bds-1_arm64.deb

sudo apt-mark hold libgirepository-1.0-1 gir1.2-glib-2.0 gir1.2-freedesktop

After this, updates should work again...


RE: [Temporarily Fixed] Phosh crashes frequently after latest updates - dante404 - 09-23-2022

Thank you jsch !
Thank you arno_nuehm !
You have saved the day! Smile


RE: [Temporarily Fixed] Phosh crashes frequently after latest updates - anonymous - 09-23-2022

It works anew. I updated and upgraded about 3 hours ago, I have no longer any crash.


RE: [Temporarily Fixed] Phosh crashes frequently after latest updates - Zebulon Walton - 09-23-2022

I ran updates today after about a week and all seems to be OK as well. I did a full image backup first just in case, then ran update, upgrade, and dist-upgrade. I checked to see if dist-upgrade was going to clobber anything like when it removed the "Settings" program a little while ago and nothing looked dangerous. Rebooted and as far as I can tell nothing is amiss. Phosh is stable, nothing seems to be missing, address book looks OK, and the phone can make calls.


RE: [Temporarily Fixed] Phosh crashes frequently after latest updates - dante404 - 09-24-2022

Confirmed, after I did:
Code:
sudo apt-mark unhold libglib2.0-0 libglib2.0-bin libglib2.0-data
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

...and rebooted, everythings back to normal! Smile


RE: [Temporarily Fixed] Phosh crashes frequently after latest updates - arno_nuehm - 09-25-2022

Can confirm, too.

Had to unhold the three other libg2 packages.

Marking as solved.