In post install section it fails in: BINARY_IS_UWSGI_ALTERNATIVE="$(\ update-alternatives --list uwsgi 2>/dev/null \ | grep -c '/uwsgi_python$' \ )"
root@localhost:~# update-alternatives --list uwsgi /usr/bin/uwsgi-core /usr/bin/uwsgi_python27
Related bug in debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818116
In post install section it fails in: IS_UWSGI_ ALTERNATIVE= "$(\
update- alternatives --list uwsgi 2>/dev/null \
BINARY_
| grep -c '/uwsgi_python$' \
)"
root@localhost:~# update-alternatives --list uwsgi uwsgi_python27
/usr/bin/uwsgi-core
/usr/bin/
Related bug in debian: https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 818116