Bug#557322: --exclude='ing essential packages
Hello Ivan,
On Sun, Nov 22, 2009 at 4:00 AM, Ivan Shmakov <ivan@main.uusia.org> wrote:
> OS> To you exclude a package you also need to exclude all one that
> OS> depends on it otherwise it will be added back into the installation
> OS> list by the dependency resolution code.
>
> Is it really the whole problem? What other package(s) I should
> --exclude= as well considering the case above?
It is added when debootstrap adds the required packages.
I've prepared a patch to allow it to be removed on the required list
however it is added back in dependency resolution code. I didn't play
with it to check the package that depends on that and will leave it to
you.
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
diff --git a/packages/debootstrap/debootstrap b/packages/debootstrap/debootstrap
index ac821b8..086f5ea 100755
--- a/packages/debootstrap/debootstrap
+++ b/packages/debootstrap/debootstrap
@@ -466,6 +466,7 @@ if am_doing_phase finddebs; then
work_out_debs
base=$(without "$base $additional" "$exclude")
+ required=$(without "$required" "$exclude")
if [ "$RESOLVE_DEPS" = true ]; then
requiredX=$(echo $(echo $required | tr ' ' '\n' | sort | uniq))
Reply to: