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

Re: Bug#810785: ifupdown breaks debootstrap of Debian



On Tue, Jan 12, 2016 at 11:24:00AM +0100, Julian Andres Klode wrote:

> > > dpkg: error processing archive /var/cache/apt/archives/ifupdown_0.8.6_amd64.deb (--unpack):
> > >  installing ifupdown would break systemd, and
> > >  deconfiguration is not permitted (--auto-deconfigure might help)
> > 
> > Maybe debootstrap should ensure dpkg is called with --auto-deconfigure?
> 
> So, you want an unconfigured init system or other unconfigured packages in
> the base system? Really?
> 
> That does not make any sense at all.

No; what happens is that apt knows that it can upgrade two packages at
the same time, where one of them Breaks: the old version of the other
package. But dpkg processes packages individually, and when the old
version of the other package is still installed, and dpkg tries to
upgrade the first package, it notices the Breaks. It can temporarily
deconfigure the other package, continue upgrading the first, then
upgrading the other package and (re)configuring it.

This is actually what happens when you are just doing an apt-get
dist-upgrade on a testing system. The problem with debootstrap is that
this --auto-deconfigure option is somehow not passed to dpkg.

-- 
Met vriendelijke groet / with kind regards,
      Guus Sliepen <guus@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: