[Bug 1688270] Re: package python-gpgme 0.3-1.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

dino99 1688270 at bugs.launchpad.net
Fri Feb 2 14:22:07 UTC 2018


That version is now dead
http://news.softpedia.com/news/ubuntu-17-04-zesty-zapus-has-reached-end-of-life-upgrade-to-ubuntu-17-10-now-519360.shtml

** Changed in: pygpgme (Ubuntu)
       Status: Confirmed => Invalid

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

Title:
  package python-gpgme 0.3-1.2 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

Status in pygpgme package in Ubuntu:
  Invalid

Bug description:
  This error occurred when trying to install nautilus-dropbox, as the
  standard version of Dropbox stopped working when I upgraded to Ubuntu
  Gnome 17.04.

  Additionally, I think the issue is related to python3.6 refusing to
  install correctly, due to an import error.

  I need both Python 3.6 and Dropbox working on this system asap.

  Copied the output from terminal:

  (general) laurie at laurie-p6823w:~$ sudo apt install nautilus-dropbox
  [sudo] password for laurie: 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following additional packages will be installed:
    python-gpgme
  The following packages will be REMOVED:
    dropbox
  The following NEW packages will be installed:
    nautilus-dropbox python-gpgme
  0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
  2 not fully installed or removed.
  Need to get 111 kB of archives.
  After this operation, 24.6 kB disk space will be freed.
  Do you want to continue? [Y/n] y
  Get:1 http://us.archive.ubuntu.com/ubuntu zesty/multiverse amd64 nautilus-dropbox amd64 2015.10.28-1ubuntu1 [86.5 kB]
  Get:2 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 python-gpgme amd64 0.3-1.2 [24.6 kB]
  Fetched 111 kB in 0s (588 kB/s)    
  (Reading database ... 272300 files and directories currently installed.)
  Removing dropbox (2015.10.28) ...
  Selecting previously unselected package nautilus-dropbox.
  (Reading database ... 272275 files and directories currently installed.)
  Preparing to unpack .../nautilus-dropbox_2015.10.28-1ubuntu1_amd64.deb ...
  Unpacking nautilus-dropbox (2015.10.28-1ubuntu1) ...
  Selecting previously unselected package python-gpgme.
  Preparing to unpack .../python-gpgme_0.3-1.2_amd64.deb ...
  Unpacking python-gpgme (0.3-1.2) ...
  Setting up nautilus-dropbox (2015.10.28-1ubuntu1) ...
  Please restart all running instances of Nautilus, or you will experience problems. i.e. nautilus --quit
  Dropbox installation successfully completed! You can start Dropbox from your applications menu.
  Processing triggers for mime-support (3.60ubuntu1) ...
  Setting up python-gpgme (0.3-1.2) ...
  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 processing package python-gpgme (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for desktop-file-utils (0.23-1ubuntu2) ...
  Setting up python3.6-minimal (3.6.1-1) ...
  Traceback (most recent call last):
    File "/usr/lib/python3.6/py_compile.py", line 6, in <module>
      import importlib._bootstrap_external
    File "/usr/lib/python3.6/importlib/__init__.py", line 57, in <module>
      import types
    File "/usr/lib/python3.6/types.py", line 171, in <module>
      import functools as _functools
    File "/usr/lib/python3.6/functools.py", line 23, in <module>
      from weakref import WeakKeyDictionary
    File "/usr/lib/python3.6/weakref.py", line 12, in <module>
      from _weakref import (
  ImportError: cannot import name '_remove_dead_weakref'
  dpkg: error processing package python3.6-minimal (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for man-db (2.7.6.1-2) ...
  Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
  Processing triggers for hicolor-icon-theme (0.15-1) ...
  dpkg: dependency problems prevent configuration of python3.6:
   python3.6 depends on python3.6-minimal (= 3.6.1-1); however:
    Package python3.6-minimal is not configured yet.

  dpkg: error processing package python3.6 (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup error from a previous failure.
                            Errors were encountered while processing:
   python-gpgme
   python3.6-minimal
   python3.6
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 17.04
  Package: python-gpgme 0.3-1.2
  ProcVersionSignature: Ubuntu 4.10.0-20.22-generic 4.10.8
  Uname: Linux 4.10.0-20-generic x86_64
  ApportVersion: 2.20.4-0ubuntu4
  AptOrdering:
   dropbox:amd64: Remove
   nautilus-dropbox:amd64: Install
   python-gpgme:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  Date: Thu May  4 09:40:21 2017
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-04-24 (9 days ago)
  InstallationMedia: Ubuntu-GNOME 17.04 "Zesty Zapus" - Release amd64 (20170412)
  RelatedPackageVersions:
   dpkg 1.18.10ubuntu2
   apt  1.4
  SourcePackage: pygpgme
  Title: package python-gpgme 0.3-1.2 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/pygpgme/+bug/1688270/+subscriptions



More information about the foundations-bugs mailing list