----- j...@debian.org wrote: > On Mon, Jan 30, 2017 at 06:38:16PM +0000, Robie Basak wrote: > > > So how about this, just a sketch at the moment rather than a full > > > patch? > > > > Your sketch seems good to me, assuming that "dpkg-query --search" > is > > permitted from maintainer scripts (I know there are some > re-entrancy > > problems with some particular types of dpkg-related invocations?) > > [...] > > > > I wondered this too. But without thinking it through in more > detail, > > it'd certainly be better than what we have now. > > Please find attached a patch against the current > mysql-5.7/debian/master branch on alioth. I have also updated the > github branch for mariadb-10.1 to address the same issue (the one > with > a pull request to otto/mariadb-10.1). > > It's been tested for upgrades, clean install, remove and purge. > > Best wishes, > > Julian
Thanks! I'll look it over and test a little myself. -- Lars