Starting Point: Included Alpine issues

I’ve been stuck at this a couple of days now and am close to giving up.
I run

sudo /snap/bin/distrobuilder build-lxd alpine.yaml -o image.release=3.9

But all i’m getting is

Error: Failed to get definition: yaml: unmarshal errors:
line 190: field incus not found in type shared.DefinitionTarget

Had to install distrobuilder using the snap method because compiling the other way kept failing. Any idea what it could be? I’m using pwnbox.

1 Like

How were you able to use snap on a Kali system?

Don’t give up! Same thing happened to me!!!

I couldn’t get distrobuilder to build because of the Go version.

I then tried using the snap install, which worked, but then I got this error:

Error: Failed to get definition: yaml: unmarshal errors:
line 190: field incus not found in type shared.DefinitionTarget

I ended up completing it by using Method 2 on HackTricks!!!

I tried method 2, but i’m failing at the build portion

“ERROR: http://mirror.nyist.edu.cn/alpine//v3.8/main: network error (check Internet connection and firewall)
WARNING: Ignoring http://mirror.nyist.edu.cn/alpine//v3.8/main: No such file or directory
ERROR: unable to select packages:
alpine-base (no such package):
required by: world[alpine-base]
Failed to install rootfs”

Alternative solution here for people struggling to build alpine: