Enabilng webgl
-
I enabled webgl followingthe commands found in telegram:
These are the Terminal commands I used: sudo ubports-qa install xenial_-_gpu-browser sudo -i mount -o remount,rw / cd /etc/profile.d/ cp disable-qtwebengine-gpu.sh disable-qtwebengine-gpu.old rm disable-qtwebengine-gpu.sh
and it works ok but i'm left with this apt status:
ablet@ubuntu-phablet:~$ sudo apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be DOWNGRADED: lxc-android-config 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded. Need to get 0 B/48.7 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y dpkg: warning: downgrading lxc-android-config from 0.233+ubports0+0~20210326233237.3~1.gbp614445 to 0.233+ubports0+0~20210319074119.1~1.gbp6f8eda (Reading database ... 51142 files and directories currently installed.) Preparing to unpack .../lxc-android-config_0.233+ubports0+0~20210319074119.1~1.gbp6f8eda_all.deb ... Unpacking lxc-android-config (0.233+ubports0+0~20210319074119.1~1.gbp6f8eda) over (0.233+ubports0+0~20210326233237.3~1.gbp614445) ... dpkg: error processing archive /var/cache/apt/archives/lxc-android-config_0.233+ubports0+0~20210319074119.1~1.gbp6f8eda_all.deb (--unpack): unable to make backup link of './lib/udev/rules.d/70-android.rules' before installing new version: Invalid cross-device link Processing triggers for ureadahead (0.100.0-19.1) ... Processing triggers for dbus (1.10.6-1ubuntu3.6) ... Errors were encountered while processing: /var/cache/apt/archives/lxc-android-config_0.233+ubports0+0~20210319074119.1~1.gbp6f8eda_all.deb W: No sandbox user '_apt' on the system, can not drop privileges E: Sub-process /usr/bin/dpkg returned an error code (1)
Can this be fixed?
-
@suoko the problem is that we bind-mount a lot of files, if an update comes across such a file then it cannot be updated. Thats also why apt is only used as an update method in development. In your case its probably Ok to ignore the error though.
-
@suoko were you on dev channel before using the ubports qa tool?
-
@mateo_salta I am getting the same and am on the dev channel, so that's not it: https://forums.ubports.com/topic/3188/morph-browser-not-possible-to-show-map-due-to-missing-webgl/9?_=1627584581816 ... Is the ubports-qa command even available on stable/staging? I thought it is not present at all there.
-
@zubozrout It is but it's usually not recommended to use there especially if devel already has many changes compared to them. So it's safer when closer to an OTA release