Skip to content

Instantly share code, notes, and snippets.

@franklintimoteo
Created November 28, 2022 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save franklintimoteo/c256fbcb7e1a6cae80a3e9115bc68834 to your computer and use it in GitHub Desktop.
Save franklintimoteo/c256fbcb7e1a6cae80a3e9115bc68834 to your computer and use it in GitHub Desktop.
deck -D build/root.build
deck -D build/bootstrap
rm -rf build/root.spec build/cdroot build/product.iso build/log build/stamps
deck /turnkey/fab/bootstraps/bullseye build/bootstrap
fab-apply-overlay /turnkey/fab/common/overlays/bootstrap_apt build/bootstrap;
fab-chroot build/bootstrap "echo nameserver 8.8.8.8 > /etc/resolv.conf";
fab-chroot build/bootstrap "echo nameserver 8.8.4.4 >> /etc/resolv.conf";
mkdir -p build/bootstrap/usr/local/share/ca-certificates/;
# temporarily allow cert to not exist
cp /usr/local/share/ca-certificates/squid_proxyCA.crt build/bootstrap/usr/local/share/ca-certificates/ || true;
fab-chroot build/bootstrap --script /turnkey/fab/common/conf/bootstrap_apt;
Updating certificates in /etc/ssl/certs...
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
gpg: keybox '/usr/share/keyrings/tkl-bullseye-main.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 8310FB59244ED6FA: public key "TurnKey GNU/Linux Bullseye Main apt repo (GPG signing key for TurnKey Linux Bullseye Main apt repository) <release-bullseye-main@turnkeylinux.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: keybox '/usr/share/keyrings/tkl-bullseye-security.gpg' created
gpg: key 18B7BB70C68EB0FC: public key "TurnKey GNU/Linux Bullseye Security apt repo (GPG signing key for TurnKey Linux Bullseye Security apt repository) <release-bullseye-security@turnkeylinux.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: keybox '/usr/share/keyrings/tkl-bullseye-testing.gpg' created
gpg: key 4D8A0E650BA678DC: public key "TurnKey GNU/Linux Bullseye Testing apt repo (GPG signing key for TurnKey Linux Bullseye Testing apt repository) <release-bullseye-testing@turnkeylinux.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
Err:1 http://archive.turnkeylinux.org/debian bullseye-security InRelease
503 Service Unavailable [IP: 127.0.0.1 3128]
Err:2 http://archive.turnkeylinux.org/debian bullseye InRelease
503 Service Unavailable [IP: 127.0.0.1 3128]
Get:3 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:4 http://security.debian.org bullseye-security InRelease [48.4 kB]
Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8184 kB]
Get:6 http://security.debian.org bullseye-security/main amd64 Packages [208 kB]
Get:7 http://security.debian.org bullseye-security/main Translation-en [134 kB]
Get:8 http://deb.debian.org/debian bullseye/main Translation-en [6239 kB]
Get:9 http://deb.debian.org/debian bullseye/contrib amd64 Packages [50.6 kB]
Get:10 http://deb.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Fetched 15.0 MB in 2s (6187 kB/s)
Reading package lists... Done
N: Repository 'http://deb.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.3' to '11.5'
W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/bullseye-security/InRelease 503 Service Unavailable [IP: 127.0.0.1 3128]
W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/bullseye/InRelease 503 Service Unavailable [IP: 127.0.0.1 3128]
W: Some index files failed to download. They have been ignored, or old ones used instead.
touch build/stamps/bootstrap
unit_plans=""; fab-plan-resolve plan/main $unit_plans --bootstrap=/turnkey/fab/bootstraps/bullseye --output=build/root.spec -D 'FAB_ARCH=amd64' -D 'FAB_HTTP_PROXY=http://127.0.0.1:3128' -D 'AMD64=y' -D 'RELEASE=debian/bullseye' -D 'DISTRO=debian' -D 'CODENAME=bullseye' -D 'DEBIAN=y' -D 'CHROOT_ONLY=no'
touch build/stamps/root.spec
if ! deck --isdeck build/root.build; then deck build/bootstrap build/root.build; fi
fab-install build/root.build build/root.spec
updating package lists...
Err:1 http://archive.turnkeylinux.org/debian bullseye-security InRelease
503 Service Unavailable [IP: 127.0.0.1 3128]
Err:2 http://archive.turnkeylinux.org/debian bullseye InRelease
503 Service Unavailable [IP: 127.0.0.1 3128]
Hit:3 http://security.debian.org bullseye-security InRelease
Hit:4 http://deb.debian.org/debian bullseye InRelease
Reading package lists... Done
W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/bullseye-security/InRelease 503 Service Unavailable [IP: 127.0.0.1 3128]
W: Failed to fetch http://archive.turnkeylinux.org/debian/dists/bullseye/InRelease 503 Service Unavailable [IP: 127.0.0.1 3128]
W: Some index files failed to download. They have been ignored, or old ones used instead.
installing packages...
Reading package lists... Done
Building dependency tree... Done
Package webmin-firewall is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package turnkey-version
E: Unable to locate package webmin-lvm
E: Unable to locate package webmin-sshd
E: Unable to locate package tklbam
E: Unable to locate package webmin-shell
E: Unable to locate package webmin-fail2ban
E: Unable to locate package webmin-fdisk
E: Unable to locate package webmin
E: Unable to locate package webmin-custom
E: Unable to locate package webmin-tklbam
E: Unable to locate package webmin-postfix
E: Unable to locate package turnkey-sysinfo
E: Unable to locate package webmin-net
E: Unable to locate package webmin-passwd
E: Unable to locate package hubdns
E: Unable to locate package webmin-authentic-theme
E: Package 'webmin-firewall' has no installation candidate
E: Unable to locate package webmin-raid
E: Unable to locate package webmin-software
E: Unable to locate package confconsole
E: Unable to locate package webmin-filemin
E: Unable to locate package webmin-useradmin
E: Unable to locate package webmin-updown
E: Unable to locate package inithooks
E: Unable to locate package di-live
E: Unable to locate package webmin-syslog
E: Unable to locate package webmin-firewall6
Traceback (most recent call last):
File "/usr/bin/fab-install", line 608, in <module>
cmd_install(
File "/usr/bin/fab-install", line 247, in cmd_install
installer.install(packages, ignore_errors)
File "/usr/lib/python3.9/dist-packages/fablib/installer.py", line 334, in install
self._install(packages, ignore_errors)
File "/usr/lib/python3.9/dist-packages/fablib/installer.py", line 173, in _install
log = get_last_log(join(self.chroot.path, "var/log/apt/term.log"))
File "/usr/lib/python3.9/dist-packages/fablib/installer.py", line 153, in get_last_log
with open(path) as fob:
FileNotFoundError: [Errno 2] No such file or directory: '/turnkey/fab/products/pihole/build/root.build/var/log/apt/term.log'
make: *** [/usr/share/fab/product.mk:569: build/stamps/root.build] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment