/usr/bin/rosinstall is in python-rosinstall 0.7.7-6.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #!/usr/bin/python
import sys
try:
from rosinstall.rosinstall_cli import rosinstall_main
from rosinstall.helpers import ROSInstallException
from wstool.common import MultiProjectException
except ImportError as exc:
if ('rosinstall' in str(exc) or 'vcstools' in str(exc)):
sys.exit("ERROR: Cannot find required rosinstall library version, \
check your installation (also of vcstools) is up-to-date. One frequent cause \
is that rosinstall 0.5 is still installed in /usr/local/lib.\n%s" % exc)
raise
if __name__ == "__main__":
try:
sys.exit(not rosinstall_main(sys.argv))
except ROSInstallException as rie:
sys.exit("ERROR in rosinstall: %s" % str(rie))
except MultiProjectException as mpe:
sys.exit("ERROR in config: %s" % str(mpe))
|