/usr/lib/debug/libhistory.so.5 is in libreadline5-dbg 5.2+dfsg-2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/debug/libhistory.so.5.2
/usr/lib/debug/libhistory.so.5.2