From ef38a252288d9d5ee26bd8863bbbf2bb861792f4 Mon Sep 17 00:00:00 2001 From: David Prevot Date: Tue, 12 Jul 2022 11:38:14 +0200 Subject: [PATCH] HowtoDebian/Repository: Handle conflicting distribution with apt-ftparchive --- HowtoDebian/Repository.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/HowtoDebian/Repository.md b/HowtoDebian/Repository.md index c9f86a84..00fab8d4 100644 --- a/HowtoDebian/Repository.md +++ b/HowtoDebian/Repository.md @@ -12,7 +12,7 @@ Une façon "old school" est d'avoir un répertoire avec des paquets Debian dedan $ apt-ftparchive packages stretch/ > stretch/Packages $ apt-ftparchive sources stretch/ > stretch/Sources $ apt-ftparchive contents stretch/ > stretch/Contents -$ apt-ftparchive release kernel/ > kernel/Release +$ apt-ftparchive -o APT::FTPArchive::Release::Codename="stretch/" release stretch/ > stretch/Release $ gzip -f stretch/Sources $ #gzip -f stretch/Packages $ gzip -f stretch/Contents @@ -30,9 +30,6 @@ Le répertoire doit ensuite être accessible en HTTP et l'on pourra ajouter à deb http://pub.example.com/ stretch/ ~~~ -> *Note* : l'erreur `W: Conflicting distribution: http://pub.example.com stretch/ Release (expected stretch/ but got )` peut être ignorée - - ## reprepro ~~~