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.
1645 Discussions

Multiple installation issues with OneAPI and aikit toolkit

Quant-Geek
Beginner
3,324 Views

Hi,

 

There seems to be multiple issues with oneAPI as well as aikit toolkit when you install it using APT under Ubuntu as well as Ubuntu/WSL. For starters, I keep getting an upgrade request but every time I upgrade, it ends up in a loop and asks for another upgrade:

 

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
bridge-utils containerd pigz ubuntu-fan
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
intel-oneapi-compiler-cpp-eclipse-cfg intel-oneapi-compiler-dpcpp-cpp
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic intel-oneapi-compiler-dpcpp-eclipse-cfg
intel-oneapi-compiler-fortran
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 5936 B/9536 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]

 

This has been going on for a while. Furthermore, you can't even install aikit toolkit as it punts with an error:

 

The following packages were automatically installed and are no longer required:
bridge-utils containerd pigz ubuntu-fan
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
intel-aikit-getting-started intel-oneapi-common-licensing-2023.1.0 intel-oneapi-dal-daal4py-2023.2.0
intel-oneapi-dal-scikit-learn-intelex-2023.2.0 intel-oneapi-model-zoo intel-oneapi-modin intel-oneapi-mpi-2021.9.0
intel-oneapi-mpi-devel-2021.9.0 intel-oneapi-neural-compressor intel-oneapi-python intel-oneapi-pytorch
intel-oneapi-tensorflow
The following NEW packages will be installed:
intel-aikit intel-aikit-getting-started intel-oneapi-common-licensing-2023.1.0 intel-oneapi-dal-daal4py-2023.2.0
intel-oneapi-dal-scikit-learn-intelex-2023.2.0 intel-oneapi-model-zoo intel-oneapi-modin intel-oneapi-mpi-2021.9.0
intel-oneapi-mpi-devel-2021.9.0 intel-oneapi-neural-compressor intel-oneapi-python intel-oneapi-pytorch
intel-oneapi-tensorflow
0 upgraded, 13 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/1924 MB of archives.
After this operation, 2338 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package intel-aikit-getting-started.
(Reading database ... 96463 files and directories currently installed.)
Preparing to unpack .../00-intel-aikit-getting-started_2023.1.1-48862_all.deb ...
Unpacking intel-aikit-getting-started (2023.1.1-48862) ...
Selecting previously unselected package intel-oneapi-common-licensing-2023.1.0.
Preparing to unpack .../01-intel-oneapi-common-licensing-2023.1.0_2023.1.0-43473_all.deb ...
Unpacking intel-oneapi-common-licensing-2023.1.0 (2023.1.0-43473) ...
Selecting previously unselected package intel-oneapi-model-zoo.
Preparing to unpack .../02-intel-oneapi-model-zoo_2.11.0-48867_amd64.deb ...
Unpacking intel-oneapi-model-zoo (2.11.0-48867) ...
Selecting previously unselected package intel-oneapi-dal-daal4py-2023.2.0.
Preparing to unpack .../03-intel-oneapi-dal-daal4py-2023.2.0_2023.2.0-49572_amd64.deb ...
Unpacking intel-oneapi-dal-daal4py-2023.2.0 (2023.2.0-49572) .......................................................]
Selecting previously unselected package intel-oneapi-dal-scikit-learn-intelex-2023.2.0.
Preparing to unpack .../04-intel-oneapi-dal-scikit-learn-intelex-2023.2.0_2023.2.0-49572_amd64.deb ...
Unpacking intel-oneapi-dal-scikit-learn-intelex-2023.2.0 (2023.2.0-49572) ...
Selecting previously unselected package intel-oneapi-python.
Preparing to unpack .../05-intel-oneapi-python_2023.2.0-49420_amd64.deb ...
Unpacking intel-oneapi-python (2023.2.0-49420) ...
Selecting previously unselected package intel-oneapi-mpi-2021.9.0.
Preparing to unpack .../06-intel-oneapi-mpi-2021.9.0_2021.9.0-43482_amd64.deb ...
Unpacking intel-oneapi-mpi-2021.9.0 (2021.9.0-43482) ...
Selecting previously unselected package intel-oneapi-mpi-devel-2021.9.0.
Preparing to unpack .../07-intel-oneapi-mpi-devel-2021.9.0_2021.9.0-43482_amd64.deb ...
Unpacking intel-oneapi-mpi-devel-2021.9.0 (2021.9.0-43482) ...
Selecting previously unselected package intel-oneapi-tensorflow.
Preparing to unpack .../08-intel-oneapi-tensorflow_2.12.0-48868_amd64.deb ...
Unpacking intel-oneapi-tensorflow (2.12.0-48868) ...
Preparing to unpack .../09-intel-oneapi-neural-compressor_2.1.0-48866_amd64.deb ...
Unpacking intel-oneapi-neural-compressor (2.1.0-48866) ...
dpkg: error processing archive /tmp/apt-dpkg-install-2V49gK/09-intel-oneapi-neural-compressor_2.1.0-48866_amd64.deb (--unpack):
trying to overwrite '/opt/intel/oneapi/conda_channel/linux-64/python_abi-3.9-2_cp39.tar.bz2', which is also in package intel-oneapi-python 2023.2.0-49420
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

 

