Adrian Bunk <b...@debian.org> writes:

> But during the upgrade the Replaces is additionally required, for 
> telling dpkg that emacs-lucid contains files that are during the
> upgrade still present from the not yet fully removed emacs25-lucid
> package.

Sven Joachim <svenj...@gmx.de> writes:

> I think emacs-lucid needs a "Replaces: emacs25-lucid (<< 1:25)" here,
> and similarly for the other flavors.

Ahh, ok.  So I can't use an indirect dependency for that -- in which
case, given the current deps:

  Package: emacs-nox
  Architecture: any
  ...
  Conflicts: emacs-gtk, emacs-lucid
  Replaces: emacs-gtk, emacs-lucid

Sounds like I need to (at least) change the replaces line to:

  Replaces: emacs-gtk, emacs-lucid, emacs25-gtk (<<1:25), emacs25-lucid (<<1:25)

and do something similar to the emacs-lucid and emacs-gtk replaces lines.

Plausible?

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4

Reply via email to