I just downloaded the latest SDK for OpenCL Applications 2014 Beta for Ubuntu, but I'm experiencing an issue that is not allowing me to successfully complete installation of the software. My environment is as follows:
CPU: Intel Core i7-3612QM (Ivy Bridge)
OS: Ubuntu 14.04 (LTS) x64
OpenCL 2014 Beta SDK: 18.104.22.16837 x64
After unpacking the tgz, I successfully installed the first two packages from the install-cpu.sh file: opencl-1.2-base-22.214.171.12437-1.x86_64.deb and opencl-1.2-devel-126.96.36.19937-1.x86_64.deb. However, the third package (opencl-1.2-intel-cpu-188.8.131.5237-1.x86_64.deb) fails to install with an error message that doesn't provide much insight into what went wrong. Below is the exact command line and output:
sudo dpkg -i opencl-1.2-intel-cpu-184.108.40.20637-1.x86_64.deb
(Reading database ... 208132 files and directories currently installed.)
Preparing to unpack opencl-1.2-intel-cpu-220.127.116.1137-1.x86_64.deb ...
/var/lib/dpkg/info/opencl-intel-cpu.prerm: 1: /var/lib/dpkg/info/opencl-intel-cpu.prerm: /usr/sbin/update-alternatives: not found
Unpacking opencl-intel-cpu (1.2-18.104.22.16837) over (1.2-22.214.171.12437) ...
Setting up opencl-intel-cpu (1.2-126.96.36.19937) ...
/var/lib/dpkg/info/opencl-intel-cpu.postinst: 2: /var/lib/dpkg/info/opencl-intel-cpu.postinst: [[: not found
/var/lib/dpkg/info/opencl-intel-cpu.postinst: 18: /var/lib/dpkg/info/opencl-intel-cpu.postinst: /usr/sbin/update-alternatives: not found
dpkg: error processing package opencl-intel-cpu (--install):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
Any help would be most appreciated!