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

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



Op 30-04-2008 om 09:08 schreef Ronald:
> 
> 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

At http://www.nl.debian.org/releases/stable/powerpc/apbs04.html.en#preseed-apt
is this 

| B.4.7. Apt setup
| 
| Setup of the /etc/apt/sources.list and basic configuration options is
| fully automated based on your installation method and answers to earlier
| questions. You can optionally add other (local) repositories.
| 
| # You can choose to install non-free and contrib software.
| #d-i apt-setup/non-free boolean true
| #d-i apt-setup/contrib boolean true
| # Uncomment this if you don't want to use a network mirror.
| #d-i apt-setup/use_mirror boolean false
| # Uncomment this to avoid adding security sources, or
| # add a hostname to use a different server than security.debian.org.
| #d-i apt-setup/security_host string
| 
| # Additional repositories, local[0-9] available
| #d-i apt-setup/local0/repository string \
| #       deb http://local.server/debian stable main
| #d-i apt-setup/local0/comment string local server
| # Enable deb-src lines
| #d-i apt-setup/local0/source boolean true
| # URL to the public key of the local repository; you must provide a key
| # or
| # apt will complain about the unauthenticated repository and so the
| # sources.list line will be left commented out
| #d-i apt-setup/local0/key string http://local.server/key
| 
| # By default the installer requires that repositories be authenticated
| # using a known gpg key. This setting can be used to disable that
| # authentication. Warning: Insecure, not recommended.
| #d-i debian-installer/allow_unauthenticated string true

> 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 :(

How far do you get to your goal with the d-i manual?


Cheers
Geert Stappers



Reply to: