Unable to build ISO on buster

Hi Team,

So I am trying to build 1.2.0 ISO on buster -
Can we use buster Debian 10 to build ISO or shoudl we use 8 or 9?

I am trying to build from docker and here are the commands I used but no iso is getting generated.

 docker pull vyos/vyos-build:crux
 sudo su
 sudo docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:crux bash
 git clone -b crux --single-branch https://github.com/vyos/vyos-build
 s
 ls
 sudo docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:crux bash
 ls
 cd vyos-build/
 ls
 cd ..
 ls
 git clone -b crux --single-branch https://github.com/vyos/vyos-build
 cd vyos-build/
 ls
/vyos-build/build$ ls
auto  build-config.json  build.log  cache  chroot  config  local  version  vyos-1.2.0-amd64.iso

I guess this is the error I am getting at the end and I am unable to build ISO

Get:17 http://deb.debian.org jessie/main Sources [7063 kB]
Ign http://archive.repo.saltstack.com jessie/main Translation-en
Get:18 http://dev.packages.vyos.net crux/main amd64 Packages [28.4 kB]
Get:19 http://deb.debian.org jessie/contrib Sources [50.4 kB]
Get:20 http://deb.debian.org jessie/non-free Sources [99.2 kB]
Get:21 http://deb.debian.org jessie/main amd64 Packages [6818 kB]
Ign http://dev.packages.vyos.net crux/main Translation-en
Hit http://deb.debian.org jessie/contrib amd64 Packages
Hit http://deb.debian.org jessie/non-free amd64 Packages
Get:22 http://deb.debian.org jessie/contrib Translation-en [38.3 kB]
Get:23 http://deb.debian.org jessie/main Translation-en [4581 kB]
Get:24 http://deb.debian.org jessie/non-free Translation-en [72.0 kB]
Ign http://dev.packages.vyos.net crux/main Translation-en
Fetched 22.1 MB in 20s (1063 kB/s)
W: Failed to fetch http://archive.repo.saltstack.com/apt/debian/8/amd64/2017.7/dists/jessie/main/binary-amd64/Packages

E: Some index files failed to download. They have been ignored, or old ones used instead.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...

There is a task-T3567 for it.

You can try to replace deb http to deb https

I guess issue still persists

Ign http://dev.packages.vyos.net crux/main Translation-en
Hit http://deb.debian.org jessie/contrib amd64 Packages
Hit http://deb.debian.org jessie/non-free amd64 Packages
Get:22 http://deb.debian.org jessie/contrib Translation-en [38.3 kB]
Get:23 http://deb.debian.org jessie/main Translation-en [4581 kB]
Get:24 http://deb.debian.org jessie/non-free Translation-en [72.0 kB]
Fetched 22.1 MB in 19s (1139 kB/s)
W: Failed to fetch https://archive.repo.saltstack.com/apt/debian/8/amd64/2017.7/dists/jessie/main/binary-amd64/Packages

E: Some index files failed to download. They have been ignored, or old ones used instead.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...

Well I tried all the possibilties I was aware of with crux build and even with different debian version. Even tried changing lot of repos however still the build is failing.
Here is what I have done with crux

Hit http://deb.debian.org jessie/contrib amd64 Packages
Hit http://deb.debian.org jessie/non-free amd64 Packages
Get:22 http://deb.debian.org jessie/contrib Translation-en [38.3 kB]
Get:23 http://deb.debian.org jessie/main Translation-en [4581 kB]
Get:24 http://deb.debian.org jessie/non-free Translation-en [72.0 kB]
Fetched 22.1 MB in 22s (992 kB/s)
W: Failed to fetch http://repo.saltstack.com/py3/debian/10/amd64/archive/3002.5/dists/buster/main/binary-amd64/Packages

E: Some index files failed to download. They have been ignored, or old ones used instead.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...

