/usr/bin/removelines.py is in astrometry.net 0.46-0ubuntu2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/../lib/python/astrometry/util/removelines.py
/usr/bin/../lib/python/astrometry/util/removelines.py