I have tried your patch and found a problem with it:
If I run "dlocate -L alsa-utils" before patching dlocate, I get a correct list of files.
If I run "dlocate -L alsa-utils" after patching dlocate, I get an error message:
"Package alsa-utils:amd64 not installed or alsa-utils:amd64.list is empty."
However, if I do the same for the "libasound2" package instead, I get a correct list a files *after* the patch.
So it seems your patch fixes some (multiarch?) cases, but breaks other (non-multiarch?) cases.
Hi Norbert and thanks for your patch!
I have tried your patch and found a problem with it: amd64.list is empty."
If I run "dlocate -L alsa-utils" before patching dlocate, I get a correct list of files.
If I run "dlocate -L alsa-utils" after patching dlocate, I get an error message:
"Package alsa-utils:amd64 not installed or alsa-utils:
However, if I do the same for the "libasound2" package instead, I get a correct list a files *after* the patch.
So it seems your patch fixes some (multiarch?) cases, but breaks other (non-multiarch?) cases.