web-dev-qa-db-fra.com

Ubuntu preseed se termine après le gestionnaire de paquets

J'essaie de faire une installation sans surveillance d'Ubuntu 17.04. J'ai un fichier de préconfiguration que j'intègre dans le cd-rom et cela semble bien fonctionner jusqu'à un certain point. Cependant, une fois la partie gestionnaire de paquets exécutée, la préconfiguration revient simplement au menu principal. Je dois ensuite choisir Installation finie, puis le preseed se poursuit jusqu'à la fin et redémarre. Ma question est la suivante: pourquoi la préconception est-elle supprimée à ce stade et comment puis-je la faire continuer jusqu'à la fin?

Le seul indice que j'ai des journaux est cette ligne ici mais je ne sais pas ce que cela signifie ...

Oct 25 17:24:42 main-menu[280]: INFO: Menu item 'apt-setup-udeb' succeeded but requested to be left unconfigured.

fichier de préconfiguration:

d-i preseed/late_command string in-target sed -i \'s/quiet splash/console=tty1 console=ttyS1,115200n8/g\' /boot/grub/grub.cfg

d-i partman/early_command string umount /media                                                      
d-i preseed/early_command string anna-install parted-udeb                                           
d-i preseed/early_command string i=`parted /dev/sda print| tail -n2 |head -c 2 |tail -c 1`; while [ $i -ge 3 ]; do echo "parted /dev/sda rm" $i; i=$((i-1)); done            

d-i keyboard-configuration/variant select English (US)                                              
d-i console-keymaps-at/keymap select us                                                             
d-i keyboard-configuration/xkb-keymap select us                                                     
d-i debconf/language string en                                                                      
d-i debian-installer/locale string en_US                                                            
d-i debian-installer/language string en                                                             
d-i time/zone string America/Los_Angeles                                                            
d-i keyboard-configuration/xkb-keymap select us                                                     
d-i console-setup/ask_detect boolean false                                                          
d-i console-setup/layoutcode string us                                                              
d-i netcfg/get_hostname string COTS-ETS                                                             
d-i netcfg/choose_interface select eno1                                                             
d-i passwd/root-login boolean false                                                                 
d-i passwd/user-fullname string diag User                                                           
d-i passwd/username string diag                                                                     
d-i passwd/user-password diag insecure                                                              
d-i passwd/user-password-again diag insecure                                                        
d-i user-setup/allow-password-weak boolean true                                                     
d-i user-setup/encrypt-home boolean false     
d-i clock-setup/utc boolean true                                                                    
d-i debian-installer/language string en                                                             
d-i debian-installer/country string US                                                              
d-i debian-installer/locale string en_US.UTF-8                                                      
d-i localechooser/supported-locales multiselect en_US.UTF-8                                         
ubiquity partman-lvm/device_remove_lvm boolean true                                                 
ubiquity partman-md/device_remove_md boolean true                                                   
d-i partman-auto/init_automatically_partition select biggest_free                                   
d-i partman/unmount_active boolean true                                                             
d-i partman-partitioning/confirm_write_new_label boolean true                                       
d-i partman/choose_partition select finish                                                          
d-i partman/confirm boolean true                                                                    
d-i partman/confirm_nooverwrite boolean true                                                        
d-i grub-installer/only_debian boolean true                                                         
d-i mirror/protocol string ftp                                                                      
d-i mirror/ftp/hostname string us.archive.ubuntu.com                                                
d-i mirror/ftp/directory string /ubuntu/                                                            
d-i mirror/ftp/proxy string                                                                         
d-i mirror/country string US                                                                        
d-i apt-setup/multiverse boolean true                                                               
d-i apt-setup/restricted boolean true                                                               
d-i apt-setup/universe boolean true       
d-i pkgsel/upgrade select none                                                                      
d-i finish-install/reboot_in_progress note

Je pense que ce sont les journaux pertinents lorsque preseed sort:

