update apt dependencies to python3