[Fixed] Phosh crashes frequently after latest updates
#11
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
  Reply
#12
(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!
  Reply
#13
(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!
  Reply
#14
(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
  Reply
#15
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...
  Reply
#16
Thumbs Up 
Thank you jsch !
Thank you arno_nuehm !
You have saved the day! Smile
Using encrypted Mobian (bookworm) on pmOS CE Convergence PinePhone (3GB/32GB) as Daily Driver, and Beta Edition Convergence PinePhone (3GB/32GB) with encrypted Mobian (bookworm) as Backup device.
  Reply
#17
It works anew. I updated and upgraded about 3 hours ago, I have no longer any crash.
  Reply
#18
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.
  Reply
#19
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
Using encrypted Mobian (bookworm) on pmOS CE Convergence PinePhone (3GB/32GB) as Daily Driver, and Beta Edition Convergence PinePhone (3GB/32GB) with encrypted Mobian (bookworm) as Backup device.
  Reply
#20
Can confirm, too.

Had to unhold the three other libg2 packages.

Marking as solved.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto start application on Phosh login Zebulon Walton 8 5,099 10-14-2023, 06:29 AM
Last Post: alaraajavamma
  No volume control after latest updates Zebulon Walton 19 9,720 09-08-2023, 08:28 AM
Last Post: jessencan
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 5,269 08-31-2023, 12:38 PM
Last Post: vusra
  Haven't seen updates in a while Zebulon Walton 3 1,912 06-24-2023, 04:29 PM
Last Post: Zebulon Walton
  Using sway along phosh fdlamotte 2 3,862 05-11-2023, 04:24 PM
Last Post: kabouik
Exclamation Impossible to login since the latest update anonymous 12 6,073 02-26-2023, 01:01 PM
Last Post: anonymous
  Mobian + phosh firefox ublock and other overlays display bugs tuxcall 3 2,378 02-24-2023, 12:11 AM
Last Post: nexion
Exclamation The latest update of eg25-manager seems to cause frequent disconnections anonymous 12 6,069 11-28-2022, 03:30 PM
Last Post: anonymous
  Latest Reliable Mobian Build Confirmation Thread Katsujinken 5 3,616 09-27-2022, 08:41 AM
Last Post: Katsujinken
  Wifi issue since last update and held back updates goku499 11 7,258 09-21-2022, 02:39 PM
Last Post: Katsujinken

Forum Jump:


Users browsing this thread: 1 Guest(s)