Bug#810785: ifupdown breaks debootstrap of Debian
Guus Sliepen
guus at debian.org
Tue Jan 12 11:16:29 GMT 2016
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 at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160112/5d473616/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list