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

Bug#110845: Annoying message in generated preinst scripts



reassign 110845 kernel-package
thanks

On Sat, 1 Sep 2001, Zygo Blaxell wrote:

> On Fri, Aug 31, 2001 at 08:33:22PM -0500, Manoj Srivastava wrote:
> > reassign 110845 apt
> > thanks
> [...]
> > >>"Zygo" == Zygo Blaxell <zblaxell@feedme.hungrycats.org> writes:
> >
> >  Zygo> The problem with this message (and the prompt that follows) is that
> >  Zygo> apt actually creates the offending directory when it installs the cipe
> >  Zygo> package.
> >
> > 	Hmm. This is strange. Now, the modules depend on the kernel
> >  image, so we are assured that they shall be configured in dependency
> >  order -- hence kernel-package shall be configured before the modules
> >  are. Now, had they been unpacked in dependency order as well, the
> >  preinst would have worked fine. I think this should be sent over to
> >  the apt folks.

No, th is is not a bug in apt.  Read Debian Policy, section 7.2, 2nd
paragraph, 2nd sentence.

---
    It does not prevent a package being on the system in an unconfigured state
    while its dependencies are unsatisfied, and it is possible to replace a
    package whose dependencies are satisfied and which is properly installed
    with a different version whose dependencies are not and cannot be
    satisfied; when this is done the depending package will be left
    unconfigured (since attempts to configure it will give errors) and will
    not function properly.
---

This says that packages that depend on each other can be unpacked in any
order.  You should not depend on the unpack order of packages that
interdepend.




Reply to: