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

2011-06-03 Thread Loïc Minier
On Thu, Jun 02, 2011, Guilherme Salgado wrote:
 http://paste.ubuntu.com/616721/ seems to confirm my hypothesis.
 something that used to work on Maverick no longer works on Oneiric. Now
 we need to figure out whether it's a regression in python-apt or just a
 new requirement that trusted.gpg.d is in place before you run
 cache.update()

 I couldn't reproduce with the testcase in the above paste; with
 oneiric's apt (0.8.14.1ubuntu5):
 import apt
 apt.Cache(rootdir='apt-test')
creating:  apt-test/var/lib/dpkg
creating:  apt-test/var/cache/apt/archives/partial
creating:  apt-test/var/lib/apt/lists/partial
Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/lib/python2.7/dist-packages/apt/cache.py, line 93, in __init__
self.open(progress)
  File /usr/lib/python2.7/dist-packages/apt/cache.py, line 136, in open
self._cache = apt_pkg.Cache(progress)
SystemError: E:Could not open file 
apt-test/var/lib/apt/apt-test/var/lib/dpkg/status - open (2: No such file or 
directory), E:The package lists or status file could not be parsed or opened.
 c=apt.Cache(rootdir='/home/lool/h/apt-test')
 c.update()
True

 I do have at least one PPA in my sources.list.  I suppose APT is still
 reading some data from / instead of rootdir (perhaps via apt-key).

 I also couldn't reproduce with
 linaro-hwpack-create hwpacks/linaro-panda 12 as run from a checkout
 of
 lp:~linaro-maintainers/linaro-images/hwpack.natty.linaro-panda

 Probably the same problem

-- 
Loïc Minier

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-03 Thread Loïc Minier
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/790760

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-03 Thread Loïc Minier
On Thu, Jun 02, 2011, Lee Jones wrote:
 ME TOO: Version: 0.4.3-0ubuntu2

 Which hwpack config is this with?  Does it include a PPA and does this
 PPA exist for oneiric?

   Cheers,
-- 
Loïc Minier

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2011-06-02 Thread Lee Jones
ME TOO: Version: 0.4.3-0ubuntu2

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-02 Thread Guilherme Salgado
Marcin, are you using lp:~linaro-maintainers/linaro-images/hwpack.natty
.linaro-panda or a modified version of it?

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-02 Thread Lee Jones
Just upgraded to 0.4.8-0ubuntu1 - same issue

--
$ sudo aptitude show linaro-image-tools 
Package: linaro-image-tools  
New: yes
State: installed
Automatically installed: no
Version: 0.4.8-0ubuntu1~lucid1

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-02 Thread Marcin Juszkiewicz
14:49 hrw@home:hwpacks$ bzr info
Standalone tree (format: 2a)
Location:
  branch root: /opt/linaro/gcc-1125/t/hwpack.natty.linaro-panda

Related branches:
  parent branch: 
bzr+ssh://bazaar.launchpad.net/~linaro-maintainers/linaro-images/hwpack.natty.linaro-panda/
14:49 hrw@home:hwpacks$ bzr log |head -n10

revno: 28
committer: James Westby james.wes...@linaro.org
branch nick: hwpack.natty.linaro-panda
timestamp: Wed 2011-03-30 11:11:11 -0400
message:
  Add ubuntu-ports/ to the ports.ubuntu.com URL

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-02 Thread Guilherme Salgado
Running on my Maverick install (with the same l-i-t version), I also
don't get a etc/apt/trusted.gpg.d/ created in the temp dir used by
linaro-hwpack-create, but still runs to completion and doesn't complain
about that.  Maybe this is because of some apt config or something
specific to Oneiric's apt?

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-02 Thread Guilherme Salgado
http://paste.ubuntu.com/616721/ seems to confirm my hypothesis.
something that used to work on Maverick no longer works on Oneiric. Now
we need to figure out whether it's a regression in python-apt or just a
new requirement that trusted.gpg.d is in place before you run
cache.update()

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-02 Thread Guilherme Salgado
** Also affects: python-apt (Ubuntu)
   Importance: Undecided
   Status: New

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-02 Thread James Westby
On Thu, 02 Jun 2011 13:21:32 -, Guilherme Salgado 
guilherme.salg...@linaro.org wrote:
 http://paste.ubuntu.com/616721/ seems to confirm my hypothesis.
 something that used to work on Maverick no longer works on Oneiric. Now
 we need to figure out whether it's a regression in python-apt or just a
 new requirement that trusted.gpg.d is in place before you run
 cache.update()

I don't know if

  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596189

is fixed in oneiric yet, it may be related.

Thanks,

James


** Bug watch added: Debian Bug tracker #596189
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596189

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-06-02 Thread Marcin Juszkiewicz
On czw, 2011-06-02 at 14:37 +, James Westby wrote:
 
 I don't know if
 
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596189
 
 is fixed in oneiric yet, it may be related.

this bug was fixed in APT 0.8.4 and we have 0.8.14 in oneiric, natty has
0.8.13

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2011-05-31 Thread Marcin Juszkiewicz
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/790760

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs