oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions related to download, Installation and licensing for Intel oneAPI Toolkits and software development tools.
1345 Discussions

intel-oneapi-pytorch repo unreachable from apt-get

KevinR_Intel
Moderator
7,033 Views

I am trying to install oneAPI tools on a fresh Ubuntu machine. When I try
sudo apt-get install -y intel-aikit
I get the error

 

After this operation, 2479 MB of additional disk space will be used.
Err:1 https://apt.repos.intel.com/oneapi all/main all intel-oneapi-pytorch amd64 1.13.10.1-47264
404 Not Found [IP: 69.192.80.228 443]
E: Failed to fetch https://apt.repos.intel.com/oneapi/pool/main/intel-oneapi-pytorch-1.13.10.1-47264_amd64.deb 404 Not Found [IP: 69.192.80.228 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

 

This procedure for installing was working about 1 week ago. Did something happen to break a single repo?

0 Kudos
1 Solution
kta_intel
Moderator
5,338 Views

@KevinR_Intel 

Thanks for your patience. It looks like Intel Python has a dependency on bzip2, which did not come preinstalled on the Ubuntu 22.04.x instances that we've been using. Please double check if your system has bzip2 installed.

If not, install bzip2 and try reinstalling the ai kit

 

sudo apt update

sudo apt -y install bzip2

 

then install ai kit as you normally would, following the instructions on:  

https://www.intel.com/content/www/us/en/developer/tools/oneapi/ai-analytics-toolkit-download.html?operatingsystem=linux&distributions=aptpackagemanager

 

Please try this and let us know of any issues

 

 

View solution in original post

0 Kudos
24 Replies
Aditya18
Moderator
1,766 Views

Hi @kta_intel

I hadn't checked it on a fresh Ubuntu 22.04 machine. It was already having the older AI Analytics Toolkit. That might be the difference. Please open a ticket on this.


0 Kudos
kta_intel
Moderator
5,339 Views

@KevinR_Intel 

Thanks for your patience. It looks like Intel Python has a dependency on bzip2, which did not come preinstalled on the Ubuntu 22.04.x instances that we've been using. Please double check if your system has bzip2 installed.

If not, install bzip2 and try reinstalling the ai kit

 

sudo apt update

sudo apt -y install bzip2

 

then install ai kit as you normally would, following the instructions on:  

https://www.intel.com/content/www/us/en/developer/tools/oneapi/ai-analytics-toolkit-download.html?operatingsystem=linux&distributions=aptpackagemanager

 

Please try this and let us know of any issues

 

 

0 Kudos
KevinR_Intel
Moderator
1,148 Views

Yes, by installing bzip2, the aikit meta-package proceeded without the earlier errors.

 

There were still some lines in the install_neural-compressor.sh script that did not succeed, but there was a success message in the end.

 

/opt/intel/oneapi/tensorflow/2.12.0/../../neural-compressor/latest/install_neural-compressor.sh: 53: /opt/intel/oneapi/intelpython/latest/envs/tensorflow/etc/conda/deactivate.d/mpivars.deactivate.sh: [[: not found
/opt/intel/oneapi/tensorflow/2.12.0/../../neural-compressor/latest/install_neural-compressor.sh: 3: /opt/intel/oneapi/intelpython/latest/envs/tensorflow/etc/conda/deactivate.d/deactivate-opencl-rt.sh: [[: not found
/opt/intel/oneapi/tensorflow/2.12.0/../../neural-compressor/latest/install_neural-compressor.sh: 10: /opt/intel/oneapi/intelpython/latest/envs/tensorflow/etc/conda/deactivate.d/deactivate-opencl-rt.sh: [[: not found
0
Success to install neural-compressor in tensorflow.

0 Kudos
kta_intel
Moderator
996 Views

Hi @susie 

 

Yes, the solution in this case was to install bzip2, which did not come installed on ubuntu 22.04. Please give that try, but also note that Fedora 35 is not among the listed supported Linux OS

0 Kudos
Reply