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

Bug#110845: Annoying message in generated preinst scripts



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.

That's what I thought.  Unless cipe doesn't depend on the kernel...
oh, actually...

Package: cipe-2.4.9-ac4-zb-p3-laptop
Status: install ok installed
[...]
Depends: libc6 (>= 2.2.3-7), cipe-common (= 1.5.2free-4)
[...]

If it's a bug at all, maybe it's a bug in cipe-source...

>  Zygo> I'm not entirely sure which this bug should be filed against--apt,
>  Zygo> kernel-package, or all stand-alone modules packages (which I suppose
>  Zygo> means debian-policy).
> 
> 	I don't think this is a policy issue. It is a package
>  implementation/dependency deal.

Maybe a gentle reminder in debian-policy that modules depend on a kernel?
;-)

>  Zygo> A nice workaround would be a configuration option somewhere
>  Zygo> that tells the preinst script "Actually, I know what I'm doing,
>  Zygo> and you can go ahead and clobber my modules directory anyway",
>  Zygo> and continues without the prompt.
> 
> 	Way ahead of you.  man kenel-img.conf
> ----------------------------------------------------------------------
>        clobber_modules
>               If set, the preinst  shall  silently  try  to  move
>               /lib/modules/version  out  of  the way if it is the
>               same version as the image being installed.  Use  at
>               your  own risk.  This variable is unset by default.
> ----------------------------------------------------------------------

Uhhh...but I don't want to move modules/version out of the way...it has
modules in it that will be used with the newly installed kernel!

> 	This not a  kernel-package deficiency, and thus the only issue
>  left is unpack ordering.
> 
> 	manoj
> -- 
>  Who will master this world and the world of Death with its devas? Who
>  will gather well taught aphorisms (dhammapadas), like an connoisseur
>  picking a flower? 44
> Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
> 1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
> 1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Attachment: pgp14QZ8QvcVx.pgp
Description: PGP signature


Reply to: