Unable to create a hwpack with latest l-i-t and 64bit Oneiric as a host

Bug #876863 reported by Ricardo Salveti
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Confirmed
High
Unassigned

Bug Description

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.

Revision history for this message
James Westby (james-w) wrote :

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

Revision history for this message
Fathi Boudra (fboudra) wrote :

Set the milestone to 2011.11. It's acceptable to get it fixed for next release.

Rationale: "only" developers are running Oneiric. Our infrastructure isn't affected by the issue and is preserved.
Workaround: use Natty based chroot.

Though, it should be mentioned on Linaro 11.10 release notes.

Changed in linaro-image-tools:
milestone: 2011.10 → 2011.11
Revision history for this message
Mattias Backman (mabac) wrote :

I am unable to reproduce this problem:

$ ./linaro-hwpack-create ../../linaro-images/hwpack.oneiric.linaro-panda/hwpacks/linaro-panda 1.0
Building for armel
Fetching packages
Wrote hwpack_linaro-panda_1.0_armel_supported.tar.gz

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric

Revision history for this message
Angus Ainslie (angus-akkea) wrote :

I did a full update of my system an I still can't generate hwpacks in oneiric.

angus@midas:/usr/src/Samsung$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric

Revision history for this message
Mattias Backman (mabac) wrote : Re: [Bug 876863] Re: Unable to create a hwpack with latest l-i-t and Oneiric as a host
Download full text (3.8 KiB)

On Tue, Nov 8, 2011 at 11:12 PM, Angus Ainslie <email address hidden> wrote:
> I did a full update of my system an I still can't generate hwpacks in
> oneiric.

It seems that there is something broken even after a full update,
then. I can't figure out why though since I don't get that error. My
system was reinstalled from scratch after I had a lot of problems
upgrading.

Do we have the same version of python-apt?

mabac@mabac-linaro:~$ apt-cache showpkg python-apt
Package: python-apt
Versions:
0.8.0ubuntu9 (/var/lib/apt/lists/se.archive.ubuntu.com_ubuntu_dists_oneiric_main_binary-i386_Packages)
(/var/lib/dpkg/status)

>
> angus@midas:/usr/src/Samsung$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:    Ubuntu 11.10
> Release:        11.10
> Codename:       oneiric
>
> --
> You received this bug notification because you are subscribed to Linaro
> Image Tools.
> https://bugs.launchpad.net/bugs/876863
>
> Title:
>  Unable to create a hwpack with latest l-i-t and Oneiric as a host
>
> Status in Linaro Image Tools:
>  Confirmed
>
> Bug description:
>  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 Foun...

Read more...

Revision history for this message
Angus Ainslie (angus-akkea) wrote : Re: Unable to create a hwpack with latest l-i-t and Oneiric as a host

Mines the same version but it's 64 bit. Do you have a 64 bit machine to try it on ?

angus@midas:/usr/src/Samsung/kernel$ apt-cache showpkg python-apt
Package: python-apt
Versions:
0.8.0ubuntu9 (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_oneiric_main_binary-amd64_Packages) (/var/lib/dpkg/status)
 Description Language: en
                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_oneiric_main_i18n_Translation-en
                  MD5: 2b295efc7c4e39a13486f5a6990ce22b
 Description Language:
                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_oneiric_main_binary-amd64_Packages
                  MD5: 2b295efc7c4e39a13486f5a6990ce22b

Revision history for this message
Mattias Backman (mabac) wrote : Re: [Bug 876863] Re: Unable to create a hwpack with latest l-i-t and Oneiric as a host
Download full text (3.9 KiB)

On Wed, Nov 9, 2011 at 3:33 PM, Angus Ainslie <email address hidden> wrote:
> Mines the same version but it's 64 bit. Do you have a 64 bit machine to
> try it on ?

I don't, but let me ask around and get some more people to try this.

>
> angus@midas:/usr/src/Samsung/kernel$ apt-cache showpkg python-apt
> Package: python-apt
> Versions:
> 0.8.0ubuntu9 (/var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_oneiric_main_binary-amd64_Packages) (/var/lib/dpkg/status)
>  Description Language: en
>                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_oneiric_main_i18n_Translation-en
>                  MD5: 2b295efc7c4e39a13486f5a6990ce22b
>  Description Language:
>                 File: /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_oneiric_main_binary-amd64_Packages
>                  MD5: 2b295efc7c4e39a13486f5a6990ce22b
>
> --
> You received this bug notification because you are subscribed to Linaro
> Image Tools.
> https://bugs.launchpad.net/bugs/876863
>
> Title:
>  Unable to create a hwpack with latest l-i-t and Oneiric as a host
>
> Status in Linaro Image Tools:
>  Confirmed
>
> Bug description:
>  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...

Read more...

Revision history for this message
Guilherme Salgado (salgado) wrote : Re: Unable to create a hwpack with latest l-i-t and Oneiric as a host

I can reproduce it on my laptop. It runs Oneiric 64-bit and I did a fresh install earlier this week. I'll give this bug a go tomorrow if nobody beats me to it.

Revision history for this message
Guilherme Salgado (salgado) wrote :

And as expected, on a fresh i386 Oneiric install (an lxc container, though), l-h-c ran to completion.

Mattias Backman (mabac)
summary: - Unable to create a hwpack with latest l-i-t and Oneiric as a host
+ Unable to create a hwpack with latest l-i-t and 64bit Oneiric as a host
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.