[Bug 790760] Re: linaro-hwpack-create fails with GPG errors from APT

Loïc Minier lool at dooz.org
Fri Jun 3 10:50:43 UTC 2011


On Thu, Jun 02, 2011, Guilherme Salgado wrote:
> http://paste.ubuntu.com/616721/

 Ah!

 This is not a change in APT; the returned warnings + errors are:
apt.cache.FetchFailedException: W:GPG error: http://de.archive.ubuntu.com oneiric Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/., W:GPG error: http://archive.canonical.com natty Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/., W:GPG error: http://ppa.launchpad.net natty Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/., W:GPG error: http://ppa.launchpad.net oneiric Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/., W:GPG error: http://ppa.launchpad.net oneiric Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/., W:GPG error: http://download.virtualbox.org natty Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/., W:GPG error: https://private-ppa.launchpad.net oneiric Release: No keyring installed in /tmp/apt-test/etc/apt/trusted.gpg.d/., W:Failed to fetch http://ppa.launchpad.net/hrw/my-own-packages/ubuntu/dists/oneiric/main/source/Sources  404  Not Found
, W:Failed to fetch http://ppa.launchpad.net/hrw/my-own-packages/ubuntu/dists/oneiric/main/binary-amd64/Packages  404  Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.

 see how this is a collection of W: and E:; I guess E: is fatal while W:
 wont fail the call.

 The only E: is:
E:Some index files failed to download. They have been ignored, or old ones used instead.

 and just before there is:
W:Failed to fetch http://ppa.launchpad.net/hrw/my-own-packages/ubuntu/dists/oneiric/main/source/Sources  404  Not Found
W:Failed to fetch http://ppa.launchpad.net/hrw/my-own-packages/ubuntu/dists/oneiric/main/binary-amd64/Packages  404  Not Found

 this is because hrw doesn't have an oneiric PPA, yet his PPA is listed
 in sources.list when creating an oneiric based config.

-- 
Loïc Minier


** Changed in: python-apt (Ubuntu)
       Status: New => Invalid

** Changed in: linaro-image-tools (Ubuntu)
       Status: New => Invalid

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

Title:
  linaro-hwpack-create fails with GPG errors from APT

Status in “linaro-image-tools” package in Ubuntu:
  Invalid
Status in “python-apt” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: linaro-image-tools

  17:49 hrw at home:t$ linaro-hwpack-create hwpack.natty.linaro-panda/hwpacks/linaro-panda 1 --debug
  2011-05-31 17:49:39,483 - linaro_image_tools.hwpack.builder - INFO - Building for armel
  2011-05-31 17:49:39,489 - linaro_image_tools.hwpack.builder - INFO - Fetching packages
  2011-05-31 17:49:39,489 - linaro_image_tools.hwpack.packages - DEBUG - Writing apt configs
  2011-05-31 17:49:39,515 - linaro_image_tools.hwpack.packages - DEBUG - Updating apt cache
  Traceback (most recent call last):
    File "/usr/bin/linaro-hwpack-create", line 66, in <module>
      builder.build()
    File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/builder.py", line 84, in build
      with fetcher:
    File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/packages.py", line 580, in prepare
      self.cache.prepare()
    File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/packages.py", line 511, in prepare
      self.cache.update()
    File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
      return func(*args, **kwds)
    File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 373, in update
      raise FetchFailedException(e)
  apt.cache.FetchFailedException: W:GPG error: http://ppa.launchpad.net natty Release: No keyring installed in /tmp/hwpack-apt-cache-8Dj1Sw/etc/apt/trusted.gpg.d/., W:GPG error: http://ports.ubuntu.com natty-security Release: No keyring installed in /tmp/hwpack-apt-cache-8Dj1Sw/etc/apt/trusted.gpg.d/., W:GPG error: http://ports.ubuntu.com natty-updates Release: No keyring installed in /tmp/hwpack-apt-cache-8Dj1Sw/etc/apt/trusted.gpg.d/., W:GPG error: http://ports.ubuntu.com natty Release: No keyring installed in /tmp/hwpack-apt-cache-8Dj1Sw/etc/apt/trusted.gpg.d/., W:Failed to fetch copy:/tmp/tmpdG6S0V/./Packages  
  , E:Some index files failed to download. They have been ignored, or old ones used instead.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: linaro-image-tools 0.4.8-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.39-2.8-generic 2.6.39-rc7
  Uname: Linux 2.6.39-2-generic x86_64
  Architecture: amd64
  Date: Tue May 31 17:46:34 2011
  InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
  PackageArchitecture: all
  ProcEnviron:
   SHELL=/bin/bash
   LANG=pl_PL.UTF-8
   LANGUAGE=pl_PL:en
  SourcePackage: linaro-image-tools
  UpgradeStatus: No upgrade log present (probably fresh install)




More information about the foundations-bugs mailing list