Lab 4.4: Install CRI-0
I'm getting an 'unable to locate package cri-o-1.15' error when trying to install cri-o-1.15 using the command sudo apt install cri-o-1.15. I started searching for an answer and found that there is a problem installing CRI-O in some versions where go 1.13 support is required. I'm using Ubuntu 20.04. But that doesn't explain the fact that the package can't be located. I've tried v1.15, 1.17, and 1.18 with no luck.
Has anyone else seen this problem?
Comments
-
Hi @rogerh,
Did you encounter any issues with prior steps when setting up the repository?
Regards,
-Chris0 -
Hi @chrispokorni,
I received some errors with $ sudo apt update:
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease [1,634 B]
Err:4 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4D64390375060AA4
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Ign:7 http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal InRelease
Err:8 http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
W: GPG error: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4D64390375060AA4
E: The repository 'http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease is not valid yet (invalid for another 6h 8min 32s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease is not valid yet (invalid for another 6h 8min 56s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-security/InRelease is not valid yet (invalid for another 6h 8min 20s). Updates for this repository will not be applied.
E: The repository 'http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.I then got a set of errors with $ sudo-apt-repository ppa:projectatomic/ppa
More info: https://launchpad.net/~projectatomic/+archive/ubuntu/ppa
Press [ENTER] to continue or Ctrl-c to cancel adding it.Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Ign:2 http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease [1,634 B]
Err:5 http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 80]
Err:4 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4D64390375060AA4
Get:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4D64390375060AA4
E: The repository 'http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease is not valid yet (invalid for another 6h 5min 38s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease is not valid yet (invalid for another 6h 6min 1s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-security/InRelease is not valid yet (invalid for another 6h 5min 26s). Updates for this repository will not be applied.With $ sudo apt update, I got the following response:
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Ign:2 http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease [1,634 B]
Err:5 http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal Release
404 Not Found [IP: 91.189.95.83 80]
Err:4 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4D64390375060AA4
Get:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4D64390375060AA4
E: The repository 'http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04 InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease is not valid yet (invalid for another 6h 3min 59s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease is not valid yet (invalid for another 6h 4min 23s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/focal-security/InRelease is not valid yet (invalid for another 6h 3min 47s). Updates for this repository will not be applied.Finally with $ sudo apt install -y crio-o-1.1 I got the following response:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package crio-o-1.150 -
Hi @rogerh,
Many of the open source projects discussed here are constantly evolving. That impacts many operational steps, from installation to usage. Chances are that the official installation steps have been updated, and they may be found on the CRI-O project's official home page, or on its git repository.
Regards,
-Chris0 -
I had a similar if not the same problem, also with Ubuntu 20, and went to Openshift docs (https://docs.openshift.com/container-platform/3.11/crio/crio_runtime.html#get-crio-use-crio-engine) to find this:
"CRI-O is not supported as a stand-alone container engine. You must use CRI-O as a container engine for a Kubernetes installation, such as OpenShift Container Platform. To run containers without Kubernetes or OpenShift Container Platform, use podman."0 -
0
-
Hi @chrispokorni,
Sorry, all this vocabulary is new to me. It still doesn't look like CRI-O is [supported] under Ubuntu 20 with the Project Atomic Repositories (https://launchpad.net/~projectatomic/+archive/ubuntu/ppa), and sorry if I am not saying this right, but I could not get it to work. Ubuntu 20 is listed on the cri-o website and may work using their install path: (https://cri-o.io/). I just decided to go to an Ubuntu 18 VM and everything seems to work as advertised in the course lab instructions using the project atomic repos.
Best regards,
Don0 -
Hi @dwolfe,
The CRI-O installation steps have not been tested on Ubuntu 20, only on Ubuntu 18.04 LTS, running on the GCE VM instance provisioned following the steps from Lab 1.
For a future course update we will evaluate the later/latest OS release and edit the content where deemed necessary to reflect recommended/supported package management steps.Regards,
-Chris1 -
@chrispokorni said:
Hi @dwolfe,The CRI-O installation steps have not been tested on Ubuntu 20, only on Ubuntu 18.04 LTS, running on the GCE VM instance provisioned following the steps from Lab 1.
For a future course update we will evaluate the later/latest OS release and edit the content where deemed necessary to reflect recommended/supported package management steps.Regards,
-ChrisHi Chris,
I am trying on 18.04 LTS, but still getting an error in that the release does not exist:
oot@k8s-lab-master:/opt/k8s/LFS258/SOLUTIONS/s_03# apt-get update
Hit:1 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://eu-west-1.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Ign:4 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.20/xUbuntu_18.0 InRelease
Err:5 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.20/xUbuntu_18.0 Release
404 Not Found [IP: 195.135.221.134 80]
Ign:6 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.0 InRelease
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Err:8 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.0 Release
404 Not Found [IP: 195.135.221.134 443]
Reading package lists... Done
E: The repository 'http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.20/xUbuntu_18.0 Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.0 -
Hi @cteodor,
The
.../k8s/LFS258/SOLUTIONS/...directory from your output suggests you may not be posting in the correct forum. This forum is dedicated to LFS253 - Containers Fundamentals, while the forum dedicated to LFS258 - Kubernetes Fundamentals can be found here.As far as the error you are reporting, it is due to a typo in your repository URL. Please revisit the steps in Lab 3.1 where the CRI-O repository parameters are set, and ensure the correct parameters and correct URLs are generated.
Regards,
-Chris0
Categories
- All Categories
- 175 LFX Mentorship
- 175 LFX Mentorship: Linux Kernel
- 744 Linux Foundation IT Professional Programs
- 372 Cloud Engineer IT Professional Program
- 168 Advanced Cloud Engineer IT Professional Program
- 72 DevOps IT Professional Program - Discontinued
- 3 DevOps & GitOps IT Professional Program
- 98 Cloud Native Developer IT Professional Program
- 39 Express Training Courses & Microlearning
- 34 Express Courses - Discussion Forum
- 7.6K Training Courses & Learning Paths
- AI & ML Training
- Blockchain & Decentralized Identity Training
- Cloud & Containers Training
- Cybersecurity Training
- DevOps & Site-Reliability Training
- Linux Kernel Development Training
- Networking Training
- Open Source Best Practice Training
- System Administration Training
- System Engineering Training
- Web & Application Development Training
- 55 LFD102 Class Forum
- 261 LFD103 Class Forum
- 2 LFD103-JP クラス フォーラム
- 2 LFD114 Class Forum
- 56 LFD121 Class Forum
- 4 LFD123 Class Forum
- 3 LFD125 Class Forum
- 5 LFD137 Class Forum
- 2 LFD140 Class Forum
- 67 LFD201 Class Forum
- 8 LFD210 Class Forum
- 4 LFD210-CN Class Forum
- 2 LFD221 Class Forum
- 5 LFD237 Class Forum
- 26 LFD254 Class Forum
- 764 LFD259 Class Forum
- 23 LFD273 Class Forum
- 679 LFS101 Class Forum
- 3 LFS114 Class Forum
- 5 LFS116 Class Forum
- 6 LFS118 Class Forum
- 3 LFS120 Class Forum
- 2 LFS140 Class Forum
- 13 LFS142 Class Forum
- 10 LFS144 Class Forum
- 6 LFS145 Class Forum
- 8 LFS146 Class Forum
- 8 LFS147 Class Forum
- 30 LFS148 Class Forum
- 6 LFS157 Class Forum
- 179 LFS158 Class Forum
- 2 LFS158-JP クラス フォーラム
- 19 LFS162 Class Forum
- 4 LFS180 Class Forum
- 3 LFS182 Class Forum
- 8 LFS183 Class Forum
- 3 LFS184 Class Forum
- 43 LFS200 Class Forum
- 25 LFS203 Class Forum
- 162 LFS207 Class Forum
- 3 LFS207-DE-Klassenforum
- 4 LFS207-JP クラス フォーラム
- 61 LFS241 Class Forum
- 52 LFS242 Class Forum
- 42 LFS243 Class Forum
- 19 LFS244 Class Forum
- 9 LFS245 Class Forum
- 3 LFS246 Class Forum
- 2 LFS248 Class Forum
- 179 LFS250 Class Forum
- 4 LFS250-JP クラス フォーラム
- 166 LFS253 Class Forum
- 5 LFS255 Class Forum
- 19 LFS256 Class Forum
- 3 LFS257 Class Forum
- 1.4K LFS258 Class Forum
- 13 LFS258-JP クラス フォーラム
- 151 LFS260 Class Forum
- 165 LFS261 Class Forum
- 46 LFS262 Class Forum
- 26 LFS267 Class Forum
- 28 LFS268 Class Forum
- 39 LFS269 Class Forum
- 13 LFS270 Class Forum
- 34 LFW111 Class Forum
- 21 SKF100 Class Forum
- 3 SKF200 Class Forum
- 4 SKF201 Class Forum
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 105 Mobile Computing
- 18 Android
- 72 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 928 Programming and Development
- 310 Kernel Development
- 600 Software Development
- 969 Software
- 361 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 75 All In Program
- 75 All In Forum
- 25 LFC110 Class Forum - Discontinued
- 2 LFS112 Class Forum - Discontinued
- 22 LFS151 Class Forum - Discontinued
- 1 LFS166 Class Forum - Discontinued
- 9 LFS167 Class Forum - Discontinued
- 4 LFS170 Class Forum - Discontinued
- 1 LFS171 Class Forum - Discontinued
- 3 LFS178 Class Forum - Discontinued
- 736 LFS201 Class Forum - Discontinued
- 2 LFS201-JP クラス フォーラム - Discontinued
- 301 LFS211 Class Forum - Discontinued
- 55 LFS216 Class Forum - Discontinued
- 2 LFS251 Class Forum - Discontinued
- 1 LFS254 Class Forum - Discontinued
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 2 LFS272-JP クラス フォーラム - Discontinued
- 202 LFS272 Class Forum - Discontinued
- 1 LFS274 Class Forum - Discontinued
- 4 LFS281 Class Forum - Discontinued
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)