cat data/defaults.json
{
“architecture”: “amd64”,
“debian_mirror”: “http://deb.debian.org/debian”,
“debian_security_mirror”: “http://deb.debian.org/debian-security”,
“debian_distribution”: “jessie”,
“vyos_mirror”: “http://dev.packages.vyos.net/repositories/crux”,
“vyos_branch”: “crux”,
“kernel_version”: “4.19.190”,
“kernel_flavor”: “amd64-vyos”,
“release_train”: “crux”,
“additional_repositories”: [
“deb http://repo.saltstack.com/py3/debian/10/amd64/archive/3002.5 buster main”,
“deb Index of /debian jessie-backports main”
],
“custom_packages”: []
}

I tried copying from rolling release to crux but still no luck

You still typing http
Try https

Hi,

I Tried with both and different mirrors as well.

Please try directly copy this one

and write is it works

Still no luck man :frowning:

neo@vyos-build:~/vyos-build$ sudo docker run --rm -it --privileged -v $(pwd):/vyos -w /vyos vyos/vyos-build:crux bash
Current UID/GID: 1000/1000

vyos_bld@17bf8ea17940:/vyos$ ./configure --architecture amd64 \
>                              --build-by "test@example.com" \
>                              --build-type release --version 1.2.0
Checking if packages required for VyOS image build are installed
All dependencies are installed
Saving the build config to build/build-config.json

