Unable to install Kinetic due to syntax errors
Trying to install ros-kinetic-catkin, as part of ros-kinetic-ros-base, fails with several Python syntax errors like:
SyntaxError: invalid syntax
File "/usr/lib/python2.7/curses/textpad.py", line 1
SyntaxError: invalid syntax
File "/usr/lib/python2.7/sqlite3/dbapi2.py", line 1
SyntaxError: invalid syntax
File "/usr/lib/python2.7/sqlite3/__init__.py", line 1
SyntaxError: invalid syntax
File "/usr/lib/python2.7/sqlite3/dump.py", line 1
which ultimately fails with the error:
[ubuntu] out: dpkg: dependency problems prevent configuration of ros-kinetic-catkin:
[ubuntu] out: ros-kinetic-catkin depends on python-catkin-pkg (>> 0.2.9); however:
[ubuntu] out: Package python-catkin-pkg is not configured yet.
[ubuntu] out: ros-kinetic-catkin depends on python-empy; however:
[ubuntu] out: Package python-empy is not configured yet.
[ubuntu] out: ros-kinetic-catkin depends on python-nose; however:
[ubuntu] out: Package python-nose is not configured yet.
How do I fix this?
I'm running Ubuntu 16 on a Raspberry Pi 3.