From 43e9e8451d1178b38ed4dae7bac80efe013323c5 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 14 Jan 2018 20:08:37 +0100 Subject: [PATCH] mirror --- source/debian/mirror.rst | 57 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 source/debian/mirror.rst diff --git a/source/debian/mirror.rst b/source/debian/mirror.rst new file mode 100644 index 0000000..0fc1d85 --- /dev/null +++ b/source/debian/mirror.rst @@ -0,0 +1,57 @@ +****** +Mirror +****** + +apt-mirror +========== + +.. todo:: + +debmirror +========= + +traditional +----------- + +.. code:: shell + + debmirror \ + --source \ + --method="http" \ + --host="sous.domaine.tld" \ + --root="chemin/ressource" \ + --dist="stretch" \ + --section="main" \ + --keyring="/etc/apt/trusted.gpg" \ + --arch="amd64" \ + --check-gpg \ + --checksums \ + --diff="none" \ + --postcleanup \ + --progress \ + --rsync-extra="none" \ + --timeout=360000 \ + --verbose \ + "répertoire_miroirs/nom" \ + +debian only +----------- + +.. code:: shell + + --di-arch="arches" \ + --di-dist="stretch" \ + --i18n \ + --keyring="/usr/share/keyrings/debian-archive-keyring.gpg" \ + +violations +---------- + +.. code:: shell + + --no-source \ + --method="https" \ + --root="/" \ + --ignore-missing-release \ + --dist="nom,chemin/ressource" \ + --section="autre,1.2/main" \