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

Re: cross-overwrites in packages



On Mon, Sep 06, 1999 at 11:41:43AM +0100, Gordon Russell wrote:
> - Firstly, according to the packaging manual, --force-overwrite is the default
>   installation method, so why is an error (and not just a warning reported).

Read the packaging manual again.

"It is an error for a package to contains files which are on the system
in another package, unless Replaces is used ..." (point 4 of section 6.3
"Details of unpack phase of installation or upgrade")

> - Secondly, what is the fix? Do I make blt replace blt-dev, and blt-dev replace
>   blt? Surely this is not the best solution??

Make the packages conflict with earlier versions of the other package.

(Replaces is not a good idea here.)

-- 
%%% Antti-Juhani Kaijanaho % gaia@iki.fi % http://www.iki.fi/gaia/ %%%

                                  ""
                             (John Cage)


Reply to: