Ronald <ronald...@gmail.com> wrote: > And post-preseed.sh contains the following lines until it hangs: > > # Adding extra sources > echo "" >> /etc/apt/sources.list > echo "deb http://ftp.us.debian.org/debian sid main non-free contrib" >> > /etc/apt/sources.list > echo "" >> /etc/apt/sources.list > echo "deb http://www.debian-multimedia.org testing main" >> > /etc/apt/sources.list > echo "" >> /etc/apt/sources.list > echo "deb http://kernel-archive.buildserver.net/debian-kernel sid main" >> > /etc/apt/sources.list > aptitude clean > aptitude update > # Install keys > aptitude -y --allow-untrusted install debian-multimedia-keyring > apt-key add /mnt/data/linux_data/key > aptitude clean > aptitude update > # Update and install > aptitude -y -t testing safe-upgrade (THIS WORKS) > #aptitude -y -t sid install amsn wine tor easytag (AND HERE IT HANGS)
It is documented in https://d-i.debian.org/manual/en.amd64/apbs05.html#preseed-hooks how to do custom package installs via preseeding. (Using aptitude is not supported, by the way!) So closing this long-standing bug Holger -- Holger Wansing <hwans...@mailbox.org> PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076