cri-o: CANNOT INSTALL PER DOCS on Ubuntu 20.04

I followed the mess around this issue.

https://github.com/cri-o/cri-o/issues/3844

https://github.com/kubernetes/website/pull/23000

Then the directions.

https://github.com/cri-o/cri-o/blame/master/install.md#L103

The installation does not work when following the directions as specified.

...@...:~$ sudo apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]

Get:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:4 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04  InRelease [1634 B]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [699 kB]
Get:7 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04  Packages [13.0 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [11.3 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [705 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [13.7 kB]
Get:11 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.20/xUbuntu_20.04  InRelease [1623 B]
Get:12 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.20/xUbuntu_20.04  Packages [2986 B]
Fetched 1772 kB in 2s (763 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
...@...:~$ sudo apt install cri-o cri-o-runc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cri-o

Now that there has been an announcement from Kubernetes that Docker is gone, it would be nice to have this process simplified.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

I would consider that task tech debt. it’s been a plan of ours, but there are enough steps that it’s proven easier to do it manually every couple of months rather than spend a couple of weeks working on properly automating it.

Every time I do it, I attempt to automate another part of it, though. It is a dream of mine to have it all just happen

ubuntu 20.04 should be working, PTAL @icpenguins @Exagone313

what flags have you passed to the kubelet? it should have --container-runtime=remote --cgroup-driver=systemd --container-runtime-endpoint='unix:///var/run/crio/crio.sock'

It’s a developer time problem. I have been volunteering to package for distros, but it’s only part of the responsibilities I hold for the project. OBS is easiest because it’s relatively simple to package for all required distros for all required CRI-O versions (we support three versions concurrently, so that’s like 20-30 version/distro combos).

Sorry for the confusion, I had started to package it and then got distracted. You can see if the builds are succeeding by checking the sidebar on https://build.opensuse.org/package/show/devel:kubic:libcontainers:stable:cri-o:1.20/cri-o

If your distro has the succeeded string underneath, then it should work to install

I’m in the midst of packaging 1.20, sorry for the delay!