Oct 25 17:24:42 main-menu[280]: INFO: Menu item 'apt-setup-udeb' selected
Oct 25 17:24:42 debconf: --> SETTITLE debian-installer/apt-setup-udeb/title
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 debconf: --> CAPB backup progresscancel
Oct 25 17:24:42 debconf: <-- 0 multiselect backup progresscancel align escape plugin-detect-keyboard plugin-terminal
Oct 25 17:24:42 debconf: --> PROGRESS START 0 1200 apt-setup/progress/title
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 debconf: --> PROGRESS INFO apt-setup/progress/setup
Oct 25 17:24:42 debconf: <-- 10 apt-setup/progress/setup does not exist
Oct 25 17:24:42 debconf: --> SUBST apt-setup/progress/fallback SCRIPT setup
Oct 25 17:24:42 debconf: Adding [SCRIPT] -> [setup]
Oct 25 17:24:42 debconf: <-- 0
Oct 25 17:24:42 debconf: --> PROGRESS INFO apt-setup/progress/fallback
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 debconf: --> GET apt-setup/multiarch
Oct 25 17:24:42 debconf: <-- 0 i386
Oct 25 17:24:42 debconf: --> PROGRESS SET 100
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 debconf: --> GET mirror/protocol
Oct 25 17:24:42 debconf: <-- 0 ftp
Oct 25 17:24:42 debconf: --> GET debconf/priority
Oct 25 17:24:42 debconf: <-- 0 high
Oct 25 17:24:42 debconf: --> GET debian-installer/locale
Oct 25 17:24:42 debconf: <-- 0 en_US.UTF-8
Oct 25 17:24:42 debconf: --> DATA debconf-apt-progress/preparing type text
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 debconf: --> DATA debconf-apt-progress/preparing description Please wait...
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 debconf: --> PROGRESS INFO debconf-apt-progress/preparing
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 in-target: Reading package lists...
Oct 25 17:24:42 in-target: 
Oct 25 17:24:42 debconf: --> PROGRESS SET 200
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 debconf: --> PROGRESS SET 200
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 debconf: --> PROGRESS INFO apt-setup/progress/mirror
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 debconf: --> GET apt-setup/use_mirror
Oct 25 17:24:42 debconf: <-- 0 
Oct 25 17:24:42 debconf: --> SET apt-setup/use_mirror true
Oct 25 17:24:42 debconf: <-- 0 value set
Oct 25 17:24:42 debconf: --> METAGET apt-setup/use/netinst_old description
Oct 25 17:24:42 debconf: <-- 10 apt-setup/use/netinst_old doesn't exist
Oct 25 17:24:42 debconf: --> PROGRESS SET 300
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 apt-setup: /usr/lib/apt-setup/generators/50mirror.ubuntu backed up
Oct 25 17:24:42 debconf: --> PROGRESS STOP
Oct 25 17:24:42 debconf: <-- 0 OK
Oct 25 17:24:42 debconf: --> CAPB backup
Oct 25 17:24:42 debconf: <-- 0 multiselect backup progresscancel align escape plugin-detect-keyboard plugin-terminal
Oct 25 17:24:42 debconf: --> GET debconf/priority
Oct 25 17:24:42 debconf: <-- 0 high
Oct 25 17:24:42 main-menu[280]: INFO: Menu item 'apt-setup-udeb' succeeded but requested to be left unconfigured.
Oct 25 17:24:42 debconf: --> X_SAVE
Oct 25 17:24:43 debconf: <-- 0 OK
Oct 25 17:24:43 debconf: --> METAGET debian-installer/localechooser/title Description
Oct 25 17:24:43 debconf: <-- 0 Choose language
Oct 25 17:24:43 debconf: --> METAGET debian-installer/brltty-udeb/title Description
Oct 25 17:24:43 debconf: <-- 10 debian-installer/brltty-udeb/title doesn't exist
Oct 25 17:24:43 main-menu[280]: INFO: Falling back to the package description for brltty-udeb
Oct 25 17:24:43 debconf: --> METAGET debian-installer/console-setup-udeb/title Description
Oct 25 17:24:43 debconf: <-- 0 Configure the keyboard
Oct 25 17:24:43 debconf: --> METAGET debian-installer/cdrom-detect/title Description
Oct 25 17:24:43 debconf: <-- 0 Detect and mount CD-ROM
Oct 25 17:24:43 debconf: --> GET preseed/file
Oct 25 17:24:43 debconf: <-- 0 file:///mnt/iso/ubuntu-server.seed
Oct 25 17:24:43 debconf: --> METAGET debian-installer/file-preseed/title Description
Oct 25 17:24:43 debconf: <-- 0 Load debconf preconfiguration file
Oct 25 17:24:43 debconf: --> METAGET debian-installer/driver-injection-disk-detect/title Description
Oct 25 17:24:43 debconf: <-- 0 Detect virtual driver disks from hardware manufacturer
Oct 25 17:24:43 debconf: --> METAGET debian-installer/load-cdrom/title Description
Oct 25 17:24:43 debconf: <-- 0 Load installer components from CD
Oct 25 17:24:43 debconf: --> METAGET debian-installer/ethdetect/title Description
Oct 25 17:24:43 debconf: <-- 0 Detect network hardware
Oct 25 17:24:43 debconf: --> METAGET debian-installer/netcfg/title Description
Oct 25 17:24:43 debconf: <-- 0 Configure the network
Oct 25 17:24:43 debconf: --> GET preseed/url
Oct 25 17:24:43 debconf: <-- 0 
Oct 25 17:24:43 debconf: --> GET rescue/enable
Oct 25 17:24:43 debconf: <-- 0 false
Oct 25 17:24:43 debconf: --> METAGET debian-installer/user-setup-udeb/title Description
Oct 25 17:24:43 debconf: <-- 0 Set up users and passwords
Oct 25 17:24:43 debconf: --> METAGET debian-installer/clock-setup/title Description
Oct 25 17:24:43 debconf: <-- 0 Configure the clock
Oct 25 17:24:43 debconf: --> METAGET debian-installer/disk-detect/title Description
Oct 25 17:24:43 debconf: <-- 0 Detect disks
Oct 25 17:24:43 debconf: --> METAGET debian-installer/partman-base/title Description
Oct 25 17:24:43 debconf: <-- 0 Partition disks
Oct 25 17:24:43 debconf: --> GET live-installer/enable
Oct 25 17:24:43 debconf: <-- 0 true
Oct 25 17:24:43 debconf: --> METAGET debian-installer/live-installer/title Description
Oct 25 17:24:43 debconf: <-- 0 Install the system
Oct 25 17:24:43 debconf: --> METAGET debian-installer/apt-setup-udeb/title Description
Oct 25 17:24:43 debconf: <-- 0 Configure the package manager
Oct 25 17:24:43 debconf: --> GET live-installer/enable
Oct 25 17:24:43 debconf: <-- 0 true
Oct 25 17:24:43 debconf: --> METAGET debian-installer/pkgsel/title Description
Oct 25 17:24:43 debconf: <-- 0 Select and install software
Oct 25 17:24:43 debconf: --> GET grub-installer/skip
Oct 25 17:24:43 debconf: <-- 0 false
Oct 25 17:24:43 debconf: --> METAGET debian-installer/grub-installer/title Description
Oct 25 17:24:43 debconf: <-- 0 Install the GRUB boot loader on a hard disk
Oct 25 17:24:43 debconf: --> METAGET debian-installer/nobootloader/title Description
Oct 25 17:24:43 debconf: <-- 0 Continue without boot loader
Oct 25 17:24:43 debconf: --> METAGET debian-installer/finish-install/title Description
Oct 25 17:24:43 debconf: <-- 0 Finish the installation
Oct 25 17:24:43 debconf: --> METAGET debian-installer/cdebconf-priority/title Description
Oct 25 17:24:43 debconf: <-- 0 Change debconf priority
Oct 25 17:24:43 debconf: --> METAGET debian-installer/cdrom-checker/title Description
Oct 25 17:24:43 debconf: <-- 0 Check the CD-ROM(s) integrity
Oct 25 17:24:43 debconf: --> METAGET debian-installer/save-logs/title Description
Oct 25 17:24:43 debconf: <-- 0 Save debug logs
Oct 25 17:24:43 debconf: --> METAGET debian-installer/di-utils-Shell/title Description
Oct 25 17:24:43 debconf: <-- 0 Execute a Shell
Oct 25 17:24:43 debconf: --> METAGET debian-installer/di-utils-reboot/title Description
Oct 25 17:24:43 debconf: <-- 0 Abort the installation
Oct 25 17:24:43 debconf: --> GET preseed/url
Oct 25 17:24:43 debconf: <-- 0 
Oct 25 17:24:43 debconf: --> SETTITLE debian-installer/main-menu-title
Oct 25 17:24:43 debconf: <-- 0 OK
Oct 25 17:24:43 debconf: --> CAPB
1
Izack

Après de nombreux essais et erreurs, j'ai finalement trouvé la solution. Le programme apt-cdrom-setup n'était pas en cours de chargement et s'arrêtait donc à cette étape. J'ai chargé le module via anna et le problème a été résolu pour moi. J'ai trouvé l'indice dans ce vieux rapport de bogue .

Il dit que le bogue est corrigé mais il semble que ce ne soit pas le cas.

d-i anna/choose_modules apt-cdrom-setup
0
Izack