#776002 debian-installer: Better support for installing backports

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
Vincas
Date:
2015-01-26 12:45:05 UTC
Severity:
wishlist
#776002#5
Date:
2015-01-22 14:38:42 UTC
From:
To:
Dear Maintainer,

I have modified Wheezy netinst iso image to add custom preseed.cfg.

One of the tasks I wanted to do with preseeding is to install newer 3.16 kernel
from backports.

The problem is that adding "linux-image-3.16.0-0.bpo.4-amd64/wheezy-backports"
into "pkgsel/include" line does not quote work - "Breaks: initramfs-tools"
error occurs (visible in syslog).

Please take a look into attached Virtualbox machine screenshot.

I remember having similar problem when installing 3.16 in already working
system, unless one installs linux image with specified "-t wheezy-backports"
(from bug report #771379). I am not sure if that's currently possible using
"pkgsel/include" line, at least it does not work for me.

#776002#10
Date:
2015-01-25 14:34:52 UTC
From:
To:
[...]

What if you set it to "linux-image/wheezy-backports
initramfs-tools/wheezy-backports"?

Ben.

#776002#15
Date:
2015-01-26 12:39:54 UTC
From:
To:
But...I have other problem - ifupdown package is removed during install,
and so I have system without network...

Here's my pkgsel line:

d-i pkgsel/include string
nvidia-kernel-3.16.0-0.bpo.4-amd64/wheezy-backports
initramfs-tools/wheezy-backports vim mc netcat nmap ethtool tcpdump htop
iotop iftop iptraf sysstat hdparm hddtemp lsscsi tmux tiobench rsync gpm
apt-file build-essential dkms ntp smartmontools lm-sensors firmware-realtek
firmware-linux firmware-linux-nonfree p7zip-full strace gdb parted lvm2
xfsprogs cifs-utils duply

During install, inside syslog:

Jan 26 12:04:47 in-target: The following packages will be REMOVED:
Jan 26 12:04:47 in-target:   ifupdown iproute isc-dhcp-client

I have attached whole syslog from that installation. I guess something more
was installed from backports, removing ifupdown?

This does not occur if I do not use backports repository, which I enable
like this:

d-i apt-setup/local0/repository string \
http://ftp.litnet.lt/debian wheezy-backports main contrib non-free
d-i apt-setup/local0/comment string Debian backports