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

Bug#459612: debian-installer: bad interaction with not-empty /etc/apt/sources.list.d



Package: debian-installer
Version: svn r50786
Severity: normal

Hi,

debian-installer has bad interations with /etc/apt/sources.list.d when
building e.g. the netboot installer (didn't try the other ones because I don't
need them).

I have no /etc/apt/sources.list, but several
/etc/apt/sources.list.d/{stable,testing,unstable,local,...}.sources.list and
for the d-i build I created sources.list.udeb.local. But unfortunately
it was still picking up all the sources from /etc/apt until I added the
following switch in util/get-packages to the APT_GET variable:

	-o Dir::Etc::sourceparts=/dev/null

Now it's only using sources.list.udeb.local as expected.


Andreas

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

Kernel: Linux 2.6.23-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: