/usr/bin/ptrepack is in python-tables 3.1.1-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3
#! /usr/bin/python from tables.scripts.ptrepack import main main()