vyos_bld@17bf8ea17940:/vyos$ sudo make iso
Checking build configuration
[2021-06-08 05:03:38] lb clean
P: Cleaning chroot
Starting VyOS ISO image build
Setting up additional APT entries
Configuring live-build
[2021-06-08 05:03:39] lb config noauto --architectures amd64 --bootappend-live boot=live components hostname=vyos username=live nopersistence noautologin nonetworking union=overlay console=ttyS0,115200 console=tty0 --bootappend-live-failsafe live components memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal console=ttyS0,115200 console=tty0 --linux-flavours amd64-vyos --linux-packages linux-image-4.19.190 --bootloader syslinux,grub-efi --binary-images iso-hybrid --debian-installer false --distribution jessie --iso-application VyOS --iso-publisher test@example.com --iso-volume VyOS --debootstrap-options --variant=minbase --exclude=isc-dhcp-client,isc-dhcp-common,ifupdown --include=apt-transport-https --mirror-bootstrap http://deb.debian.org/debian --mirror-chroot http://deb.debian.org/debian --mirror-chroot-security http://deb.debian.org/debian-security --mirror-binary http://deb.debian.org/debian --mirror-binary-security http://deb.debian.org/debian-security --archive-areas main contrib non-free --firmware-chroot false --firmware-binary false --updates false --security true --apt-options --yes -oAcquire::Check-Valid-Until=false -oDebug::BuildDeps=true -oDebug::pkgDepCache::AutoInstall=true -oDebug::pkgDepCache::Marker=true -oDebug::pkgProblemResolver=true -oDebug::Acquire::gpgv=true --apt-indices false
P: Updating config tree for a debian/jessie/amd64 system
P: Symlinking hooks...
It's not like I'm building this specially for you or anything!
[2021-06-08 05:03:39] lb build
P: live-build 1:20170213
P: Building config tree for a debian/jessie/amd64 system
[2021-06-08 05:03:39] lb bootstrap
P: Setting up cleanup function
[2021-06-08 05:03:39] lb bootstrap_cache restore
P: Restoring bootstrap stage from cache...
[2021-06-08 05:03:41] lb bootstrap_debootstrap
P: Begin bootstrapping system...
W: skipping bootstrap, already done
[2021-06-08 05:03:41] lb bootstrap_cache save
P: Saving bootstrap stage to cache...
[2021-06-08 05:03:42] lb chroot_devpts install
P: Begin mounting /dev/pts...
[2021-06-08 05:03:42] lb chroot_proc install
P: Begin mounting /proc...
[2021-06-08 05:03:42] lb chroot_selinuxfs install
[2021-06-08 05:03:42] lb chroot_sysfs install
P: Begin mounting /sys...
[2021-06-08 05:03:42] lb chroot_debianchroot install
P: Configuring file /etc/debian_chroot
[2021-06-08 05:03:43] lb chroot_dpkg install
P: Configuring file /sbin/start-stop-daemon
[2021-06-08 05:03:43] lb chroot_tmpfs install
[2021-06-08 05:03:43] lb chroot_sysv-rc install
P: Configuring file /usr/sbin/policy-rc.d
[2021-06-08 05:03:43] lb chroot_hosts install
P: Configuring file /etc/hosts
[2021-06-08 05:03:43] lb chroot_resolv install
P: Configuring file /etc/resolv.conf
[2021-06-08 05:03:43] lb chroot_hostname install
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
[2021-06-08 05:03:43] lb chroot_apt install
P: Configuring file /etc/apt/apt.conf
[2021-06-08 05:03:43] lb bootstrap_archives binary
P: Configuring file /etc/apt/sources.list
OK
OK
OK
OK
Ign http://deb.debian.org jessie InRelease
Get:1 http://deb.debian.org jessie/updates InRelease [44.9 kB]
Get:2 http://archive.debian.org jessie-backports InRelease [166 kB]
Get:3 http://dev.packages.vyos.net crux InRelease [4365 B]
Get:4 http://dev.packages.vyos.net crux InRelease [4364 B]
Ign http://archive.repo.saltstack.com jessie InRelease
inside VerifyGetSigners
gpgv path: /usr/bin/gpgv
Keyring file: /etc/apt/trusted.gpg
Keyring path: /etc/apt/trusted.gpg.d/
Preparing to exec: /usr/bin/gpgv /usr/bin/gpgv --ignore-time-conflict --status-fd 3 --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg /tmp/apt.sig.Q6LNUD /tmp/apt.data.cW6w0y
Ign http://archive.repo.saltstack.com jessie Release.gpg
Hit http://deb.debian.org jessie Release.gpg
Hit http://deb.debian.org jessie Release
Ign http://archive.repo.saltstack.com jessie Release
Read: [GNUPG:] SIG_ID KL61sZmEiDjMy8moidf0Zfli80I 2020-07-05 1593972361
Read: [GNUPG:] GOODSIG 9D6D8F6BC857C906 Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
Got GOODSIG, key ID:GOODSIG 9D6D8F6BC857C906
Read: [GNUPG:] VALIDSIG D21169141CECD440F2EB8DDA9D6D8F6BC857C906 2020-07-05 1593972361 0 4 0 1 8 01 D21169141CECD440F2EB8DDA9D6D8F6BC857C906
Read: [GNUPG:] SIG_ID aYdfdNp/AmhITIknnFkD8bET1YI 2020-07-05 1593972361
Read: [GNUPG:] GOODSIG AA8E81B4331F7F50 Debian Security Archive Automatic Signing Key (9/stretch) <ftpmaster@debian.org>
Got GOODSIG, key ID:GOODSIG AA8E81B4331F7F50
Read: [GNUPG:] VALIDSIG 379483D8B60160B155B372DDAA8E81B4331F7F50 2020-07-05 1593972361 0 4 0 1 8 01 6ED6F5CB5FA6FB2F460AE88EEDA0D2388AE22BA9
gpgv exited
gpgv succeeded
inside VerifyGetSigners
gpgv path: /usr/bin/gpgv
Keyring file: /etc/apt/trusted.gpg
Keyring path: /etc/apt/trusted.gpg.d/
Preparing to exec: /usr/bin/gpgv /usr/bin/gpgv --ignore-time-conflict --status-fd 3 --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg /tmp/apt.sig.IRCE6g /tmp/apt.data.OsBL8d
Err http://archive.repo.saltstack.com jessie/main amd64 Packages

