This package is marked for autoremoval on the 8th March and the bug has not received a response from the package maintainer.
I've attached an NMU patch which I think will resolve this issue. Regards, Donncha
diff -Nru python-stem-1.4.1b/debian/changelog python-stem-1.4.1b/debian/changelog --- python-stem-1.4.1b/debian/changelog 2016-01-18 14:58:04.000000000 +0100 +++ python-stem-1.4.1b/debian/changelog 2016-03-06 00:16:13.000000000 +0100 @@ -1,3 +1,12 @@ +python-stem (1.4.1b-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * debian/rules: Use update-alternatives to select between + /usr/bin/tor-prompt for the Python 2 and Python 3 packages + (Closes: #812459). + + -- Donncha O'Cearbhaill <donn...@donncha.is> Sat, 05 Mar 2016 23:24:41 +0100 + python-stem (1.4.1b-2) unstable; urgency=medium * Rollback #767555 since it kinda loses functionality as it is. diff -Nru python-stem-1.4.1b/debian/python3-stem.postinst python-stem-1.4.1b/debian/python3-stem.postinst --- python-stem-1.4.1b/debian/python3-stem.postinst 1970-01-01 01:00:00.000000000 +0100 +++ python-stem-1.4.1b/debian/python3-stem.postinst 2016-03-06 00:05:52.000000000 +0100 @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ] ; then + update-alternatives --install /usr/bin/tor-prompt tor-prompt /usr/bin/python3-tor-prompt 200 +fi + +#DEBHELPER# + +exit 0 diff -Nru python-stem-1.4.1b/debian/python3-stem.prerm python-stem-1.4.1b/debian/python3-stem.prerm --- python-stem-1.4.1b/debian/python3-stem.prerm 1970-01-01 01:00:00.000000000 +0100 +++ python-stem-1.4.1b/debian/python3-stem.prerm 2016-03-06 00:05:52.000000000 +0100 @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ] ; then + update-alternatives --remove tor-prompt /usr/bin/python3-tor-prompt +fi + +#DEBHELPER# + +exit 0 diff -Nru python-stem-1.4.1b/debian/python-stem.postinst python-stem-1.4.1b/debian/python-stem.postinst --- python-stem-1.4.1b/debian/python-stem.postinst 1970-01-01 01:00:00.000000000 +0100 +++ python-stem-1.4.1b/debian/python-stem.postinst 2016-03-06 00:05:52.000000000 +0100 @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ] ; then + update-alternatives --install /usr/bin/tor-prompt tor-prompt /usr/bin/python2-tor-prompt 300 +fi + +#DEBHELPER# + +exit 0 diff -Nru python-stem-1.4.1b/debian/python-stem.prerm python-stem-1.4.1b/debian/python-stem.prerm --- python-stem-1.4.1b/debian/python-stem.prerm 1970-01-01 01:00:00.000000000 +0100 +++ python-stem-1.4.1b/debian/python-stem.prerm 2016-03-06 00:05:52.000000000 +0100 @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "remove" ] ; then + update-alternatives --remove tor-prompt /usr/bin/python2-tor-prompt +fi + +#DEBHELPER# + +exit 0 diff -Nru python-stem-1.4.1b/debian/rules python-stem-1.4.1b/debian/rules --- python-stem-1.4.1b/debian/rules 2016-01-18 15:40:17.000000000 +0100 +++ python-stem-1.4.1b/debian/rules 2016-03-06 00:17:12.000000000 +0100 @@ -24,11 +24,12 @@ $$py setup.py install --root debian/python3-stem \ --install-layout=deb; \ done; \ - rm -rf debian/python-stem/usr/bin - + mv debian/python-stem/usr/bin/tor-prompt debian/python-stem/usr/bin/python2-tor-prompt + mv debian/python3-stem/usr/bin/tor-prompt debian/python3-stem/usr/bin/python3-tor-prompt + override_dh_auto_clean: dh_auto_clean -- --all rm -rf build override_dh_installman: - dh_installman -ppython3-stem debian/tor-prompt.8 + dh_installman -A debian/tor-prompt.8
signature.asc
Description: OpenPGP digital signature