oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions for Intel oneAPI Toolkits, Intel Parallel Studio XE and Intel System Studio
1215 Discussions

Issue: apt-get update of Intel OneAPI on Ubuntu 20.04

Jeremie_V_
Beginner
2,527 Views

Dear,

 

When updating the Intel OneAPI installation on a Ubuntu 20.04 Docker container, I get the following error (with `apt-get -y update`):

 

```

UPDATE TOOLS
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:2 https://apt.repos.intel.com/oneapi all InRelease [10.2 kB]
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
...
Reading package lists...

E: Repository 'https://apt.repos.intel.com/oneapi all InRelease' changed its 'Label' value from '' to 'Intel oneAPI Debian Repo'

```

 

The same script works fine in a Ubuntu 22.04 Docker container.

 

Any idea on how to solve this issue?

 

Thank you.

0 Kudos
1 Solution
Soumya_M_Intel
Moderator
2,362 Views

Hi Jeremie,


Thanks for your response. However, meanwhile, we were checking on the concern with our internal team. Kindly try the installation with the steps and information provided in the below link.


Link: https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-base-linux/top/using-containers.html


Please feel free to let us know if the issue persists. Kindly update us if it has been resolved. Looking forward to your response.


Hope you have a nice day ahead!


Regards,

Soumya


View solution in original post

0 Kudos
13 Replies
Soumya_M_Intel
Moderator
2,488 Views

Hi Jeremie_V_,


Thanks for posting your concern on the forum. We appreciate your patience while we were looking into the issue. Kindly let us know the below details.


  • The installation log files (if generated) for both the systems.
  • Are there any hardware differences between the two systems?
  • Does the Ubuntu 20.04 system have any VPN, network antivirus or institutional restriction enabled during the process?
  • Is any of the mentioned operating system running on a virtual machine?


The information will allow us to understand the situation better. Looking forward to your response.


Regards,

Soumya


0 Kudos
Jeremie_V_
Beginner
2,389 Views

Dear Soumya,

 

Thank you for your answers.

 

These are two Docker containers. The scripts to build them can be found [here](https://git.wur.nl/vande018/containers/-/tree/main/docker/ubuntu_20_04_intel) for Ubuntu 20.04 and [here](https://git.wur.nl/vande018/containers/-/tree/main/docker/ubuntu_22_04_intel) for Ubuntu 22.04.

I don't have the logs of their creation.

The two containers are run with Kubernetes through our Gitlab. The CI calls them in the same way.

Here is the log of Ubuntu 20.04 when used for one of the CI/CD job:

```

Running with gitlab-runner 14.0.0 (xxxx)
  on gitlab-runner-xxxxxxxxxxxx
Preparing the "kubernetes" executor
Using Kubernetes namespace: xxxx
Using Kubernetes executor with image docker-registry.wur.nl/vande018/containers:ubuntu20_04_intel ...
Using attach strategy to execute scripts...
Preparing environment
Running on runner-xxxx via gitlab-runner-xxxxxxx...
Getting source from Git repository
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/xxxxxx/.git/
Created fresh repository
Checking out xxxxx as refs/merge-requests/xxxx...

Skipping Git submodules setup
Executing "step_script" stage of the job script
$ echo 'UPDATE TOOLS' # collapsed multi-line command
UPDATE TOOLS
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:2 https://apt.repos.intel.com/oneapi all InRelease [10.2 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [906 kB]
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Get:5 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1550 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2174 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [27.5 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [30.2 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1667 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1203 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2641 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [27.4 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
Reading package lists...

E: Repository 'https://apt.repos.intel.com/oneapi all InRelease' changed its 'Label' value from '' to 'Intel oneAPI Debian Repo'
section_end:1664300064:step_script
section_start:1664300064:after_script

```

 

0 Kudos
Soumya_M_Intel
Moderator
2,463 Views

Hi Jeremie_V_,


Please let us know the requested details. They will allow us to assist you better.


Regards,

Soumya


0 Kudos
Jeremie_V_
Beginner
2,389 Views

Dear,

 

Sorry, I answered earlier, but it seems that I did something wrong when posting my reply as it does not show up.

 

Both are created within Docker containers. The files for generating a Docker container with Ubuntu 20.04 can be found [here](https://git.wur.nl/vande018/containers/-/tree/main/docker/ubuntu_20_04_intel), and for Ubuntu 22.04 [here](https://git.wur.nl/vande018/containers/-/tree/main/docker/ubuntu_22_04_intel). Unfortunately, I don't have the logs of their creation.

 

The containers are stored in a owned Docker registry, and are used by Gitlab through Kubernetes for running the CI/CD.

The following log happens with the Docker container Ubuntu 20.04 running on Kubernetes for the Gitlab CI (while the one on Ubuntu 22.04 runs fine wiht the same procedure):

```

Running with gitlab-runner 14.0.0 (xxxx)
  on gitlab-runner-xxxx-ci-gitlab-runner-xxxx
section_start:xxxx:prepare_executor
Preparing the "kubernetes" executor
Using Kubernetes namespace: xxxxx
Using Kubernetes executor with image docker-registry.wur.nl/vande018/containers:ubuntu20_04_intel ...
Using attach strategy to execute scripts...
section_end:xxxxxx:prepare_executor
section_start:xxxxxx:prepare_script
Preparing environment
Waiting for pod abgc-ci/runner-xxxxxx to be running, status is Pending
Running on runner-xxxxx via gitlab-runner-xxxx-gitlab-runner-xxxx...
section_end:1664288748:prepare_script
section_start:xxxxx:get_sources
Getting source from Git repository
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/xxxxx/.git/
Created fresh repository.
Checking out xxxx as refs/merge-requests/371/head...

Skipping Git submodules setup
section_end:xxxx:get_sources
section_start:xxxx:step_script
Executing "step_script" stage of the job script
$ echo 'UPDATE TOOLS' # collapsed multi-line command
UPDATE TOOLS
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:2 https://apt.repos.intel.com/oneapi all InRelease [10.2 kB]
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1550 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [27.5 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [906 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2174 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [30.2 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1667 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1203 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2641 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [27.4 kB]
Reading package lists...

E: Repository 'https://apt.repos.intel.com/oneapi all InRelease' changed its 'Label' value from '' to 'Intel oneAPI Debian Repo'
section_end:1664288755:step_script
section_start:1664288755:after_script
Running after_script
Running after script...

.....

```

 

Is this enough information?

Thank you for your help.

 

Yours sincerely,

 

Jeremie

0 Kudos
Jeremie_V_
Beginner
2,446 Views

Dear Soumya,

 

I replied an answer to you yesterday, but I don't see anymore. Did you receive it?

 

Yours sincerely,

 

Jeremie

0 Kudos
Jeremie_V_
Beginner
2,443 Views

Next try....

 

Dear,

 

Both are Docker containers. Instructions used to create them can be found:

* for [Ubuntu 20.04](https://git.wur.nl/vande018/containers/-/tree/main/docker/ubuntu_20_04_intel)

* for [Ubuntu 22.04](https://git.wur.nl/vande018/containers/-/tree/main/docker/ubuntu_22_04_intel)

The containers are stored in our owned registry, and they are used with Kubernetes for the Gitlab CI. Both are sued in the same way.

Unfortunately I don't have the log files of their installation.

 

Yours sincerely,

 

Jeremie

0 Kudos
Jeremie_V_
Beginner
2,442 Views

Here is the log of the Docker container Ubuntu 20.04 failing:

 

Running with gitlab-runner 14.0.0 (xxxx)
on gitlab-runner-xxxxx
Preparing the "kubernetes" executor00:00
Using Kubernetes namespace: xxx
Using Kubernetes executor with image docker-registry.wur.nl/vande018/containers:ubuntu20_04_intel ...
Using attach strategy to execute scripts...
Preparing environment00:04
Waiting for pod xxxxx to be running, status is Pending
Running on runner-xxxxx via gitlab-runner-xxxx...
Getting source from Git repository00:03
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/xxxxx/.git/
Created fresh repository.
Checking out xxxx as refs/merge-requests/52/head...
Skipping Git submodules setup
Executing "step_script" stage of the job script00:02
$ echo 'UPDATE TOOLS' # collapsed multi-line command
UPDATE TOOLS
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:5 https://apt.repos.intel.com/oneapi all InRelease [10.2 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2638 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [27.5 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1203 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1541 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1661 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [30.2 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [906 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2170 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [27.4 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
Reading package lists...
E: Repository 'https://apt.repos.intel.com/oneapi all InRelease' changed its 'Label' value from '' to 'Intel oneAPI Debian Repo'
Running after_script
.....
0 Kudos
Soumya_M_Intel
Moderator
2,380 Views

Hi Jeremie,


Thanks for getting back to us with the information. The updates on the thread show up now. However, could you please confirm if the Ubuntu 20.04 system have any VPN, network antivirus or institutional restriction enabled during the process? It will allow us to check better.


Regards,

Soumya


0 Kudos
Jeremie_V_
Beginner
2,376 Views

Dear Soumya,

 

the Docker container Ubuntu 20.04 runs in the same environment as the one for Ubunut 22.04.

I don't know if there is any VPN, antivirus or institutional restriction (I don't think so). I can ask it, but what would be blocked?

 

Yours sincerely,

 

Jeremie

0 Kudos
Soumya_M_Intel
Moderator
2,363 Views

Hi Jeremie,


Thanks for your response. However, meanwhile, we were checking on the concern with our internal team. Kindly try the installation with the steps and information provided in the below link.


Link: https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-base-linux/top/using-containers.html


Please feel free to let us know if the issue persists. Kindly update us if it has been resolved. Looking forward to your response.


Hope you have a nice day ahead!


Regards,

Soumya


0 Kudos
Soumya_M_Intel
Moderator
2,339 Views

Hi Jeremie,


Please let us know if the issue persists. We look forward to assist you.


Regards,

Soumya


0 Kudos
Jeremie_V_
Beginner
2,207 Views

Dear,

 

Thank you for the link. It was useful, and it seems that it solves now.

 

Yours sincerely,

 

Jeremie

0 Kudos
Soumya_M_Intel
Moderator
2,199 Views

Hi Jeremie, 


Thanks for your update on the thread & for accepting the solution. Glad to know that the link was useful. Proceeding further, we are closing this thread.


Nonetheless, if you have any further queries or concerns, please feel free to post a new question as this thread will no longer be monitored by Intel®. We will be glad to assist you.


Community Forum: https://community.intel.com/t5/Registration-Download-Licensing/bd-p/registration-download-licensing-instal


Hope you have an amazing day ahead!


Regards,

Soumya


0 Kudos
Reply