Get:5 http://deb.debian.org jessie/updates/main Sources [366 kB]
Read: [GNUPG:] KEYEXPIRED 1587841717
Got KEYEXPIRED!
Read: [GNUPG:] SIGEXPIRED deprecated-use-keyexpired-instead
Read: [GNUPG:] SIG_ID gwbrXQUkae8WHvPvVdIao6ywNBI 2019-02-12 1550003167
Read: [GNUPG:] EXPKEYSIG 8B48AD6246925553 Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>
Read: [GNUPG:] VALIDSIG A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553 2019-02-12 1550003167 0 4 0 1 8 01 A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553
Read: [GNUPG:] SIG_ID SFLq0PRhoLXaB3Zl9BbtdCA5/mk 2019-02-12 1550003167
Read: [GNUPG:] GOODSIG 7638D0442B90D010 Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
Got GOODSIG, key ID:GOODSIG 7638D0442B90D010
Read: [GNUPG:] VALIDSIG 126C0D24BD8A2942CC7DF8AC7638D0442B90D010 2019-02-12 1550003167 0 4 0 1 8 01 126C0D24BD8A2942CC7DF8AC7638D0442B90D010
gpgv exited
gpgv succeeded
inside VerifyGetSigners
gpgv path: /usr/bin/gpgv
Keyring file: /etc/apt/trusted.gpg
Keyring path: /etc/apt/trusted.gpg.d/
Preparing to exec: /usr/bin/gpgv /usr/bin/gpgv --ignore-time-conflict --status-fd 3 --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg /tmp/apt.sig.hz9S2K /tmp/apt.data.N8kP5J
Get:6 http://deb.debian.org jessie/updates/main Sources [366 kB]
Read: [GNUPG:] SIG_ID 47QkqL/BBrBBGEe+YKId0SEOmhg 2021-05-30 1622405312
Read: [GNUPG:] GOODSIG 32C249BD0DF04B5C VyOS Maintainers (Development and testing repos) <maintainers@vyos.net>
Got GOODSIG, key ID:GOODSIG 32C249BD0DF04B5C
Read: [GNUPG:] VALIDSIG D17972096BC49F8281FA15FF32C249BD0DF04B5C 2021-05-30 1622405312 0 4 0 1 8 01 D17972096BC49F8281FA15FF32C249BD0DF04B5C
gpgv exited
gpgv succeeded
inside VerifyGetSigners
gpgv path: /usr/bin/gpgv
Keyring file: /etc/apt/trusted.gpg
Keyring path: /etc/apt/trusted.gpg.d/
Preparing to exec: /usr/bin/gpgv /usr/bin/gpgv --ignore-time-conflict --status-fd 3 --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg /tmp/apt.sig.HzXzij /tmp/apt.data.2dTXjn
Get:7 http://archive.debian.org jessie-backports/main Translation-en [627 kB]
Err http://archive.repo.saltstack.com jessie/main amd64 Packages

