[Pkg-mediawiki-devel] Bug#698438: mediawiki-extensions old purge harmful for new packages

Josip Rodin joy at debbugs.entuzijast.net
Fri Jan 18 21:17:54 UTC 2013

On Fri, Jan 18, 2013 at 03:49:36PM +0100, Thorsten Glaser wrote:
> On Fri, 18 Jan 2013, Josip Rodin wrote:
> > this causes data loss if you switch to using the new packages without
> > installing the new package[1], and then purge the useless old package without
> > reading the postrm.
> Eew. That???s definitely ugly and, possibly, supported.
> I guess we can???t just add a versioned Conflicts to the split
> packages either, right? Would a Breaks help?

No dependency affects purges, IIRC.

The only reason the old package has remained in place after the
removal is that it had that postrm and a conffile
/etc/mediawiki-extensions/extensions.php that's been taken over by
the new -base package. The only thing actually left in its file list is
the /etc/mediawiki-extensions/extensions-enabled directory, which is also
shipped by -base (but isn't a file so it can't be a conffile).

     2. That which causes joy or happiness.

More information about the Pkg-mediawiki-devel mailing list