I wouldn't expect dpkg to know about the database files, but they should
at least be deleted by a package script (prerm?) when the package is
removed/purged.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Thanks for reporting.
I get the same warning when running `sudo apt purge command-not-found`
on Ubuntu Groovy. I suppose these files are generated, but not marked as
part of command-not-found.
`dpkg -S /var/lib/command-not-found` correctly identifies that the
directory is part of