Get:8 http://dev.packages.vyos.net crux/main amd64 Packages [43.5 kB]
Read: [GNUPG:] SIG_ID CeVwJ/J3THafoLCBYahy16gbs70 2021-01-15 1610734856
Read: [GNUPG:] GOODSIG 32C249BD0DF04B5C VyOS Maintainers (Development and testing repos) <maintainers@vyos.net>
Got GOODSIG, key ID:GOODSIG 32C249BD0DF04B5C
Read: [GNUPG:] VALIDSIG D17972096BC49F8281FA15FF32C249BD0DF04B5C 2021-01-15 1610734856 0 4 0 1 8 01 D17972096BC49F8281FA15FF32C249BD0DF04B5C
gpgv exited
gpgv succeeded
Ign http://archive.repo.saltstack.com jessie/main Translation-en
Get:9 http://deb.debian.org jessie/updates/contrib Sources [1439 B]
Get:10 http://deb.debian.org jessie/updates/non-free Sources [1915 B]
Get:11 http://deb.debian.org jessie/updates/main amd64 Packages [781 kB]
inside VerifyGetSigners
gpgv path: /usr/bin/gpgv
Keyring file: /etc/apt/trusted.gpg
Keyring path: /etc/apt/trusted.gpg.d/
Preparing to exec: /usr/bin/gpgv /usr/bin/gpgv --ignore-time-conflict --status-fd 3 --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg --keyring /etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg --keyring /etc/apt/trusted.gpg /var/lib/apt/lists/partial/deb.debian.org_debian_dists_jessie_Release.gpg /var/lib/apt/lists/deb.debian.org_debian_dists_jessie_Release
Read: [GNUPG:] SIG_ID ojtqHuJ4O0FTGDpOXHQG4diUFt0 2019-07-06 1562405815
Read: [GNUPG:] GOODSIG 7638D0442B90D010 Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>
Got GOODSIG, key ID:GOODSIG 7638D0442B90D010
Read: [GNUPG:] VALIDSIG 126C0D24BD8A2942CC7DF8AC7638D0442B90D010 2019-07-06 1562405815 0 4 0 1 8 00 126C0D24BD8A2942CC7DF8AC7638D0442B90D010
gpgv exited
gpgv succeeded
Get:12 http://deb.debian.org jessie/updates/contrib amd64 Packages [2506 B]
Get:13 http://archive.debian.org jessie-backports/main amd64 Packages [911 kB]
Get:14 http://deb.debian.org jessie/updates/non-free amd64 Packages [4702 B]
Get:15 http://deb.debian.org jessie/updates/contrib Translation-en [1211 B]
Get:16 http://deb.debian.org jessie/updates/main Translation-en [401 kB]
Get:17 http://deb.debian.org jessie/updates/non-free Translation-en [11.8 kB]
Get:18 http://dev.packages.vyos.net crux/main amd64 Packages [28.4 kB]
Get:19 http://deb.debian.org jessie/main Sources [7063 kB]
Get:20 http://deb.debian.org jessie/contrib Sources [50.4 kB]
Ign http://dev.packages.vyos.net crux/main Translation-en
Get:21 http://deb.debian.org jessie/non-free Sources [99.2 kB]
Ign http://dev.packages.vyos.net crux/main Translation-en
Get:22 http://deb.debian.org jessie/main amd64 Packages [6818 kB]
Hit http://deb.debian.org jessie/contrib amd64 Packages
Hit http://deb.debian.org jessie/non-free amd64 Packages
Get:23 http://deb.debian.org jessie/contrib Translation-en [38.3 kB]
Get:24 http://deb.debian.org jessie/main Translation-en [4581 kB]
Get:25 http://deb.debian.org jessie/non-free Translation-en [72.0 kB]
Hit http://deb.debian.org jessie/main amd64 Packages [6818 kB]
Ign http://deb.debian.org jessie/main Translation-en
Fetched 10.4 MB in 13s (790 kB/s)
W: Failed to fetch http://archive.repo.saltstack.com/apt/debian/8/amd64/2017.7/dists/jessie/main/binary-amd64/Packages

E: Some index files failed to download. They have been ignored, or old ones used instead.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
neo@vyos-build:~/vyos-build$ cat data/defaults.json
{
  "architecture": "amd64",
  "debian_mirror": "http://deb.debian.org/debian",
  "debian_security_mirror": "http://deb.debian.org/debian-security",
  "debian_distribution": "jessie",
  "vyos_mirror": "http://dev.packages.vyos.net/repositories/crux",
  "vyos_branch": "crux",
  "kernel_version": "4.19.190",
  "kernel_flavor": "amd64-vyos",
  "release_train": "crux",
  "additional_repositories": [
    "deb http://archive.repo.saltstack.com/apt/debian/8/amd64/2017.7 jessie main",
    "deb http://archive.debian.org/debian/ jessie-backports main"
  ],
  "custom_packages": []
}

Will this make any difference?

neo@vyos-build:~/vyos-build$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.11 (jessie)
Release:        8.11
Codename:       jessie

Even though I tried with buster and its a same issue

Try this
deb http://archive.repo.saltproject.io/apt/debian/8/amd64/2017.7 jessie main

Let me try and revert

Still no luck - What is wrong!! Is compiling so hard and tedious?

Get:17 http://deb.debian.org jessie/main Sources [7063 kB]
Get:18 http://dev.packages.vyos.net crux/main amd64 Packages [28.4 kB]
Get:19 http://deb.debian.org jessie/contrib Sources [50.4 kB]
Get:20 http://deb.debian.org jessie/non-free Sources [99.2 kB]
Ign http://dev.packages.vyos.net crux/main Translation-en
Get:21 http://deb.debian.org jessie/main amd64 Packages [6818 kB]
Ign http://dev.packages.vyos.net crux/main Translation-en
Hit http://deb.debian.org jessie/contrib amd64 Packages
Hit http://deb.debian.org jessie/non-free amd64 Packages
Get:22 http://deb.debian.org jessie/contrib Translation-en [38.3 kB]
Get:23 http://deb.debian.org jessie/main Translation-en [4581 kB]
Get:24 http://deb.debian.org jessie/non-free Translation-en [72.0 kB]
Ign http://deb.debian.org jessie/main Translation-en
Err http://archive.debian.org jessie-backports/main amd64 Packages

Err http://archive.debian.org jessie-backports/main amd64 Packages

Get:25 http://archive.debian.org jessie-backports/main amd64 Packages [911 kB]
Fetched 17.8 MB in 2min 6s (141 kB/s)
W: Failed to fetch http://archive.repo.saltproject.io/apt/debian/8/amd64/2017.7/dists/jessie/main/binary-amd64/Packages

E: Some index files failed to download. They have been ignored, or old ones used instead.
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...

And here is my defaults.json file

 vi data/defaults.json
{
  "architecture": "amd64",
  "debian_mirror": "http://deb.debian.org/debian",
  "debian_security_mirror": "http://deb.debian.org/debian-security",
  "debian_distribution": "jessie",
  "vyos_mirror": "http://dev.packages.vyos.net/repositories/crux",
  "vyos_branch": "crux",
  "kernel_version": "4.19.190",
  "kernel_flavor": "amd64-vyos",
  "release_train": "crux",
  "additional_repositories": [
    "deb http://archive.repo.saltproject.io/apt/debian/8/amd64/2017.7 jessie main",
    "deb http://archive.debian.org/debian/ jessie-backports main"
  ],
  "custom_packages": []

May be I am trying with https. Lets see

It some changes in the salt repo, after that it can’t be built for crux.
Stay tuned for updates to the task at phabricator.

I guess I see few commit changes were made in phabricator and later I decided to build again. I believe it went ahead and it seems successfully however no ISO is still generated. and later I deicded to scroll back and see the errors.

Is this stopping now from building ISO?

invoke-rc.d: policy-rc.d denied execution of restart.
Processing triggers for systemd (215-17+deb8u13) ...
I: Create initramfs if it does not exist.
/root/17-gen_initramfs.chroot: line 8: [: /boot/initrd.img-4.19.190-amd64-vyos: binary operator expected
Extra argument '4.19.194-amd64-vyos'

Usage: /usr/sbin/update-initramfs.orig.initramfs-tools [OPTION]...

Options:
 -k version     Specify kernel version or 'all'
 -c             Create a new initramfs
 -u             Update an existing initramfs
 -d             Remove an existing initramfs
 -t             Take over a custom initramfs with this one
 -b directory   Set alternate boot directory
 -v             Be verbose
 -h             This message

E: config/hooks/live/17-gen_initramfs.chroot failed (exit non-zero). You should check for errors.
P: Begin unmounting filesystems...
P: Saving caches...