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

Re: File moved from one package to another - use Conflicts/Replaces or Breaks/Replaces?


On Sun, Apr 4, 2021 at 4:54 AM Andreas Metzler <ametzler@bebt.de> wrote:
> On 2021-04-03 Otto Kekäläinen <otto@debian.org> wrote:
> > Hello!
> > In MariaDB we have over the years moved files around. A file that was first
> > in e.g. mariadb-server-10.3 might have been moved to
> > mariadb-server-core-10.3 and some years later to mariadb-client-core-10.5.
> > The result is a massive debian/control file with a lot of
> > Conflicts/Breaks/Replaces [1]
> > While trying to clean up and simplify I started wondering, when should one
> > use Conflicts/Replaces and when Breaks/Replaces?
> [...]
> The rough guideline is to use Breaks together with an earlier than (<<,
> <=) condition. Which seems to be what mariadb does.


> I do not think there is a lot to improve here. Did you you see David's
> recent message, <20210331164012.gevwmagm63q2yc54@crossbow>?

Yes, and I solved the original issue already using the
'apt install --with-source ./Packages -s' technique.

Reply to: