also sprach martin f krafft <[EMAIL PROTECTED]> [2005.05.21.0149 +0200]: > So the diversion here are leftovers which weren't deleted. Oh oh, > fluxbox, things are looking bad.
So apart from test -d /etc/X11/fluxbox && rm -rf /etc/X11/fluxbox in postrm, which could potentially delete data installed by the user, 0.9.11-1 *did* try to clean up the diversions: postrm: if [ "$1" = "remove" ] then dpkg-divert --package fluxbox --remove --rename --divert \ /usr/bin/bsetroot.blackbox \ /usr/bin/bsetroot dpkg-divert --package fluxbox --remove --rename --divert \ /usr/share/man/man1/bsetroot.blackbox.1.gz \ /usr/share/man/man1/bsetroot.1.gz fi Obviously, this is never called during an upgrade. I also wonder why these two were removed when bsetbg was the topic of the triggering bug #263512. Sorry, Matt, don't mean to put you in the spotlight, I am just investigating... So now we have two challenges: - clean up this mess. fluxbox should install the diversions in preinst/upgrade and preinst/install for bsetroot and bsetbg - it must not remove the diversions before removing its own files. I think this may have been the problem triggering #263512. - the goal is 0.9.11-2 to own diversions for the two tools and their manpages, such that it can coexist with blackbox. Anything I've overlooked? -- Please do not send copies of list mail to me; I read the list! .''`. martin f. krafft <[EMAIL PROTECTED]> : :' : proud Debian developer, admin, user, and author `. `'` `- Debian - when you have better things to do than fixing a system Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver! "distrust all those who love you extremely upon a very slight acquaintance and without any visible reason." -- lord chesterfield
signature.asc
Description: Digital signature