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

Bug#589963: preinst fails if awk is unpacked but not configured



On Sun, Jul 25, 2010 at 03:27:40AM +0200, Bastian Blank wrote:
> On Sat, Jul 24, 2010 at 04:51:50PM -0700, Steve Langasek wrote:
> > > > Only because it's a cdebootstrap bug.  Unless you see something that causes
> > > > initramfs-tools to be pulled into the essential set (which I do not), this
> > > > is a cdebootstrap bug for not fulfilling the pre-depends of the essential
> > > > packages before continuing.

> At least in Lucid, initramfs-tools is essential:
> util-linux -> upstart(upstart-job) -> mountall -> plymouth -> initramfs-tools

No, only essential packages and the pre-depends of essential packages (and
the transitive dependencies of the latter) are part of the essential
closure.  util-linux depends: upstart should not lead to trying to satisfy
the dependency chain of upstart before configuring the pre-depends of
essential packages.

Do you see another dependency chain that causes initramfs-tools to be
treated as essential by cdebootstrap?  Or does cdebootstrap have an option
that allows for debugging this?  It's entirely possible that I have
overlooked a dependency chain that accounts for this being an
initramfs-tools bug only and not a cdebootstrap bug, but I have looked -
there's nothing obvious, which is why I think it's a cdebootstrap bug.

> > > You should know better, awk is not essential. Also essential means that
> > > it have to work _without_ being configured.
> > I know quite well that awk *is* part of the essential closure, because it's a
> > pre-dependency of an essential package.  Even *unpacking* of base-files is
> > not supposed to happen (in an ideal world) before awk has been configured,
> > and you definitely shouldn't be trying to configure *other* packages before
> > the pre-depends of essential packages have been satisfied.

> In an ideal world, it is possible to configure every essential package
> with its dependencies and pre-dependendies on its own.

Yes.  But even so, cdebootstrap needs to get the ordering right.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: