[Bug 884668] Re: sudo apt-get update fails to update extras repository because of unavailable public key

Alessandro Menti 884668 at bugs.launchpad.net
Wed Nov 2 17:21:27 UTC 2011


OK, this is definitely not a bug. If you add a repository manually to
/etc/apt/sources.list without using the apt-add-repository command, then
the GPG key used to verify software digital signatures is not imported
in the "keyring" (collection of GPG keys) used by apt (and by any
software program that is a frontend on it, be it Synaptic, apt-get,
Software Center...). This makes apt not capable to verify the digital
signatures themselves (they are downloaded each time you run an "apt-get
update" or an update from Synaptic), so it emits the warning you
mentioned.

The fix I have suggested imports the missing GPG key (in this case, the
one for extras.ubuntu.com) into the APT keyring, solving the problem.

If, on the contrary, you use the "apt-add-repository" command or the
Software Sources window, it automatically imports the key into the
keyring and Synaptic/apt-get won't show any error messages.

I'm closing this bug report as Invalid, as what you have described is
not a bug - feel free to ask here if you need further clarifications and
to report any new bugs.

** Changed in: apt (Ubuntu)
       Status: Incomplete => Invalid

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

Title:
  sudo apt-get update fails to update extras repository because of
  unavailable public key

Status in “apt” package in Ubuntu:
  Invalid

Bug description:
  sudo apt-get update results into:

  
  W: GPG error: http://extras.ubuntu.com oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: apt 0.8.16~exp5ubuntu13
  ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4
  Uname: Linux 3.0.0-12-server x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Tue Nov  1 11:48:11 2011
  InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/884668/+subscriptions




More information about the foundations-bugs mailing list