Comment 39 for bug 578137

Revision history for this message
Loïc Minier (lool) wrote :

So this is not really related to this bug report, but any upgrade from the lucid version will rm -rf /etc/gallery and /usr/share/gallery2, and people end up without these dirs (and without their config data, obviously); it's a serious issue.

The preinst for the -proposed package should take steps to avoid this removal on upgrades.

I can think of a terribly evil way to do it, which would be to patch the postrm of the old package, that's the simplest implementation, but it's really evil. The full implementation would involve taking some kind of backup, and moving it back in place, or moving the data before the upgrade and then moving it back.