I am trying to upgrade the webots app from core18 to core20. I decided to use the new extension feature and include the gnome-3-38 extension.
This extension defines a layout: /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0. And webots needs to define another layout: /usr/lib/x86_64-linux-gnu, in order to be able to compile with gcc from the webots IDE for example.
I got this error :
error: cannot pack “/home/username/webots-snap/prime”: cannot validate snap “webots”: layout “/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0” underneath prior layout item “/usr/lib/x86_64-linux-gnu”
I do not need the layout define by gnome as it is already included in the other layout. How can I prevent this layout to be defined by the extension or remove it? If it is not possible, is there a work-around to be able to get both layout work?