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

Re: Bug#4895: gcc installs before binutils and fails



> >If any part of binutils is necessary for "install", then binutils probably
> >needs to be listed under "Pre-Depends" instead of just "Depends".
> 
> No, pre-depends should /only/ be used on system critical things like
> libc5, bash, dpkg, etc.  gcc should have NO pre-depends lines!

Prehaps I don't understand "Pre-Depends".  As far as I can tell it is
like this:

  Depends:	other packages that must be installed before this package
		can be used

  Pre-Depends:	other packages that must be installed before this package
		can be _installed_

Dpkg will then make sure the "pre-depends" packages are installed and
configured before it does anything on the package that pre-depends
on them.  Packages such as "libc5", "bash", "dpkg", etc. fit this because
they must be configured before they can be called by the preinst and
postinst scripts.

My point was that if "gcc" required something in "binutils" to be fully
configured during gcc's installation (I can see no reason why this should
be the case), then "pre-depends" would be the proper solution.

If I have misunderstood the definitions, please enlighten me.
                                             
                                          Brian
                                 ( bcwhite@verisim.com )
                                             
-------------------------------------------------------------------------------
     measure with micrometer, mark with chalk, cut with axe, hope like hell


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: