salut merci pour ta réponse
alors en fait j’ai un dépôt local que j’ai synchronisé il y a 4 jours.
je fais du déploiement par netinstall avec un fichier preseed où uniquement mon dépôt local est renseigner.
j’ai vérifier dans sources.list, et effectivement, uniquement mon dépôt local apparaît.
mais l’erreur qu’il me fait pendant l’installation ou pendant le apt-get update est du à mon fichier relaese de mon dépôt local qu’il dit trop vieux.
ma question est donc comment faire pour que cette erreur n’apparaisse plus sans mettre à jour mon dépôt local (car effectivement en le mettant à jour le problème est régler, mais justement il faut qu’il reste fixe au moins pour un an…)
voici mon fichier mirror.list
[code]
############# config ##################
set base_path /var/spool/apt-mirror
set mirror_path $base_path/mirror
set skel_path $base_path/skel
set var_path $base_path/var
set cleanscript $var_path/clean.sh
set defaultarch
set postmirror_script $var_path/postmirror.sh
set run_postmirror 0
set nthreads 10
set _tilde 0
############# end config ##############
mirrors
deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb http://ftp.fr.debian.org/debian squeeze main/debian-installer
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
squeeze-updates, previously known as ‘volatile’
deb http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free
deb-amd64 http://ftp.fr.debian.org/debian squeeze main contrib non-free
deb-amd64 http://security.debian.org/ squeeze/updates main contrib non-free
deb-amd64 http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free
deb-amd64 http://ftp.fr.debian.org/debian squeeze main/debian-installer
clean http://ftp.fr.debian.org/debian
clean http://security.debian.org[/code]
et voici mon fichier preseed
[code]####################################################################
PRESEED v1 - Created Jeu 21 Avril 2011 06:33:57
v6 - Finished Ven 29 Avril 2011 14:49:24
####################################################################
####################################################################
Networking
####################################################################
Network Configuration
d-i netcfg/get_hostname string debian
d-i netcfg/get_domain string toto.fr
d-i netcfg/disable_dhcp boolean false
d-i mirror/http/proxy string
d-i netcfg/choose_interface select eth0
d-i netcfg/wireless_wep string
d-i hw-detect/load_firmware boolean false
hw-detect hw-detect/load_firmware boolean false
####################################################################
Installation Sources
####################################################################
Where are we pulling bits from?
d-i mirror/http/hostname string X.X.X.X
d-i mirror/http/directory string /debian
d-i mirror/suite string squeeze
d-i mirror/http/proxy string
Post install APT setup
d-i apt-setup/uri_type select d-i
d-i apt-setup/hostname string X.X.X.X
d-i apt-setup/directory string /debian/
d-i apt-setup/another boolean false
d-i apt-setup/security-updates boolean false
#d-i apt-setup/security_host string X.X.X.X
#d-i apt-setup/security_path string /security
d-i finish-install/reboot_in_progress note
d-i prebaseconfig/reboot_in_progress note
#apt-setup-udeb apt-setup/security_host string X.X.X.X
#apt-setup-udeb apt-setup/security_path string /security
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
####################################################################
Disk Partitioning/Boot loader
####################################################################
selectionne le plus grand espace disponible. Si jamais il n’y a pas assez d’espace, il indique le disque dur sur lequel sera installer le systeme, disque dur qui sera TOTALEMENT formater !!! (arreter l’installation a ce moment si il faut pas l’effacer)
d-i partman-auto/init_automatically_partition select biggest_free
creer le schema de partition suivant
partition ext4 / d’au moins 5000mb et d’au plus 1000000000mb
avec une taille recommandee de 10000mb bootable
partition swap d’au moins 512mb et d’au plus 250% de la memoire
avec une taille recommande de 2048mb
d-i partman-auto/expert_recipe string root :: 5000 10000 1000000000 ext4 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ / } . 512 2048 250% linux-swap method{ swap } format{ } .
This makes partman automatically partition without confirmation.
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm_nooverwrite boolean true
This one makes grub-installer install to the MBR even if finds some other OS
too, which is less safe as it might not be able to boot that other OS.
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
####################################################################
Localizations
####################################################################
Locales, language,country …
d-i console-tools/archs string skip-config
d-i debian-installer/locale string fr_FR
d-i console-keymaps-at/keymap select fr
d-i languagechooser/language-name-fb select French
d-i debian-installer/locale select fr_FR.UTF-8
d-i debian-installer/language string fr
d-i debian-installer/country string FR
d-i debian-installer/locale string fr_FR
d-i debian-installer/keymap string fr-latin9
d-i localechooser/shortlist/fr select
d-i localechooser/preferred-locale select fr_FR.UTF-8
d-i localechooser/languagelist select fr
d-i localechooser/shortlist select FR
locales locales/default_environment_locale select fr_FR.UTF-8
locales locales/locales_to_be_generated multiselect fr_FR.UTF-8 UTF-8
Keyboard
d-i keyboard-configuration/xkb-keymap select fr(latin9)
d-i keyboard-configuration/variant select fr
keyboard-configuration keyboard-configuration/variant select FR
keyboard-configuration keyboard-configuration/layoutcode string fr
keyboard-configuration keyboard-configuration/xkb-keymap select fr(latin9)
Timezone
d-i tzconfig/gmt boolean true
d-i tzconfig/choose_country_zone/Europe select Paris
d-i tzconfig/choose_country_zone_single boolean true
d-i time/zone select Europe/Paris
d-i clock-setup/utc boolean true
d-i kbd-chooser/method select French
d-i mirror/country string enter information manually
d-i clock-setup/ntp boolean false
X11 config
xserver-xorg xserver-xorg/autodetect_monitor boolean true
xserver-xorg xserver-xorg/config/monitor/selection-method select medium
xserver-xorg xserver-xorg/config/monitor/mode-list select 1024x768 @ 60 Hz
xserver-xorg xserver-xorg/config/display/modes multiselect 1024x768, 800x600
####################################################################
User Creation
####################################################################
Root User
d-i passwd/root-password-crypted password XXXXXXXX
User
d-i passwd/user-fullname string XXXX
d-i passwd/username string XXXX
d-i passwd/user-password password XXXX
d-i passwd/user-password-again password XXXX
####################################################################
Software Selections
####################################################################
Selection of packages 's group
tasksel tasksel/first multiselect standard, desktop
tasksel tasksel/desktop multiselect gnome, kde
popularity-contest popularity-contest/participate boolean false
Other packages to install
d-i pkgsel/include string openssh sssd libnss-sss libpam-ldap libpam-ccreds cifs-utils evince dos2unix filezilla vim puppet openssh-server
Auto answers for ldap packages
libpam-ldap shared/ldapns/ldap-server string ldap://ldap.XXX.fr
libpam-ldap shared/ldapns/base-dn string dc=XX,dc=XX
libpam-ldap shared/ldapns/ldap_version select 3
libpam-ldap libpam-ldap/dbrootlogin boolean false
libpam-ldap libpam-ldap/pam-password select crypt
libpam-ldap libpam-ldap/dblogin boolean false
d-i shared/ldapns/ldap-server string ldap://ldap.XXX.fr
d-i shared/ldapns/base-dn string dc=XX,dc=XX
d-i shared/ldapns/ldap-version select 3
d-i libpam-ldap/dbrootlogin boolean false
Auto answers for Samba-group
samba-common samba-common/workgroup string WORKGROUP
d-i samba-common/workgroup string WORKGROUP
Auto answers for default GUI
gdm3 shared/default-x-display-manager select gdm3
kdm shared/default-x-display-manager select gdm3
####################################################################
Additional preseed entries (from data/debconf)
####################################################################
d-i apt-setup/security_host string
exim4-config exim4/no_config boolean true
####################################################################
Additional commands
####################################################################
This command is run after base-config is done, just before the login:
prompt. This is a good way to install a set of packages you want, or to
tweak the configuration of the system.
d-i preseed/late_command string
wget http://X.X.X.X/preseed/preseedending.sh && sh preseedending.sh; rm -f preseedending.sh[/code]
(bien évidemment j’ai bien renseigner l’ip, le passe root crypte, et l’utilisateur que j’ai remplacé ici par des X)