I have to uninstall the aikit as there is nothing I can do to fix this. 

 

 

0 Kudos
8 Replies
ArpanB_Intel
Moderator
3,261 Views

Hi Ram, please share the below details with us:


- Linux distribution on which you are installing the software

- Other versions of Intel® Parallel Studio XE or Intel® oneAPI already installed on your system

- Is the installer an online or an offline package?

- Installation Log files.

The default path for a log file for a oneAPI installation is: opt/intel/oneapi/logs

The default path for a log file for a Parallel Studio XE installation is: /tmp/intel.pset.<user>.<machine>.<timestamp>.log


We would like to know.


0 Kudos
Quant-Geek
Beginner
3,232 Views

Most of the answers to your questions was already on the original post:

 

- Linux distribution on which you are installing the software:

Both are Ubuntu 22.04.02 LTS, but specifically

WSL Installation: Linux Beowulf 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Standalone: Ubuntu 22.04.02 LTS

 

- Other versions of Intel® Parallel Studio XE or Intel® oneAPI already installed on your system

Uninstalled prior version of oneAPI before installing the latest version on both environments

 

- Is the installer an online or an offline package?


APT so online

 

- Installation Log files.

No log(s) directories at all.  The only error message is the same one as I indicated on both machines:

 

Unpacking intel-oneapi-neural-compressor (2.1.0-48866) ...
dpkg: error processing archive /tmp/apt-dpkg-install-F0SmzL/09-intel-oneapi-neural-compressor_2.1.0-48866_amd64.deb (--unpack):
trying to overwrite '/opt/intel/oneapi/conda_channel/linux-64/python_abi-3.9-2_cp39.tar.bz2', which is also in package intel-oneapi-python 2023.2.0-49420
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

0 Kudos
ArpanB_Intel
Moderator
3,196 Views

Ram, we will check and get back to you soon on this issue.


0 Kudos
ArpanB_Intel
Moderator
3,002 Views

Ram, we suggest you to try the below commands:


 $ sudo apt-get clean

 $ sudo apt-get update

 $ sudo apt-get install {the package_name you want to install}

 $ sudo apt-get -f install


We await your findings.


0 Kudos
Quant-Geek
Beginner
2,992 Views

Thank you! That worked, but we are still getting errors as noted by others:

 

/opt/intel/oneapi/tensorflow/2.13.0/../../neural-compressor/latest/install_neural-compressor.sh: 3: /opt/intel/oneapi/intelpython/latest/envs/tensorflow-gpu/etc/conda/deactivate.d/deactivate-opencl-rt.sh: [[: not found


/opt/intel/oneapi/tensorflow/2.13.0/../../neural-compressor/latest/install_neural-compressor.sh: 10: /opt/intel/oneapi/intelpython/latest/envs/tensorflow-gpu/etc/conda/deactivate.d/deactivate-opencl-rt.sh: [[: not found

0 Kudos
ArpanB_Intel
Moderator
2,969 Views

Ram, thank you for the confirmation.


We will check and share our findings soon related to the new error.


0 Kudos
ArpanB_Intel
Moderator
2,867 Views

Ram, could you try using the following commands:


sudo apt remove neural-compressor

sudo apt autoremove


and reinstalling with :


sudo apt install neural-compressor


We would like to know.


0 Kudos
ArpanB_Intel
Moderator
2,852 Views

Ram, unfortunately we were unable to hear back from you.



If you have any further queries, please post a new question as this thread will no longer be monitored by Intel®.


0 Kudos
Reply