root@miner01:~/downloads/amdgpu-pro-16.40-348864# ./amdgpu-pro-installTurns out, there seems to be a problem with the source_list function. Editing amdgpu-pro-install and changing the function from:
tee: /etc/aptsources.list.d/amdgpu-pro.list: No such file or directory
function source_list() {
local dir etc sourceparts
eval $(apt-config shell dir Dir)
eval $(apt-config shell etc Dir::Etc)
eval $(apt-config shell sourceparts Dir::Etc::sourceparts)
echo ${dir}/${etc}/${sourceparts}/amdgpu-pro.list
}
and editing the sourceparts line to this:
echo ${dir}/${etc}/${sourceparts}/amdgpu-pro.list
seems to fix the problem. Hopefully this will help someone else out in the future.