You are on page 1of 2

gpg --recv-key --keyserver keyring.debian.

org 6294BE9B

mkdir -p debian
mkdir -p debian/12.0
mkdir -p debian/12.1
mkdir -p debian/12.2
mkdir -p debian/12.4
mkdir -p debian/current

cd debian

cd 12.0
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.0.0/amd64/bt-
dvd/SHA512SUMS
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.0.0/amd64/bt-
dvd/SHA512SUMS.sign
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.0.0/amd64/bt-
dvd/debian-12.0.0-amd64-DVD-1.iso.torrent
gpg --verify SHA512SUMS.sign SHA512SUMS
sha512sum -c --ignore-missing SHA512SUMS
cd ..

cd 12.1
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.1.0/amd64/bt-
dvd/SHA512SUMS
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.1.0/amd64/bt-
dvd/SHA512SUMS.sign
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.1.0/amd64/bt-
dvd/debian-12.1.0-amd64-DVD-1.iso.torrent
gpg --verify SHA512SUMS.sign SHA512SUMS
sha512sum -c --ignore-missing SHA512SUMS
cd ..

cd 12.2
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.2.0/amd64/bt-
dvd/SHA512SUMS
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.2.0/amd64/bt-
dvd/SHA512SUMS.sign
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.2.0/amd64/bt-
dvd/debian-12.2.0-amd64-DVD-1.iso.torrent
gpg --verify SHA512SUMS.sign SHA512SUMS
sha512sum -c --ignore-missing SHA512SUMS
cd ..

cd 12.4
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.4.0/amd64/bt-
dvd/SHA512SUMS
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.4.0/amd64/bt-
dvd/SHA512SUMS.sign
aria2c --seed-time=0 https://cdimage.debian.org/cdimage/archive/12.4.0/amd64/bt-
dvd/debian-12.4.0-amd64-DVD-1.iso.torrent
gpg --verify SHA512SUMS.sign SHA512SUMS
sha512sum -c --ignore-missing SHA512SUMS
cd ..

cd current
aria2c --seed-time=0
https://cdimage.debian.org/debian-cd/current/amd64/bt-dvd/SHA512SUMS
aria2c https://cdimage.debian.org/debian-cd/current/amd64/bt-dvd/SHA512SUMS.sign
aria2c https://cdimage.debian.org/debian-cd/current/amd64/bt-dvd/debian-12.5.0-
amd64-DVD-1.iso.torrent
gpg --verify SHA512SUMS.sign SHA512SUMS
sha512sum -c --ignore-missing SHA512SUMS
cd ..

mkdir -p bookworm
mv 12.*/*.iso bookworm/
echo done

You might also like