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

Re: Bug#88307: Netbase needs to not depend on not-necessarily-needed packages.



>>>>> "Marc" == Marc Haber <debian-devel.lists.debian.org@marc-haber.de> writes:
    Marc> In the long run, this is a case of what I have been
    Marc> observing in the past quite a few times: The need for
    Marc> "dynamic dependencies". A package should be able to decide
    Marc> in pre/postinst which packages should be pulled in too. This
    Marc> way, netbase could check whether a 2.0, 2.2, or 2.4 kernel
    Marc> is installed and then decide whether to pull ipfwadm,
    Marc> ipchains or iptables. No need to have all three of them
    Marc> installed.

Seems a horrible idea.

apt-get would have to download the entire package just so it can find
out what is needed to install it...

Especially bad for instance, if you download a large package on your
stable system, and suddenly find apt-get proceeds to download libc6
from unstable... No, I don't want the binary package, I want the
source package so I can recompile it for stable.

I like the current situation where apt-get knows exactly what packages
it needs before it starts down-loading packages.

Also, suppose the system is booted with a 2.0 kernel when netbase is
first installed, and then rebooted to 2.2 or 2.4? Should apt-get
re-execute the postinst script to ensure that the dependencies have
not changed?
-- 
Brian May <bam@debian.org>



Reply to: