Xubuntu 13.10 cannot run apt, get error "ERROR: Can't find the archive-keyring"

Asked by Jon Samuels

Every time I try to run anything involving apt-get (install, upgrade, dist-upgrade, etc.) I get the following error:

ERROR: Can't find the archive-keyring
Is the ubuntu-keyring package installed?
dpkg: error processing apt (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 apt
E: Sub-process /usr/bin/dpkg returned an error code (1)

I haven't deleted anything from my keyrings, and this just all of a sudden started with no warning. Not sure what's causing it. Help would be appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
Jon Samuels
Solved:
Last query:
Last reply:
Revision history for this message
Jon Samuels (jt-2) said :
#1

Every time I try to run anything involving apt-get (install, upgrade, dist-upgrade, etc.) I get the following error:

ERROR: Can't find the archive-keyring
Is the ubuntu-keyring package installed?
dpkg: error processing apt (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 apt
E: Sub-process /usr/bin/dpkg returned an error code (1)

I haven't deleted anything from my keyrings, and this just all of a sudden started with no warning. Not sure what's causing it. Help would be appreciated.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

lsb_release -a; uname -a; apt-cache policy ubuntu-keyring

Thanks

Revision history for this message
Jon Samuels (jt-2) said :
#3

Hi actionparsnip,

The problem's resolved (I didn't see a "close question" button at the time), but here's the output.

> lsb_release_a
lsb_release_a: command not found
jsamuel1@jttheninja-laptop:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy

> uname -a
Linux jttheninja-laptop 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:32 UTC 2014 i686 athlon i686 GNU/Linux

> apt-cache policy ubuntu-keyring
ubuntu-keyring:
  Installed: 2012.05.19
  Candidate: 2012.05.19
  Version table:
 *** 2012.05.19 0
        500 http://us.archive.ubuntu.com/ubuntu/ saucy/main i386 Packages
        100 /var/lib/dpkg/status