tags 1040300 + wontfix thanks On Tue, Jul 04, 2023 at 10:34:34AM +0200, Larsen wrote: > with the upgrade from Bullseye to Bookworm, mlocate got replaced by > plocate. This introduced a breaking change as there is no OR-mode anymore > on which I rely on in scripts and commands. "apt-listchanges" didn't > mention this when I performed the upgrade.
It is correct that there is no OR-mode, nor is any planned (it is a major pain to implement performantly and correctly, and fairly niche). If you wish to reintroduce mlocate, the transitional package for mlocate will be gone in bookworm+1 and you are free to maintain it, but note that there is no upstream development anymore, so you would also be de-facto upstream. > Instead of using this: > locate --existing dpkg-dist dpkg-new dpkg-old dpkg-bak ucf-dist ucf-new > ucf-old | egrep -v > "dpkg-distaddfile|dpkg_dateien_vor_update_|/var/backup/burp|/root/upgrade_auf_" > > I now have to run this, which (although certainly could be improved) is > pretty cumbersome compared to the one liner before. > locate --existing dpkg-dist | egrep -v ... > locate --existing dpkg-new | egrep -v ... > locate --existing dpkg-old | egrep -v ... > locate --existing dpkg-bak | egrep -v ... > locate --existing ucf-dist | egrep -v ... > locate --existing ucf-new | egrep -v ... > locate --existing ucf-old | egrep -v ... Yes. The “simplest” workaround is probably (locate --existing dpkg- ; locate --existing ucf-) | grep -E '(dpkg-(dist|new|old|bak)|(ucf-(dist|new|old)))' | egrep -v etc. /* Steinar */ -- Homepage: https://www.sesse.net/