This file is indexed.

/usr/share/postgresql/10/extension/pgrouting--2.5.1--2.5.2.sql is in postgresql-10-pgrouting-scripts 2.5.2-1build1.

This file is owned by root:root, with mode 0o644.

It is a symlink to /usr/share/postgresql/10/extension/./usr/share/postgresql/10/extension/pgrouting--2.5.0--2.5.2.sql