Bug#765076: general: No way to have a clean chroot for building packages
On Mon, Oct 13, 2014 at 02:34:39PM +0200, Marco d'Itri wrote:
> On Oct 13, Santiago Vila <email@example.com> wrote:
> > Oops. You are right. So this is not really a regression, only an
> > undesirable feature that we have had in the system for a long time.
> I would be happy to fix it FWIW, but I am not sure that there is
> a way to do it outside of debootstrap which will not cause more issues.
Found a workaround: Using equivs, I created a package called init version 2.
Then "apt-get dist-upgrade" does not want to install the usual init package.
I'm starting to believe this should be fixed in apt. A real fix would
be a way to tell apt-get not to install new essential packages unless
they are dependencies of currently installed packages. Is there not
an apt.conf setting for that yet?
If the system is not so broken that dpkg/apt-get are still able to
install new essential packages, then apt-get does not really help by
installing an essential package that I removed by hand, because I
could install it by hand myself.