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

Re: mass RC bug filing: data splitting

On Fri, Mar 12, 2004 at 01:26:12AM +0100, Adrian Bunk wrote:
> > > When moving files from one package to another, the package that gets the 
> > > files needs Replaces _and_ Conflicts with older versions of the other 
> > > package.
> > 
> > Actually, a combination of Replaces and Conflicts has a different meaning,
> > it will cause dpkg to completely remove the "old" package in favor of the
> > "new" one, which is most likely not what one wants when shifting files
> > around.
> ???
> An upgrade of xlibs-dev from 4.2.1 to 4.3.0 works fine. If I understand 
> you correctly, you claim it should have failed due to the 
> Conflicts&Replaces in e.g. libsm-dev?

libsm-dev conflicts and replaces an older version of xlibs-dev, and even
that is wrong, because installing libsm-dev over such an old version of
xlibs-dev would cause a complete removal of the old xlibs-dev package, which
is obviously not what one wants.

Not that this situation should ever exist in practice (the ordering stuff in
apt will make sure it doesn't on most systems), but it's still wrong.

> Are you confusing Conflicts&Replaces with replacing all files in another 
> package?

Using both Conflicts and Replaces on the same package version _is_ replacing
all files in another package. RTFM.

     2. That which causes joy or happiness.

Reply to: