Run this first: touch /opt/maeflight/.maeflight_tools touch /opt/maeflight/a.pyc before running apt-get remove maeflight.