ceremcem / build-freecad-asm3

Build FreeCAD Asm3 inside a Debian container and run from there.
6 stars 0 forks source link

issue with running on Fedora #20

Closed MisterMakerNL closed 2 years ago

MisterMakerNL commented 3 years ago

I fixed the apt-get in the script but the debian keyring doesn't install. It say no match. image

ceremcem commented 3 years ago

I think you also don't have LXC installed (last lines say lxc-create command not found). First install LXC, then try to create a Debian container manually (see this):

sudo lxc-create -n fc -t debian -- -r buster --packages nano sudo git

Let's first see if it succeeds or not.

christian-nils commented 3 years ago

I am trying to do the same on Fedora 34. Here is the error I get with your command:

lxc-create: fc: utils.c: get_template_path: 884 No such file or directory - bad template: debian
lxc-create: fc: lxccontainer.c: do_lxcapi_create: 1786 Unknown template "debian"
lxc-create: fc: tools/lxc_create.c: main: 319 Failed to create container fc
ceremcem commented 3 years ago

@christian-nils It looks like a Fedora+LXC issue. Let's resolve it first. In Debian, there is a separate package for templates:

$ sudo apt-cache search lxc-templates
lxc-templates - Linux Containers userspace tools (templates)

Do you have such a package? If yes, can you try to install it? If that doesn't help, someone else says "you need to install debootstrap": https://bugs.mageia.org/show_bug.cgi?id=16475#c1

ceremcem commented 2 years ago

I'm going to close this issue as it's stale. Please file another issue if the problem persists.