[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#478661: debian-installer: Preseed hangs when installing using aptitude (debconf error)



Package: debian-installer
Version: Lenny (snapshot of 25 april 2008)(netinst)
Severity: normal

Note that I have had the exact same error before and that was fixed a while after. But now it came back (Regression?). Here's the deal: I install debian from the (daily generated) netinst image using 
preseed. First I install packages using the "pkgsel pkgsel/include string" string. This works. Afterwards, It does this:

d-i preseed/late_command string echo hi; \
# Transfer linux_data and chroot into it.
mkdir /target/mnt/data/; \
cp -r /hd-media/linux_data/ /target/mnt/data/; \
chroot /target /mnt/data/linux_data/post-preseed.sh

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)

The error the terminal gives is:

/usr/share/debconf/confmodule: line 42: 3: Bad file descriptor

I heard this is because we have two instances of debconf running (one outside the chroot and one inside the chroot), that is all nice but it still hangs :(

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: