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

Network unattended installation - exclude packages from install



Hi All,

I am preparing a minimal install to be the base of my jessie servers. I use (https://wiki.debian.org/ReduceDebian) to the base of packages i can remove and i make my own list from there:

vim-tiny ispell laptop-detect manpages nano netcat-traditional installation-report wamerican wspanish aspell aspell-es dictionaries-common emacsen-common libaspell15 eject man-db groff-base tasksel tasksel-data task-spanish

I now i can also uninstall following packages, but i let them during tests for easy keyboard use and dialogs: console-setup console-setup-linux xkb-data whiptail

I used unattended network preseeded install. I first notice differences between packages installed as in manual expert installation i skip tasksell step.


I have customized preseeded file but i still did not find the best way of doing it instead of putting an script that uninstall that packages.

I have read appendix B4 (http://d-i.debian.org/manual/en.amd64/apbs04.html) and release notes (where i find exclude options) and debian installer internals (http://d-i.alioth.debian.org/doc/internals/)

I attach here the relevant options of my configuration file:

## Base installer part
d-i base-installer/install-recommends boolean false

d-i base-installer/excludes string vim-tiny manpages nano netcat-traditional installation-report eject man-db groff-base tasksel

#####
It works for vim-tiny manpages nano netcat-traditional man-db groff-base but it does not work for installation-report eject tasksel.

I have seen that after base installer there are installed extra packages (including eject) that i cannot avoid installing

## Package selection part
tasksel tasksel/first multiselect

d-i pkgsel/excludes string ispell laptop-detect wamerican aspell task-spanish eject installation-report wamerican wspanish aspell aspell-es dictionaries-common emacsen-common libaspell15 eject taskel tasksel-data task-spanish

d-i pkgsel/include string ntp openssh-server
#######

I cannot avoid to in this case any of the packages installation but i can install.

My questions:
Can i avoid the installation of the packages described? if the answer is yes, it is posible using excludes options or the only method is by an script?

Where i can find the list of packages that are installed in each section?

This last question is for prepare the installation next release, as packages installed during installation is it known that changes from time to time (i pleased this time with less and without aptitude).

Thanks for your time, best regards, and sorry about this long writting,

Diego

Reply to: