← Back to team overview

desktop-packages team mailing list archive

[Bug 1545920] [NEW] package python-ibus 1.5.5-1ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

 

*** This bug is a duplicate of bug 1545917 ***
    https://bugs.launchpad.net/bugs/1545917

Public bug reported:

joe@joe-NB:~$ sudo apt-get install -f
[sudo] password for joe: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  ibus
Suggested packages:
  ibus-clutter ibus-doc ibus-qt4
The following packages will be upgraded:
  ibus
1 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
7 not fully installed or removed.
Need to get 30.7 kB/580 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://lk.archive.ubuntu.com/ubuntu/ trusty/main python-ibus all 1.5.5-1ubuntu3 [30.7 kB]
Fetched 30.7 kB in 0s (32.6 kB/s)      
(Reading database ... 270561 files and directories currently installed.)
Preparing to unpack .../ibus_1.5.5-1ubuntu3.2_amd64.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/ibus_1.5.5-1ubuntu3.2_amd64.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/ibus_1.5.5-1ubuntu3.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: python-ibus 1.5.5-1ubuntu3
ProcVersionSignature: Ubuntu 3.19.0-49.55~14.04.1-generic 3.19.8-ckt12
Uname: Linux 3.19.0-49-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Tue Feb 16 09:14:34 2016
DuplicateSignature: package:python-ibus:1.5.5-1ubuntu3: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-01-04 (42 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.5
 apt  1.0.1ubuntu2.11
SourcePackage: ibus
Title: package python-ibus 1.5.5-1ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ibus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package trusty

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ibus in Ubuntu.
https://bugs.launchpad.net/bugs/1545920

Title:
  package python-ibus 1.5.5-1ubuntu3 failed to install/upgrade:
  subprocess new pre-removal script returned error exit status 1

Status in ibus package in Ubuntu:
  New

Bug description:
  joe@joe-NB:~$ sudo apt-get install -f
  [sudo] password for joe: 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Correcting dependencies... Done
  The following extra packages will be installed:
    ibus
  Suggested packages:
    ibus-clutter ibus-doc ibus-qt4
  The following packages will be upgraded:
    ibus
  1 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
  7 not fully installed or removed.
  Need to get 30.7 kB/580 kB of archives.
  After this operation, 4,096 B of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Get:1 http://lk.archive.ubuntu.com/ubuntu/ trusty/main python-ibus all 1.5.5-1ubuntu3 [30.7 kB]
  Fetched 30.7 kB in 0s (32.6 kB/s)      
  (Reading database ... 270561 files and directories currently installed.)
  Preparing to unpack .../ibus_1.5.5-1ubuntu3.2_amd64.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/ibus_1.5.5-1ubuntu3.2_amd64.deb (--unpack):
   subprocess new pre-removal script returned error exit status 1
  Traceback (most recent call last):
    File "/usr/bin/pycompile", line 35, in <module>
      from debpython.version import SUPPORTED, debsorted, vrepr, \
    File "/usr/share/python/debpython/version.py", line 24, in <module>
      from ConfigParser import SafeConfigParser
  ImportError: No module named 'ConfigParser'
  dpkg: error while cleaning up:
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   /var/cache/apt/archives/ibus_1.5.5-1ubuntu3.2_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: python-ibus 1.5.5-1ubuntu3
  ProcVersionSignature: Ubuntu 3.19.0-49.55~14.04.1-generic 3.19.8-ckt12
  Uname: Linux 3.19.0-49-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  Date: Tue Feb 16 09:14:34 2016
  DuplicateSignature: package:python-ibus:1.5.5-1ubuntu3: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-01-04 (42 days ago)
  InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
  PackageArchitecture: all
  RelatedPackageVersions:
   dpkg 1.17.5ubuntu5.5
   apt  1.0.1ubuntu2.11
  SourcePackage: ibus
  Title: package python-ibus 1.5.5-1ubuntu3 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/ibus/+bug/1545920/+subscriptions


Follow ups