[Bug 1829857] Re: package python-django 1.6.11-0ubuntu1.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Seth Arnold 1829857 at bugs.launchpad.net
Tue May 21 20:14:39 UTC 2019


The error message from the terminal log:

(Reading database ... 1522438 files and directories currently installed.)
Preparing to unpack .../python-django_1.6.11-0ubuntu1.3_all.deb ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax
dpkg: error processing archive /var/cache/apt/archives/python-django_1.6.11-0ubuntu1.3_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1

** Also affects: python-defaults (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: python-django (Ubuntu)
     Assignee: Dhirendra (dhiru-research) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1829857

Title:
  package python-django 1.6.11-0ubuntu1.2 failed to install/upgrade:
  subprocess new pre-removal script returned error exit status 1

Status in python-defaults package in Ubuntu:
  New
Status in python-django package in Ubuntu:
  New

Bug description:
  The installation or removal of a software package failed.

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: python-django 1.6.11-0ubuntu1.3
  ProcVersionSignature: Ubuntu 4.4.0-142.168~14.04.1-generic 4.4.167
  Uname: Linux 4.4.0-142-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.29
  Architecture: amd64
  Date: Tue May 21 17:26:39 2019
  DuplicateSignature: package:python-django:1.6.11-0ubuntu1.2:subprocess new pre-removal script returned error exit status 1
  ErrorMessage: subprocess new pre-removal script returned error exit status 1
  InstallationDate: Installed on 2016-08-11 (1012 days ago)
  InstallationMedia: Ubuntu 14.04.4 LTS "Trusty Tahr" - Release amd64 (20160217.1)
  PackageArchitecture: all
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.8
   apt  1.0.1ubuntu2.19
  SourcePackage: python-django
  Title: package python-django 1.6.11-0ubuntu1.2 failed to install/upgrade: subprocess new pre-removal 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/python-defaults/+bug/1829857/+subscriptions



More information about the foundations-bugs mailing list