Lab 4.5 Install cri-o and cri-o-runc
Following the last portion of the section, I am not able to successfully install cri=o-runc
sudo apt install cri-o-runc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package cri-o-runc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'cri-o-runc' has no installation candidate
Does anyone know why is that the case?
We use cri-o-runc in the next section so I am stuck in here
Comments
-
Hi @nicocerquera,
The installation step
apt install
runs successfully if the prior steps completed successfully as well. What method did you use to provision your VM (local hypervisor or cloud)? What OS are you running? Can you provide the history of prior commands, so we can validate that they were entered correctly at the CLI?Regards,
-Chris0 -
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic0 -
Hey Chris, this is the version, will post here again the command history, for some reason I thought I had sent them already.
0 -
This last package is removed from the repo, maybe is compiled with the main package cri-o, you can complete the labs without it, and if need runc, it will recommend or suggest to install runc
0 -
yeah, I do have runc installed:
runc --version
runc version 1.0.2
commit: v1.0.2-0-g52b36a2
spec: 1.0.2-dev
go: go1.16.10
libseccomp: 2.5.10 -
@chrispokorni Sorry but I do not understand this question ( beginner here ) "What method did you use to provision your VM (local hypervisor or cloud)?" could you expand on this please.
With regards to the history:
47 OS=xUbuntu_18.04
48 VERSION=1.21
49 VERSION_ID=20.04
50 echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/$OS/ /" | sudo /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
51 echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/$OS/ /" > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
52 echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$VERSION/$OS/ /" > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable:cri-o:$VERSION.list
53 curl -L https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable:cri-o:$VERSION/$OS/Release.key | apt-key add -
54 curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/Release.key | apt-key add -55 exit
0 -
Also, will not having cri-o-runc be an issue as we continue with other exercises on this class?
0 -
Hi @nicocerquera,
It seems you may be running a dated OS release for this course. The latest/current course update release is based on another guest OS release. Please revisit Chapter 1 for recommended VM provisioning methods and the guest OS to be installed on the VM.
Regards,
-Chris0 -
hi @chrispokorni,
I have updated the OS accordingly:
dev-node19:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focaldev-node19:~$ sudo apt install -y cri-o cri-o-runc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package cri-o-runc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another sourceE: Package 'cri-o-runc' has no installation candidate
However, I am still not able to install cri-o-runc
0 -
Hi @nicocerquera,
I would invite you to revisit the installation steps from the lab guide and ensure that there are no typos in the commands entered/pasted at the CLI. The accuracy of these commands is critical for a successful installation of the desired software packages.
Regards,
-Chris0
Categories
- 8.9K All Categories
- 13 LFX Mentorship
- 66 LFX Mentorship: Linux Kernel
- 364 Linux Foundation Boot Camps
- 231 Cloud Engineer Boot Camp
- 70 Advanced Cloud Engineer Boot Camp
- 25 DevOps Engineer Boot Camp
- 5 Cloud Native Developer Boot Camp
- 852 Training Courses
- 15 LFC110 Class Forum
- 16 LFD102 Class Forum
- 102 LFD103 Class Forum
- 3 LFD121 Class Forum
- 55 LFD201 Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum
- 19 LFD254 Class Forum
- 431 LFD259 Class Forum
- 86 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- 16 LFS200 Class Forum
- 694 LFS201 Class Forum
- LFS201-JP クラス フォーラム
- 271 LFS211 Class Forum
- 50 LFS216 Class Forum
- 26 LFS241 Class Forum
- 27 LFS242 Class Forum
- 19 LFS243 Class Forum
- 6 LFS244 Class Forum
- 9 LFS250 Class Forum
- LFS250-JP クラス フォーラム
- 108 LFS253 Class Forum
- 791 LFS258 Class Forum
- 7 LFS258-JP クラス フォーラム
- 51 LFS260 Class Forum
- 79 LFS261 Class Forum
- 13 LFS262 Class Forum
- 76 LFS263 Class Forum
- 14 LFS264 Class Forum
- 10 LFS266 Class Forum
- 8 LFS267 Class Forum
- 9 LFS268 Class Forum
- 6 LFS269 Class Forum
- 180 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- 187 LFW211 Class Forum
- 103 LFW212 Class Forum
- 878 Hardware
- 207 Drivers
- 74 I/O Devices
- 43 Monitors
- 115 Multimedia
- 204 Networking
- 98 Printers & Scanners
- 82 Storage
- 724 Linux Distributions
- 82 Debian
- 64 Fedora
- 12 Linux Mint
- 13 Mageia
- 22 openSUSE
- 126 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 347 Ubuntu
- 447 Linux System Administration
- 33 Cloud Computing
- 64 Command Line/Scripting
- Github systems admin projects
- 89 Linux Security
- 73 Network Management
- 105 System Management
- 45 Web Management
- 50 Mobile Computing
- 18 Android
- 19 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 499 Off Topic
- 119 Introductions
- 193 Small Talk
- 19 Study Material
- 747 Programming and Development
- 240 Kernel Development
- 473 Software Development
- 902 Software
- 247 Applications
- 178 Command Line
- 2 Compiling/Installing
- 72 Games
- 314 Installation
- 20 All In Program
- 20 All In Forum
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)