canonical / ubuntu-desktop-provision

Ubuntu Desktop Provision
GNU General Public License v3.0
58 stars 27 forks source link

feat: run `ubuntu-bug` when error page is shown #770

Open d-loose opened 1 month ago

d-loose commented 1 month ago

There are some issues with the classic snap environment when trying to run ubuntu-bug:

ubuntu@ubuntu:~$ snap run --shell ubuntu-desktop-bootstrap
ubuntu@ubuntu:~$ ubuntu-bug ubuntu-desktop-bootstrap
Cannot start: /lib/x86_64-linux-gnu/libgirepository-1.0.so.1: undefined symbol: g_once_init_leave_pointer

After adding libgirepository-1.0.so.1 to the stage-packages I get the following instead:

ubuntu@ubuntu:~$ snap run --shell ubuntu-desktop-bootstrap
ubuntu@ubuntu:~$ ubuntu-bug ubuntu-desktop-bootstrap
Cannot start: /usr/lib/python3/dist-packages/gi/_gi.cpython-312-x86_64-linux-gnu.so: undefined symbol: g_assertion_message_cmpint

I’ve tried staging python3-gi as well, but couldn’t resolve it yet.

Not sure how deep that rabbit hole goes.

UDENG-3172