This is what I get when trying to create a hwpack with latest l-h-c and Oneiric:
$ linaro-hwpack-create --debug hwpacks/linaro-lt-panda 11101
2011-10-17 18:48:42,442 - linaro_image_tools.hwpack.builder - INFO - Building for armel
2011-10-17 18:48:42,451 - linaro_image_tools.hwpack.builder - INFO - Fetching packages
2011-10-17 18:48:42,451 - linaro_image_tools.hwpack.packages - DEBUG - Writing apt configs
2011-10-17 18:48:42,536 - linaro_image_tools.hwpack.packages - DEBUG - Updating apt cache
Traceback (most recent call last):
File "/usr/bin/linaro-hwpack-create", line 67, in <module>
builder.build()
File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/builder.py", line 138, 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 410, in update
raise FetchFailedException(e)
apt.cache.FetchFailedException: W:GPG error: http://ppa.launchpad.net oneiric Release: No keyring installed in /tmp/hwpack-apt-cache-ZFUDGx/etc/apt/trusted.gpg.d/., W:GPG error: http://ports.ubuntu.com oneiric-security Release: No keyring installed in /tmp/hwpack-apt-cache-ZFUDGx/etc/apt/trusted.gpg.d/., W:GPG error: http://ports.ubuntu.com oneiric-updates Release: No keyring installed in /tmp/hwpack-apt-cache-ZFUDGx/etc/apt/trusted.gpg.d/., W:GPG error: http://ports.ubuntu.com oneiric Release: No keyring installed in /tmp/hwpack-apt-cache-ZFUDGx/etc/apt/trusted.gpg.d/., W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/oneiric-security/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/oneiric-security/universe/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/oneiric-updates/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/oneiric-updates/universe/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/oneiric/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/oneiric/universe/binary-i3
Guess this is probably a regression at python-apt, as the builder at Offspring (running Maverick) is still working fine.
Note that it is looking for i386 rather than armel, so it's ignoring the arch that we set
up.
It's possibly a multi-arch related regression, or just that it changed how to specify
the arch and we need to set both when building.
Good that we have the ports split though, otherwise it may have silently created
an i386 hwpack which may well have led to a lot of head scratching.
Thanks,
James