package python-pygame 1.9.1release+dfsg-10 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygame (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I was chasing a different bug
deluge-common
deluge-gtk
was throwing errors so I tried to remove them:
sudo apt-get autoremove deluge-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
deluge-common deluge-gtk libboost-
libsmpeg0 libzlcore-data libzlcore0.12 libzltext-data libzltext0.12
libzlui-qt4 python-appindicator python-libtorrent python-notify
python-pygame
0 upgraded, 0 newly installed, 15 to remove and 20 not upgraded.
2 not fully installed or removed.
After this operation, 19.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 229807 files and directories currently installed.)
Removing deluge-gtk (1.3.11-0ubuntu2) ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
SyntaxError: invalid syntax
dpkg: error processing package deluge-gtk (--remove):
subprocess installed pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Removing python-libtorrent (0.16.18-1) ...
Removing libboost-
Removing python-pygame (1.9.1release+
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
SyntaxError: invalid syntax
dpkg: error processing package python-pygame (--remove):
subprocess installed pre-removal script returned error exit status 1
Removing libzlui-qt4 (0.12.10dfsg-9.1) ...
Removing libzltext0.12 (0.12.10dfsg-9.1) ...
Removing libzlcore0.12 (0.12.10dfsg-9.1) ...
Removing libzlcore-data (0.12.10dfsg-9.1) ...
Removing libzltext-data (0.12.10dfsg-9.1) ...
Removing python-appindicator (12.10.
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
SyntaxError: invalid syntax
dpkg: error processing package python-appindicator (--remove):
subprocess installed pre-removal script returned error exit status 1
dpkg: libportmidi0: dependency problems, but removing anyway as you requested:
python-pygame depends on libportmidi0; however:
Package libportmidi0 is to be removed.
Removing libportmidi0 (1:200-0ubuntu3) ...
dpkg: libsdl-
python-pygame depends on libsdl-ttf2.0-0; however:
Package libsdl-
Removing libsdl-
dpkg: libsmpeg0:amd64: dependency problems, but removing anyway as you requested:
python-pygame depends on libsmpeg0; however:
Package libsmpeg0:amd64 is to be removed.
Removing libsmpeg0:amd64 (0.4.5+
dpkg: python-notify: dependency problems, but removing anyway as you requested:
deluge-gtk depends on python-notify; however:
Package python-notify is to be removed.
Removing python-notify (0.1.1-4) ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
SyntaxError: invalid syntax
dpkg: error processing package python-notify (--remove):
subprocess installed pre-removal script returned error exit status 1
No apport report written because MaxReports is reached already
deluge-gtk depends on deluge-common (= 1.3.11-0ubuntu2).
Removing deluge-common (1.3.11-0ubuntu2) ...
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
SyntaxError: invalid syntax
dpkg: error processing package deluge-common (--remove):
subprocess installed pre-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
deluge-gtk
python-pygame
python-
python-notify
deluge-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: python-pygame 1.9.1release+
ProcVersionSign
Uname: Linux 3.19.0-22-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
Date: Fri Jul 24 09:16:53 2015
DuplicateSignature: package:
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationDate: Installed on 2015-06-23 (30 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
RelatedPackageV
dpkg 1.17.25ubuntu1
apt 1.0.9.7ubuntu4
SourcePackage: pygame
Title: package python-pygame 1.9.1release+
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |