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
Bugs, which is subscribed to 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1829857/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs