← Back to team overview

touch-packages team mailing list archive

[Bug 1409286] Re: package python-ufw 0.34~rc-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

 

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
Touch seeded packages, which is subscribed to ufw in 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

Status in ufw package in Ubuntu:
  Incomplete

Bug description:
  Long story short, author uses python2.7, and my machine uses python3.3
  as python. Module ConfigParser has been changed to configparser in
  python3. Please accomodate your software for new python versions

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: python-ufw 0.34~rc-0ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-43.72-generic 3.13.11.11
  Uname: Linux 3.13.0-43-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.6
  AptOrdering:
   python-ufw: Install
   ufw-kde: Install
   python-ufw: Configure
   ufw-kde: Configure
  Architecture: amd64
  Date: Sat Jan 10 10:21:13 2015
  DuplicateSignature: package:python-ufw:0.34~rc-0ubuntu2:subprocess installed post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2014-12-15 (25 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  PackageArchitecture: all
  SourcePackage: ufw
  Title: package python-ufw 0.34~rc-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/1409286/+subscriptions


References