W:GPG error: https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 56A3DEF863961D39, W:The repository 'https://download.01.org/gfx/ubuntu/16.04/main xenial InRelease' is not signed., W:Data from such a repository can't be authenticated and is therefore potentially dangerous to use., W:See apt-secure(8) manpage for repository creation and user configuration details., W:There is no public key available for the following key IDs:
56A3DEF863961D39 , E:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh > /dev/null; fi', E:Sub-process returned an error code
解决方法是添加两个签名:
Error running transaction: GDBus.Error:org.debian.apt.TransactionFailed: error-dep-resolution-failed: The following packages have unmet dependencies:
libgles1-mesa: Depends: libglapi-mesa (= 12.0.6-0ubuntu0.16.04.1) but 17.0.7-0ubuntu0.16.04.1 is to be installed
The following packages have unmet dependencies:
libgles1-mesa: Depends: libglapi-mesa (= 12.0.6-0ubuntu0.16.04.1) but 17.0.7-0ubuntu0.16.04.1 is to be installed
解决方法:
...
Installation completed successfully.
Next steps:
1. Add OpenCL users to the video group: 'sudo usermod -a -G video USERNAME'
e.g. if the user running OpenCL host applications is foo, run: sudo usermod -a -G video foo
2. If you have Intel Pentium J4000 or Intel Celeron J3000, you will need to add:
i915.preliminary_hw_support=1
to the 4.7 kernel command line, in order to enable OpenCL functionality for these platforms.
3. Reboot into the patched 4.7 kernel
HINT: to boot into the 4.7 kernel do the following:
1) Hold the "shift" button during boot
2) When the GRUB menu appears, select "Advanced options for Ubuntu"
3) Select the Linux 4.7.0.intel.r5.0 kernel from the list
重启后即可。
如果中途出现APT的错误,参考:http://www.cnblogs.com/EasonJim/p/7343892.html
离线文件:
链接: https://pan.baidu.com/s/1qXW2k5A 密码: 2rj2