I was able to install Yum in Ubuntu 18.04 but I can't install it anymore in Ubuntu 20.04. So, when I try to run a CentOS LXC container in my Ubuntu I get an error like this one:
# lxc-create -n centos7 -t centos -- -R 7
Host CPE ID from /etc/os-release:
'yum' command is missing
lxc-create: centos7: lxccontainer.c: create_run_template: 1626 Failed to create container from template
lxc-create: centos7: tools/lxc_create.c: main: 319 Failed to create container centos7
I've tryed to download the latest yum.deb packages from several sites (pkgs.org, etc.) but there is no way to satisfy the package dependencies (i.e python-lzma).
So, the question is either of these: how do I install YUM in Ubuntu 20.04 or how do I run a CentOS container using LXC in Ubuntu 20.04?. Previous LTS versions of Ubuntu worked great.
Thank you.