PDA

View Full Version : problem with installing packages during installation by preseed



ali abry
October 21st, 2015, 11:03 PM
Hi every body
i'm trying to install some package during ubuntu server 12.04 installation using preseed, i tested these two pereseed:

Code:

d-i preseed/late_command string in-target dpkg -i /cdrom/extra/*.deb


d-i preseed/late_command string \
for deb in /cdrom/extra/*.deb; do cp $deb /target/tmp; \
chroot /target dpkg -i /tmp/$(basename $deb); done
but both of theme give error that says it couldnt execute theme :
Code:

exit 0