yes, you did, and that's how I have to do it at the moment.

but I still think this is a bug since I can add other repositories with
"apt-setup" just fine but not backports.
I also have quite a lot stuff in late-command already and I would like to
keep things as clean and simple as possible.

and in case anyone else hits the same problem, there is now bug report
about it :)

here is a clip from one of my preseed files which used to work until
something happened with backports:

# Home repository
#
----------------------------------------------------------------------------------------------------
d-i apt-setup/local0/repository string http://daisy/debian wheezy main
d-i apt-setup/local0/comment string Home repository

# Debian Mozilla repository
#
----------------------------------------------------------------------------------------------------
d-i apt-setup/local1/repository string http://mozilla.debian.net/
wheezy-backports iceweasel-release
d-i apt-setup/local1/comment string Debian Mozilla repository
d-i apt-setup/local1/key string http://mozilla.debian.net/archive.asc

# Debian Backports repository
#
----------------------------------------------------------------------------------------------------
#d-i apt-setup/local2/repository string http://caroline/debian
wheezy-backports main contrib non-free
#d-i apt-setup/local2/comment string Debian Backports repository

but in case this seem to be invalid bug report, feel free to close it.
(have to admit that my timing for finding bugs sucks since the I would like
to see Jessie released soon :)



On Sun, Aug 31, 2014 at 6:38 PM, Cyril Brulebois <[email protected]> wrote:

> Jani Reunanen <[email protected]> (2014-08-31):
> > Package: debian-installer-7.0-netboot-i386
> > Version: 20130613+deb7u2.b1
> > Severity: normal
> > Tags: d-i
> >
> > Dear Maintainer,
> >
> >    * What led up to the situation?
> >         By adding backports to the preseed file.
> >
> >    * What exactly did you do (or not do) that was effective (or
> >      ineffective)?
> >         Added following lines to the preseed file:
> >         d-i apt-setup/local0/repository string
> http://ftp.fi.debian.org/debian
> > wheezy-backports main
> >         d-i apt-setup/local0/comment string Debian Backports repository
>
> I think I suggested using a late_command instead?
>
> Mraw,
> KiBi.
>



-- 


- Jani -

Reply via email to