Forum archive
TKLDEV - Make - Output Error: changed its 'Suite' value from 'stable' to 'oldstable'
Debian changed conf, and i use yours links for download my packages.
Error start : Day:15 - Month:08 --2021
if ! deck --isdeck build/root.build; then deck build/bootstrap build/root.build; fi
fab-install build/root.build build/root.spec
setting apt proxy settings...
updating package lists...
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Ign:2 http://archive.turnkeylinux.org/debian buster-security InRelease
Get:3 http://security.debian.org buster/updates InRelease [65.4 kB]
Ign:4 http://archive.turnkeylinux.org/debian buster InRelease
Get:5 http://archive.turnkeylinux.org/debian buster-security Release [3857 B]
Get:6 http://archive.turnkeylinux.org/debian buster Release [3830 B]
Get:7 http://archive.turnkeylinux.org/debian buster-security Release.gpg [833 B]
Get:8 http://archive.turnkeylinux.org/debian buster Release.gpg [833 B]
Get:9 http://archive.turnkeylinux.org/debian buster/main amd64 Packages [31.0 kB]
Reading package lists... Done
N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.3' to '10.10'
E: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Release file for http://security.debian.org/dists/buster/updates/InRelease is not valid yet (invalid for another 21h 58min 43s). Updates for this repository will not be applied.
Traceback (most recent call last):
File "/usr/lib/fab/wrapper.py", line 34, in <module>
CliWrapper.main()
File "/usr/lib/python2.7/dist-packages/pyproject.py", line 388, in main
commands.run(name, args)
File "/usr/lib/python2.7/dist-packages/pyproject.py", line 261, in run
command.module.main()
File "/usr/lib/fab/pylib/cmd_install.py", line 129, in main
installer.install(packages, ignore_errors)
File "/usr/lib/fab/pylib/installer.py", line 276, in install
self.chroot.system("apt-get update")
File "/usr/lib/python2.7/dist-packages/chroot.py", line 80, in system
executil.system(*self._prepare_command(*command))
File "/usr/lib/python2.7/dist-packages/executil.py", line 56, in system
I found this:
#!/bin/bash -e
# create apt sources
# environment variables:
# - required: CODENAME
# - optional: NONFREE
# - optional: TKL_TESTING
# - optional: BACKPORTS
# - optional: PHP_VERSION
# Note, to install packages from backports:
# - set 'BACKPORTS=y'; and either:
# - add to plan & pin package(s) to backports (via prefs file); or
# - install via apt using '-t $CODENAME-backports' switch
fatal() {
echo "fatal: $@" 1>&2
exit 1
}
[ -n "$CODENAME" ] || fatal "CODENAME is not set"
SOURCES_LIST=/etc/apt/sources.list.d
PREFS_LIST=/etc/apt/preferences.d
mkdir -p $SOURCES_LIST $PREFS_LIST
# Default Debian PHP version. This should return the current:
# apt-cache policy php | sed -n "\|Candidate:|s|.*:\([0-9]\.[0-9]*\)+.*|\1|p"
DEBIAN_PHP_V=7.3
# keys are provided as ascii armoured for transparency; but secure apt requires
# gpg keyrting files
key_dir=/usr/share/keyrings
repos=(main security testing)
for repo in ${repos[@]}; do
full_path=$key_dir/tkl-$CODENAME-$repo
keyring=$full_path.gpg
keyfile=$full_path.asc
gpg --no-default-keyring --keyring $keyring --import $keyfile
rm $keyfile
done
# ensure that gpg-agent is killed after processing keys
kill -9 $(pidof gpg-agent) || true
rm -rf $HOME/.gnupg
cat > $SOURCES_LIST/sources.list <<EOF
deb [signed-by=$key_dir/tkl-$CODENAME-main.gpg] http://archive.turnkeylinux.org/debian $CODENAME main
deb http://deb.debian.org/debian $CODENAME main
deb http://deb.debian.org/debian $CODENAME contrib
#deb http://deb.debian.org/debian $CODENAME non-free
EOF
cat > $SOURCES_LIST/security.sources.list <<EOF
deb [signed-by=$key_dir/tkl-$CODENAME-security.gpg] http://archive.turnkeylinux.org/debian $CODENAME-security main
deb http://security.debian.org/ $CODENAME/updates main
deb http://security.debian.org/ $CODENAME/updates contrib
#deb http://security.debian.org/ $CODENAME/updates non-free
EOF
TKL_TESTING_LIST=$SOURCES_LIST/turnkey-testing.list
cat > $TKL_TESTING_LIST.disabled <<EOF
deb [signed-by=$key_dir/tkl-$CODENAME-testing.gpg] http://archive.turnkeylinux.org/debian $CODENAME-testing main
EOF