#990221 lxc-debian fails with »debian-distro-info: command not found«

Package:
lxc-templates
Source:
lxc-templates
Description:
Linux Containers userspace tools (templates)
Submitter:
Jörg Sommer
Date:
2021-08-16 22:57:04 UTC
Severity:
normal
Tags:
#990221#5
Date:
2021-06-23 09:48:09 UTC
From:
To:
Hi,

I've ran:

```
# lxc-create -t debian -n debian.tmp
…
I: Configuring systemd...
I: Base system installed successfully.
Download complete.
Copying rootfs to /srv/lxc/debian.tmp/rootfs...Generating locales (this might take a while)...
…
Current default time zone: 'Etc/UTC'
Local time is now:      Wed Jun 23 09:42:48 UTC 2021.
Universal Time is now:  Wed Jun 23 09:42:48 UTC 2021.

/usr/share/lxc/templates/lxc-debian: Zeile 217: debian-distro-info: Kommando nicht gefunden.
```

Regards Jörg

#990221#10
Date:
2021-08-16 12:39:25 UTC
From:
To:
lxc-templates recommends packages distro-info

You really should install it, as recommended, unless you don't want to install any debian based container.

#990221#15
Date:
2021-08-16 22:46:27 UTC
From:
To:
Le mercredi 23 juin 2021 à 11:48:09+0200, Jörg Sommer a écrit :

distro-info has been added as a recommend of lxc-templates to fix bug
#974569.

I suggest you install that package if you need to install Debian
Containers.

Regards,