HowtoDebian/Repository: Handle conflicting distribution with apt-ftparchive
This commit is contained in:
parent
b9620b14c2
commit
ef38a25228
|
@ -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 packages stretch/ > stretch/Packages
|
||||||
$ apt-ftparchive sources stretch/ > stretch/Sources
|
$ apt-ftparchive sources stretch/ > stretch/Sources
|
||||||
$ apt-ftparchive contents stretch/ > stretch/Contents
|
$ 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/Sources
|
||||||
$ #gzip -f stretch/Packages
|
$ #gzip -f stretch/Packages
|
||||||
$ gzip -f stretch/Contents
|
$ 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/
|
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
|
## reprepro
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
|
|
Loading…
Reference in a new issue