I am attempting to install the OneAPI base toolkit on Ubuntu 20.04. There appears to be some errors in the repos that Ubuntu is trying to use. From the command "sudo add-apt-repository "deb https://apt.repos.intel.com/oneapi all main", there is the following set of errors:
E: The method driver /usr/lib/apt/methods/htps could not be found.
N: Is the package apt-transport-htps installed?
E: Failed to fetch htps://apt.repos/intel.com/oneapi/dists/all/InRelease
E: Some index files failed o download. They have been ignored, or old ones used instead.
I have attached a screen shot of the command used and errors encountered for reference.
There is no package "apt-transport-htps", but there is "apt-transport-https" that *is* installed. The website "htps://apt.repos/intel.com/oneapi/dists/all/InRelease" does not exist. However, "https://apt.repos.intel.com/oneapi/dists/all/InRelease does exist. Is there a fix for this, or a workaround?
Link Copied
Hi Robert, please use the following command on your terminal-
apt-get install apt-transport-https ca-certificates
If your apt-get is too broken to do this, you can download the package directly and install it with dpkg -i
Please share your findings with us.
Hi ,
Thank you for reaching out to us.
We are forwarding this query to Registration, Download, Licensing and Installation forum for much faster and correct solution.
Regards,
Raeesa
Hi,
Could you please try running “apt-get install -f “ on the terminal to fix broken packages if any. And let us know if your issue still persists.
Regards
Goutham
Hi Robert, please use the following command on your terminal-
apt-get install apt-transport-https ca-certificates
If your apt-get is too broken to do this, you can download the package directly and install it with dpkg -i
Please share your findings with us.
This resolved it. Thanks.
For more complete information about compiler optimizations, see our Optimization Notice.