PDA

View Full Version : [ubuntu] How to install backport packages during preseed



oliwei
December 23rd, 2011, 03:40 PM
Dear All,

I'm currently testing automated deployment using preseed on Ubuntu 10.04. I need to install one package (puppet) from the backports during install. So far I have been able to enable backports by using:

# activate backports to install puppet 2.6.x
d-i apt-setup/backports boolean true

But now I'm stuck on how to install the puppet package from backports. I tried:

d-i pkgsel/include string puppet/lucid-backports

But this doesn't seem to work. I tried to find a logfile on the host that was deployed but couldn't find anything. Is there a logfile generated by preseed to check?

Furthermore I would like to disable all src repos, because we don't mirror them on our local ubuntu mirror. I tried:

# deactivate src packages
d-i apt-setup/source boolean false

But this doesn't seem to work. :(

Please help

Frogs Hair
December 23rd, 2011, 04:00 PM
I don't know if enabling back-ports in the update manager settings would help in this case or not .

oliwei
December 23rd, 2011, 04:13 PM
Hi,

thans for the quick answer. I solved it. I had the pkgsel line twice in my preseed file.

I now have only one line and puppet is installed from backports.

Now all that is missing is to disable the deb-src????