Faire un dépot local contenant les paquets d'une machine

Sur la machine source:

puis

$ mkdir Paquets $ cd Paquets $ COLUMNS=132 dpkg -l | grep "^ii" | awk '{print "fakeroot -u dpkg-repack "$2}'| sh

Prendre un café, au retour, les paquets sur la machine sont reconstitués avec les éventuelles modifications. Une sauvegarde de /etc est également une bonne idée.

Pour constituer un dépot local

$ mkdir <repertoire> On met les paquets dans <repertoire> $ cd <repertoire> $ dpkg-scanpackages . /dev/null | gzip > Packages.gz $ zcat Packages.gz | bzip2 > Packages.bz2
puis on met

deb file:// /

dans le sources.list

[code]# aptitude update

aptitude install les_paquets

[/code]
installe les paquets.

J’ai installé debarchiver il y a quelques temps, et voila mon experience :

http://www.dthconnex.com/debian_repository.htm

Il y a d’autres alternatives, mais je n’ai pas le temps de mettre en place quelque chose d’autre pour le moment.
Il faudrait ajouter de plus amples explications sur le fonctionnement basique, donc si certains ont un peu de temps :p!

Fran.b je crois bien que MattOTop avait fait quelque chose de similaire sur la création d’un dépot.
viewtopic.php?f=8&t=1863

Sur la création d’un dépot multi architecture c’est plus compliqué, ici, ce fil répondait à la demande de faire des paquets d’une machine précise, d’en faire un dépot et de réutiliser ces paquets pour restaurer la machine -config comprise-… Le fil de Matt est un la création d’un dépot pour une architecture, je ferais éventuellement un tuto pour la création multiarchitecture

Le mien gère aussi le multi architecture.

Mis dans la listes des T&A. Arrives tu à ce que les cleints parcourt le binary-all? En ce qui me concerne, quoi qu’il arrive, il ne parcourt que binary- et point barre.

Les paquets sont chargés dans binary_all, binary_i386, binary_amd64 suivant l’architecture présente dans le fichier control.

Ainsi, pour une architecture de type all, mon amd64 et ma machine i386 sont toutes deux capables d’installer les paquets. Par contre en architecture amd64, seul le serveur est capable de retrouver le paquet.

Oui,ça j’ai bien compris, et je respecte cela mais j’ai pas mal de visites sur mon dépot, il a la structure suivante:

[quote]./dists
./dists/etch
./dists/etch/divers
./dists/etch/divers/binary-all
./dists/etch/divers/binary-amd64
./dists/etch/divers/binary-i386
./dists/sarge
./dists/sarge/divers
./dists/sarge/divers/binary-all
./dists/sarge/divers/binary-amd64
./dists/sarge/divers/binary-i386
./dists/woody
./dists/woody/divers
./dists/woody/divers/binary-all
./dists/woody/divers/binary-amd64
./dists/woody/divers/binary-i386
./dists/sid
./dists/sid/divers
./dists/sid/divers/binary-all
./dists/sid/divers/binary-amd64
./dists/sid/divers/binary-i386
./dists/lenny
./dists/lenny/divers
./dists/lenny/divers/binary-all
./dists/lenny/divers/binary-amd64
./dists/lenny/divers/binary-i386
./pool
./pool/sarge
./pool/sarge/i386
./pool/sarge/all
./pool/sarge/amd64
./pool/woody
./pool/woody/all
./pool/woody/i386
./pool/etch
./pool/etch/amd64
./pool/etch/i386
./pool/etch/all
./pool/etch/test
./pool/sid
./pool/sid/all
./pool/sid/i386
./pool/sid/amd64
./pool/lenny
./pool/lenny/all
./pool/lenny/amd64
./pool/lenny/i386
[/quote]
et voilà typequement ce que j’obtiens:

[quote]201.95.70.38 - - [30/Nov/2007:22:49:40 +0100] “GET /debian/dists/etch/divers/binary-i386/Packages.diff/Index HTTP/1.1” 404 337 “-” "Debian APT-HTTP/1.3 (0.7.6)"
201.95.70.38 - - [30/Nov/2007:22:49:41 +0100] “GET /debian/dists/etch/divers/binary-i386/Packages.bz2 HTTP/1.1” 304 - “-” "Debian APT-HTTP/1.3 (0.7.6)"
201.95.70.38 - - [30/Nov/2007:22:50:57 +0100] “GET /debian/dists/etch/divers/binary-i386/Packages.diff/Index HTTP/1.1” 404 337 “-” "Debian APT-HTTP/1.3 (0.7.6)"
201.95.70.38 - - [30/Nov/2007:22:50:58 +0100] “GET /debian/dists/etch/divers/binary-i386/Packages.bz2 HTTP/1.1” 304 - “-” "Debian APT-HTTP/1.3 (0.7.6)"
82.246.25.233 - - [30/Nov/2007:22:52:01 +0100] “GET /amd64/dists/beryl/.//binary-amd64/Packages.diff/Index HTTP/1.1” 404 332 “-” "Debian APT-HTTP/1.3 (0.7.9)"
82.246.25.233 - - [30/Nov/2007:22:52:01 +0100] “GET /amd64/dists/beryl/.//binary-amd64/Packages.bz2 HTTP/1.1” 304 - “-” "Debian APT-HTTP/1.3 (0.7.9)"
80.219.97.67 - - [30/Nov/2007:22:53:19 +0100] “GET /debian/dists/etch/divers/binary-amd64/Packages.diff/Index HTTP/1.1” 404 338 “-” "Debian APT-HTTP/1.3 (0.7.6)"
80.219.97.67 - - [30/Nov/2007:22:53:19 +0100] “GET /debian/dists/lenny/divers/binary-amd64/Packages.diff/Index HTTP/1.1” 404 339 “-” "Debian APT-HTTP/1.3 (0.7.6)"
80.219.97.67 - - [30/Nov/2007:22:53:19 +0100] “GET /debian/dists/etch/divers/binary-amd64/Packages.bz2 HTTP/1.1” 304 - “-” "Debian APT-HTTP/1.3 (0.7.6)"
80.219.97.67 - - [30/Nov/2007:22:53:19 +0100] “GET /debian/dists/lenny/divers/binary-amd64/Packages.bz2 HTTP/1.1” 304 - “-” "Deb[/quote]
En clair les binary-? sont visités (?=architecture) mais jamais binary-all.
Le script me faisant les updates des fichiers Packages est le suivant:

[quote]#!/bin/sh
if [ -z $1 ] ; then
LIST=ls -d pool/*/*
else
LIST=ls -d pool/$1/*
fi
echo $LIST
for f in $LIST ; do
Paquet=echo $f | sed -e 's/pool/dists/' | sed -e 's|/\([^/]*\)$|/divers/binary-\1/Packages|'
echo -n $Paquet…
dpkg-scanpackages $f override | gzip > $Paquet.gz
zcat $Paquet.gz | bzip2 > $Paquet.bz2
echo fait
[/quote]
Même en faisant la manip à la main, ça coince. Bref, je suis obliger de faire des liens dans les repertoires des différentes architectures vers les paquets -all pour qu’ils soient téléchargeables. Ça marche mais ça m’énerve. Si tu as une idée… Ça doit être un truc tout con mais sur la DUF, je n’avais pas eu de réponse…

Woody est toujours supporté ?

Même en faisant la manip à la main, ça coince. Bref, je suis obliger de faire des liens dans les repertoires des différentes architectures vers les paquets -all pour qu’ils soient téléchargeables. Ça marche mais ça m’énerve. Si tu as une idée… Ça doit être un truc tout con mais sur la DUF, je n’avais pas eu de réponse…[/quote]

Je n’utilise pas moi-même dpkg-scanpackages ou apt-ftparchives.

Dans le répertoire sid chez moi j’ai fait un test :

.
./installed
./installed/lbm4r_0.2_amd64.changes
./installed/debian-dthconnex-keyring_2007.11.19_amd64.changes
./Contents-amd64.gz
./Contents-i386
./Contents-amd64
./Release.gpg
./Release
./main
./main/binary-all
./main/binary-all/misc
./main/binary-all/misc/debian-dthconnex-keyring_2007.11.19_all.deb
./main/binary-i386
./main/binary-i386/Packages.bz2
./main/binary-i386/Release
./main/binary-i386/Packages.gz
./main/binary-i386/Packages
./main/source
./main/source/admin
./main/source/admin/lbm4r_0.2.tar.gz
./main/source/admin/lbm4r_0.2.dsc
./main/source/Sources
./main/source/misc
./main/source/misc/debian-dthconnex-keyring_2007.11.19.dsc
./main/source/misc/debian-dthconnex-keyring_2007.11.19.tar.gz
./main/source/Sources.gz
./main/source/Release
./main/source/Sources.bz2
./main/override.src
./main/override
./main/binary-amd64
./main/binary-amd64/admin
./main/binary-amd64/admin/lbm4r_0.2_amd64.deb
./main/binary-amd64/Packages.bz2
./main/binary-amd64/Release
./main/binary-amd64/Packages.gz
./main/binary-amd64/Packages
./Contents-i386.gz

Par défaut tous packages construits suivant l’architecture all se retrouve dans binary-all, autrement il est placé dans le répertoire associé à l’architecture, ce qui est le cas de lbm4r pour l’architecture amd64. Les fichiers Packages présents contiennent les chemins complets vers les .deb, et par conséquent pointent sur binary-all si le paquet n’est pas spécifique à l’architecture.

C’est simplement un constat. Comme cela je n’ai pas de solution, mais je regarderais dimanche soir si j’ai le temps, au pire lundi soir car je suis absent ce week end et j’ai un bout de soft à faire pour lundi.

hello
euh je vien de refaire un essai sure ma sid et j’ai plein de truc genre:

/kernel/sauvgarde/sauvgarde_10_11_2008_paquet_only# COLUMNS=132 dpkg -l  | grep "^ii" | awk '{print "fakeroot -u dpkg-repack "$2}'|  sh
dpkg-deb: building package `aacgain' in `./aacgain_1.7-0.0_i386.deb'.
dpkg-deb: building package `aacplusenc' in `./aacplusenc_0.17.1-0.1_i386.deb'.
dpkg-repack: File not found: /usr/share/locale/de/LC_MESSAGES/acl.mo
dpkg-repack: File not found: /usr/share/locale/es/LC_MESSAGES/acl.mo
dpkg-repack: File not found: /usr/share/locale/gl/LC_MESSAGES/acl.mo
dpkg-repack: File not found: /usr/share/locale/pl/LC_MESSAGES/acl.mo
dpkg-repack: File not found: /usr/share/locale/sv/LC_MESSAGES/acl.mo
dpkg-deb: building package `acl' in `./acl_2.2.47-2_i386.deb'.
dpkg-repack: Problems were encountered in processing.
dpkg-repack: The package may be broken.
dpkg-repack: Skipping missing conffile: /etc/acpi/events/powerbtn-acpi-support
dpkg-deb: building package `acpi-support-base' in `./acpi-support-base_0.109-9_i386.deb'.
dpkg-repack: Skipping obsolete conffile /etc/acpi/events/powerbtn

dpkg-repack: Skipping obsolete conffile /etc/acpi/powerbtn.sh

dpkg-deb: building package `acpid' in `./acpid_1.0.6-13_i386.deb'.
dpkg-repack: File not found: /usr/src/acx100.tar.gz
dpkg-deb: building package `acx100-source' in `./acx100-source_20070101-3_i386.deb'.
dpkg-repack: Problems were encountered in processing.
dpkg-repack: The package may be broken.
dpkg-repack: File not found: /usr/share/man/ru/man5/adduser.conf.5.gz
dpkg-repack: File not found: /usr/share/man/ru/man5/deluser.conf.5.gz
dpkg-repack: File not found: /usr/share/man/ru/man8/adduser.8.gz
dpkg-repack: File not found: /usr/share/man/ru/man8/deluser.8.gz
dpkg-repack: File not found: /usr/share/man/pl/man5/deluser.conf.5.gz
dpkg-repack: File not found: /usr/share/man/pl/man8/adduser.8.gz
dpkg-repack: File not found: /usr/share/man/sv/man5/deluser.conf.5.gz
dpkg-repack: File not found: /usr/share/man/sv/man8/adduser.8.gz
dpkg-repack: File not found: /usr/share/man/pt_BR/man5/deluser.conf.5.gz
dpkg-repack: File not found: /usr/share/man/pt_BR/man8/adduser.8.gz
dpkg-repack: File not found: /usr/share/man/it/man5/adduser.conf.5.gz
dpkg-repack: File not found: /usr/share/man/it/man5/deluser.conf.5.gz
dpkg-repack: File not found: /usr/share/man/it/man8/adduser.8.gz
dpkg-repack: File not found: /usr/share/man/it/man8/deluser.8.gz
dpkg-repack: File not found: /usr/share/locale/ca/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/cs/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/da/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/de/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/es/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/eu/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/hu/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/it/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/ja/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/ko/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/nb/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/nl/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/pl/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/pt_BR/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/ru/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/sv/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/uk/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/locale/zh_CN/LC_MESSAGES/adduser.mo
dpkg-repack: File not found: /usr/share/man/ru/man8/addgroup.8.gz
dpkg-repack: File not found: /usr/share/man/ru/man8/delgroup.8.gz
dpkg-repack: File not found: /usr/share/man/pl/man8/addgroup.8.gz
dpkg-repack: File not found: /usr/share/man/sv/man8/addgroup.8.gz
dpkg-repack: File not found: /usr/share/man/pt_BR/man8/addgroup.8.gz
dpkg-repack: File not found: /usr/share/man/it/man8/addgroup.8.gz
dpkg-repack: File not found: /usr/share/man/it/man8/delgroup.8.gz
dpkg-deb: building package `adduser' in `./adduser_3.110_i386.deb'.
dpkg-repack: Problems were encountered in processing.
dpkg-repack: The package may be broken.
dpkg-deb: building package `akregator' in `./akregator_3.5.9-5_i386.deb'.
dpkg-deb: building package `alsa-base' in `./alsa-base_1.0.17.dfsg-4_i386.deb'.
dpkg-deb: building package `alsa-source' in `./alsa-source_1.0.17.dfsg-4_i386.deb'.
dpkg-deb: building package `alsa-tools-gui' in `./alsa-tools-gui_1.0.16-2_i386.deb'.
dpkg-repack: File not found: /usr/share/locale/ja/LC_MESSAGES/alsa-utils.mo
dpkg-repack: File not found: /usr/share/locale/ja/LC_MESSAGES/alsaconf.mo
dpkg-repack: File not found: /usr/share/locale/ru/LC_MESSAGES/alsaconf.mo
dpkg-deb: building package `alsa-utils' in `./alsa-utils_1.0.16-2_i386.deb'.
dpkg-repack: Problems were encountered in processing.
dpkg-repack: The package may be broken.
dpkg-deb: building package `alsamixergui' in `./alsamixergui_0.9.0rc2-1-9_i386.deb'.
dpkg-deb: building package `amarok' in `./amarok_1.4.10-1_i386.deb'.
dpkg-repack: File not found: /usr/share/locale/ro/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/zh_CN/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/rw/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ss/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/sq/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/cy/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/el/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ar/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ne/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/tr/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/uz@cyrillic/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/en_GB/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/et/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/is/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/gl/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/sr@Latn/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/id/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ru/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/af/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/de/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ms/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/uz/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/pa/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/eo/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ga/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/az/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/nn/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/sk/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ku/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/tg/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/se/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/mk/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/fa/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/bn/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/km/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/fi/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/sv/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ko/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/lo/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/nb/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/sr/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/pl/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/lt/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/es/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/uk/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/hi/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/bg/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/eu/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/sl/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/th/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/it/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/zh_TW/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ja/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/br/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ca/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/da/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/pt/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ta/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/be/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/nds/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/pt_BR/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/nl/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/cs/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/hu/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/ka/LC_MESSAGES/amarok.mo
dpkg-repack: File not found: /usr/share/locale/he/LC_MESSAGES/amarok.mo
dpkg-deb: building package `amarok-common' in `./amarok-common_1.4.10-1_i386.deb'.
dpkg-repack: Problems were encountered in processing.
dpkg-repack: The package may be broken.
dpkg-deb: building package `amarok-engine-xine' in `./amarok-engine-xine_1.4.10-1_i386.deb'.
dpkg-deb: building package `amarok-engine-yauap' in `./amarok-engine-yauap_1.4.10-1_i386.deb'.
dpkg-deb: building package `amarok-engines' in `./amarok-engines_1.4.10-1_i386.deb'.
dpkg-deb: building package `amarok-konqsidebar' in `./amarok-konqsidebar_1.4.10-1_i386.deb'.
dpkg-deb: building package `amor' in `./amor_3.5.9-2_i386.deb'.
dpkg-deb: building package `amsn' in `./amsn_0.97.2~debian-1_i386.deb'.
dpkg-deb: building package `amsn-data' in `./amsn-data_0.97.2~debian-1_i386.deb'.
dpkg-deb: building package `antidote' in `./antidote_6.5.7000_i386.deb'.
dpkg-deb: building package `aosd-cat' in `./aosd-cat_0.2.5-1_i386.deb'.
dpkg-repack: File not found: /usr/share/locale/ar/LC_MESSAGES/apt.mo
dpkg-repack: File not found: /usr/share/locale/ar/LC_MESSAGES/libapt-inst1.1.mo
dpkg-repack: File not found: /usr/share/locale/ar/LC_MESSAGES/libapt-pkg4.6.mo
dpkg-repack: File not found: /usr/share/locale/bg/LC_MESSAGES/apt.mo
dpkg-repack: File not found: /usr/share/locale/bg/LC_MESSAGES/libapt-inst1.1.mo
dpkg-repack: File not found: /usr/share/locale/bg/LC_MESSAGES/libapt-pkg4.6.mo
dpkg-repack: File not found: /usr/share/locale/bs/LC_MESSAGES/apt.mo
dpkg-repack: File not found: /usr/share/locale/bs/LC_MESSAGES/libapt-inst1.1.mo
dpkg-repack: File not found: /usr/share/locale/bs/LC_MESSAGES/libapt-pkg4.6.mo
dpkg-repack: File not found: /usr/share/locale/ca/LC_MESSAGES/apt.mo
dpkg-repack: File not found: /usr/share/locale/ca/LC_MESSAGES/libapt-inst1.1.mo
dpkg-repack: File not found: /usr/share/locale/ca/LC_MESSAGES/libapt-pkg4.6.mo
dpkg-repack: File not found: /usr/share/locale/cs/LC_MESSAGES/apt.mo
dpkg-repack: File not found: /usr/share/locale/cs/LC_MESSAGES/libapt-inst1.1.mo
dpkg-repack: File not found: /usr/share/locale/cs/LC_MESSAGES/libapt-pkg4.6.mo
dpkg-repack: File not found: /usr/share/locale/cy/LC_MESSAGES/apt.mo
dpkg-repack: File not found: /usr/share/locale/cy/LC_MESSAGES/libapt-inst1.1.mo
dpkg-repack: File not found: /usr/share/locale/cy/LC_MESSAGES/libapt-pkg4.6.mo
dpkg-repack: File not found: /usr/share/locale/da/LC_MESSAGES/apt.mo
dpkg-repack: File not found: /usr/share/locale/da/LC_MESSAGES/libapt-inst1.1.mo
dpkg-repack: File not found: /usr/share/locale/da/LC_MESSAGES/libapt-pkg4.6.mo
dpkg-repack: File not found: /usr/share/locale/de/LC_MESSAGES/apt.mo
dpkg-repack: File not found: /usr/share/locale/de/LC_MESSAGES/libapt-inst1.1.mo
dpkg-repack: File not found: /usr/share/locale/de/LC_MESSAGES/libapt-pkg4.6.mo
dpkg-repack: File not found: /usr/share/locale/dz/LC_MESSAGES/apt.mo
dpkg-repack: File not found: /usr/share/locale/dz/LC_MESSAGES/libapt-inst1.1.mo
dpkg-repack: File not found: /usr/share/locale/dz/LC_MESSAGES/libapt-pkg4.6.mo
dpkg-repack: File not found: /usr/share/locale/el/LC_MESSAGES/apt.mo
dpkg-repack: File not found: /usr/share/locale/el/LC_MESSAGES/libapt-inst1.1.mo
dpkg-repack: File not found: /usr/share/locale/el/LC_MESSAGES/libapt-pkg4.6.mo

etc etc
donc je voit pas a quoi c est lier ??
j’ai un peux peur que les paquet sauvegarder ne soie pas complet ?

C’est parce que tu utilises localepurge, à priori ça ne gène pas.

merci, bon j’ai un peux plus fouinner voila un autre exemple:

dpkg-repack: File not found: /usr/share/man/sv/man1/fakeroot-tcp.1.gz
dpkg-repack: File not found: /usr/share/man/sv/man1/faked-tcp.1.gz
dpkg-repack: File not found: /usr/share/man/sv/man1/fakeroot-sysv.1.gz
dpkg-repack: File not found: /usr/share/man/sv/man1/faked-sysv.1.gz
dpkg-repack: File not found: /usr/share/man/es/man1/fakeroot-tcp.1.gz
dpkg-repack: File not found: /usr/share/man/es/man1/faked-tcp.1.gz
dpkg-repack: File not found: /usr/share/man/es/man1/fakeroot-sysv.1.gz
dpkg-repack: File not found: /usr/share/man/es/man1/faked-sysv.1.gz
dpkg-repack: File not found: /usr/share/man/nl/man1/fakeroot-tcp.1.gz
dpkg-repack: File not found: /usr/share/man/nl/man1/faked-tcp.1.gz
dpkg-repack: File not found: /usr/share/man/nl/man1/fakeroot-sysv.1.gz
dpkg-repack: File not found: /usr/share/man/nl/man1/faked-sysv.1.gz
dpkg-deb: building package `fakeroot' in `./fakeroot_1.10.1_i386.deb'.
dpkg-repack: Problems were encountered in processing.

c’est lien aux man qui, eux meme serai lier aux locale ?
:question:

Comme fran t’a dit, chaque paquet installe une floppée de docs traduites en de multiples langues, et c’est localepurge (man localepurge) qui supprime les pages de manuel “en trop” en ne gardant que celles pour les langues que tu lui as dit de conserver. Quand tu “repack”, apt ne trouve donc plus les fichiers supprimmés par localepurge et râle. Mais comme ça ne touche que les docs…

Merci, donc j’avais vu juste :smiley: :smt006