← Back to team overview

touch-packages team mailing list archive

[Bug 1437209] Re: package ubuntu-keyring 2012.05.19 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

 

May be some explanation on when this happened.

I was experiencing a loss of GPG PUBKEYs as described by "Apt-get
Reports NO_PUBKEY GPG Error for Keys that are Present in Trusted"

https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1263540

Then I ran :

$ sudo apt-get install ubuntu-keyring --reinstall

This caused a crash while re-installing the ubuntu-keyring package.

Later I did proceed as explained by the latest posts on bug 1263540.

I deleted all the contents in /etc/apt/trusted.gpg.d/ (Not exactly) :

$ sudo mv /etc/apt/trusted.gpg.d/ /etc/apt/trusted.gpg.d.old/
$ mkdir /etc/apt/trusted.gpg.d/

Then I ran :

$ sudo dpkg -i webupd8/launchpad-getkeys_0.3.3-1~webupd8~2_all.deb

(launchpad-getkeys was found here : http://www.webupd8.org/2010/05
/automatically-import-all-missing.html)

$ sudo launchpad-getkeys
$ sudo apt-get update

... This solved the issue for me.

Still the ubuntu-keyring is not broken and performing well.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-keyring in Ubuntu.
https://bugs.launchpad.net/bugs/1437209

Title:
  package ubuntu-keyring 2012.05.19 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 2

Status in ubuntu-keyring package in Ubuntu:
  Confirmed

Bug description:
  This appeared randomly after upgrading from terminal. When I run
  software updater, it keeps prompting from "Partial upgrade"

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: ubuntu-keyring 2012.05.19
  ProcVersionSignature: Ubuntu 3.13.0-46.79-generic 3.13.11-ckt15
  Uname: Linux 3.13.0-46-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.8
  AptOrdering:
   ubuntu-keyring: Install
   ubuntu-keyring: Configure
  Architecture: amd64
  Date: Fri Mar 27 13:43:09 2015
  DuplicateSignature: package:ubuntu-keyring:2012.05.19:subprocess installed post-installation script returned error exit status 2
  ErrorMessage: subprocess installed post-installation script returned error exit status 2
  InstallationDate: Installed on 2014-05-08 (322 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  PackageArchitecture: all
  SourcePackage: ubuntu-keyring
  Title: package ubuntu-keyring 2012.05.19 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-keyring/+bug/1437209/+subscriptions


References