Building a complete system part III
Debian has another specific package called vserver-debiantools which handles removal of useless packages and links for a debian vserver. But it's sometimes buggy, not recommended to use.
If you are really lazy to do the steps above, you can use this package from unstable (I assume newer version has more bug fixed).
# apt-get -t unstable vserver-debiantools # newvserver --hostname test --domain example.org --ip x.x.x.x --mirror http://debian.linux.org.tw/debian
This method will automatically do setup steps inside of a vserver and launch tasksel to install/remove packages.