Thank you for using Ubuntu and filing a bug.
I'm not sure what you mean by "Long story short, author uses python2.7,
and my machine uses python3.3 as python." ufw is tested to work with
python 2.6-2.7 and python 3.1+ (in fact it defaults to python3 in later
Ubuntu releases and python-ufw (the package that failed) is only
provided for other python2 apps that use ufw). Specifically,
src/applications.py has:
if sys.version_info[0] < 3:
import ConfigParser
else:
import configparser
You later say that "my machine uses python3.3 as python". Do you mean that you
changed the symlink for /usr/bin/python to point to /usr/bin/python3.3 instead
of /usr/bin/python2.7? If so, this is not the recommendation from PEP-0394 and
is unsupported in Ubuntu and Debian and I would expect many other python2
applications to fail. This has been discussed in various places:
https://mail.python.org/pipermail/python-dev/2013-July/127529.html
https://wiki.ubuntu.com/Python/3
http://legacy.python.org/dev/peps/pep-0394/
** Changed in: ufw (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1409286
Title:
package python-ufw 0.34~rc-0ubuntu2 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/1409286/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs