Welcome to the Linux Foundation Forum!

Chapter 2 - Lab: systemd-nspawn part

Posts: 20
edited May 2017 in LFS253 Class Forum

Hi,

I'm running the Chapter 2 Labs and the systemd-container package (first step in systemd-nspawn part) is no available. Is there any other package to use? Without this package I cant use systemd-nspawn to create the contariner.

Thanks!

Robson

 

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 9
    edited May 2017

    Hi Robson, 

    Which OS you are trying it out ? The instructions are given for Ubuntu 16.04. Sometimes you might need to update the package index with following command to refresh the package list :-

    $ apt update 

    Please run the above command and then try just installing "systemd-container" package. 

    Thanks. 

    Neependra

     

     

  • Posts: 20
    edited May 2017

    Done and solved! Thanks Neependra!

    Robson

     

  • Posts: 1
    edited October 2017

    The runC package is apparently missing from manifest for this course. Kindly advise what correct name is for apt-get install?

     

    Per the download instructions:

    root@rmsdroplet:~# apt update

    Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]

    Hit:1 http://sfo1.mirrors.digitalocean.com/ubuntu xenial InRelease

    Hit:3 http://sfo1.mirrors.digitalocean.com/ubuntu xenial-updates InRelease     

    Hit:4 http://sfo1.mirrors.digitalocean.com/ubuntu xenial-backports InRelease   

    Fetched 102 kB in 0s (118 kB/s)                              

    Reading package lists... Done

    Building dependency tree       

    Reading state information... Done

    47 packages can be upgraded. Run 'apt list --upgradable' to see them.

    root@rmsdroplet:~# sudo apt-get install runC

    Reading package lists... Done

    Building dependency tree       

    Reading state information... Done

    E: Unable to locate package runC

     

  • Running lab from Chapter 4 in DigitalOcean I have found the same problem related to runC package. 

    root@ubuntu-s-1vcpu-1gb-lon1-01:~# apt-get update

    Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease

    Hit:2 http://lon1.mirrors.digitalocean.com/ubuntu xenial InRelease

    Hit:3 http://lon1.mirrors.digitalocean.com/ubuntu xenial-updates InRelease

    Hit:4 http://lon1.mirrors.digitalocean.com/ubuntu xenial-backports InRelease

    Reading package lists... Done

    root@ubuntu-s-1vcpu-1gb-lon1-01:~# sudo apt-get install runC

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    E: Unable to locate package runC

    Any workaround?

    Thank you.

  • Posts: 9

    Instead of "runC", can you try installing "runc" package. 

    $ apt install runc

     

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training