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

Bug #1437209 reported by Ankush Menat
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-keyring (Ubuntu)
Invalid
Undecided
Unassigned

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)

Revision history for this message
Ankush Menat (ankush-menat) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-keyring (Ubuntu):
status: New → Confirmed
Revision history for this message
Pascal Mons (anton+) wrote :

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.

Revision history for this message
b8e5n (b8e5n) wrote :

Great,
I had similar problem a while ago. Now that I wanted to upgrade it was bothering me with most of my PPAs.
Fortunately that solved my problem. I tried methods from here http://ubuntuforums.org/showthread.php?t=2257304 but nothing worked...

Not it is fully repaired.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

something is wrong with your install

gpg: keyblock resource `/etc/apt/trusted.gpg.d/webupd8team-sublime-text-2.gpg': resource limit
gpg: keyblock resource `/etc/apt/trusted.gpg.d/webupd8team-sublime-text-3.gpg': resource limit
gpg: keyblock resource `/etc/apt/trusted.gpg.d/webupd8team-tor-browser.gpg': resource limit
gpg: keyblock resource `/etc/apt/trusted.gpg.d/webupd8team-y-ppa-manager.gpg': resource limit

Changed in ubuntu-keyring (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.