Package: multistrap
Version: 2.1.23
Severity: normal

Hi,

my goal was to make a wheezy bootstrap but include one package from
jessie. To tell apt that it should prefer wheezy for everything except
for that one package, I used the aptpreferences configuration variable
and passed a fitting pinning configuration.

As you can see below I use a jessie/sid setup so on my host system I
have in /etc/apt/apt.conf.d/02default-release:

        APT::Default-Release "testing";

When I run multistrap with the aptpreferences configuration option,
multistrap quits with the following error:

E: The value 'testing' is invalid for APT::Default-Release as such a release is 
not available in the sources

I belief this is because multistrap does not set the
APT::Default-Release option when aptpreferences is used. I therefore
experience the effects of bug#637434 but (since that bug was fixed) only
if I use aptpreferences.

A fix could be if the user could specify the value of
APT::Default-Release himself (or even pass any custom config option to
apt). In that case I would also not need to use aptpreferences anymore
because I could specify wheezy as my APT::Default-Release.

Thanks!

cheers, josch


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages multistrap depends on:
ii  apt                            0.9.8.2
ii  libconfig-auto-perl            0.42-1
ii  liblocale-gettext-perl         1.05-7+b1
ii  libparse-debian-packages-perl  0.03-1
ii  perl                           5.14.2-21

Versions of packages multistrap recommends:
ii  emdebian-archive-keyring  2.0.3

Versions of packages multistrap suggests:
ii  fakeroot  1.18.4-2

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to