linaro-release team mailing list archive
-
linaro-release team
-
Mailing list archive
-
Message #00683
Re: [Bug 842973] Re: Snowball hwpack V1 (20110905) fails with l-m-c
On Wed, 07 Sep 2011 09:14:31 -0000, Mattias Backman <842973@xxxxxxxxxxxxxxxxxx> wrote:
> The user should select the hwpack that corresponds to the revision of
> the Snowball targeted. That is lt-snowball-v2 or lt-snowball-v3. The
> combined hwpack which is simply called lt-snowball contains packages for
> both v2 and v3 and then the files clash on install.
>
> I agreed a while back to investigate how much work it would be to make
> l-m-c handle duplicates of packages like this. I wanted more info on the
> changes needed for Snowball V5 though, so we don't fix the problem now
> and need another fix when the new revision arrive.
>
> So this kind of hwpack is not supported by the tools. We would need to
> implement the snowball_v2_emmc and snowball_v3_mmc --dev options for
> this to work. I think a prerequisite would be for the different
> startupfiles debs to install the files to different paths so that they
> do not clash on install.
Yes, we're not going to support hwpacks containing two files that
conflict on install, so that would indeed be a prerequisite.
LT, What was the plan for the combined hwpack?
Thanks,
James
--
You received this bug notification because you are a member of Linaro
Release Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/842973
Title:
Combined V2/V3 Snowball hwpack (20110905) fails with l-m-c
Status in Linaro Image Tools:
Confirmed
Bug description:
Selecting previously deselected package startupfiles-v2.
Unpacking startupfiles-v2 (from .../startupfiles-v2_2.0.5-6_armel.deb) ...
Selecting previously deselected package startupfiles-v3.
Unpacking startupfiles-v3 (from .../startupfiles-v3_3.0.5-5_armel.deb) ...
dpkg: error processing /tmp/tmp.kCQAu4LYnC/unpacked/pkgs/startupfiles-v3_3.0.5-5_armel.deb (--unpack):
trying to overwrite '/boot/u-boot-env.bin', which is also in package startupfiles-v2 2.0.5-6
/bin/df: cannot read table of mounted file systems: No such file or directory
Selecting previously deselected package devio.
Unpacking devio (from .../devio_1.2-1build1_armel.deb) ...
Selecting previously deselected package flash-kernel.
Unpacking flash-kernel (from .../flash-kernel_2.28ubuntu19linaro2_armel.deb) ...
Selecting previously deselected package linux-image-linaro-lt-ux500.
Unpacking linux-image-linaro-lt-ux500 (from .../linux-image-linaro-lt-ux500_2.6.38.1001.3_armel.deb) ...
Selecting previously deselected package u-boot-linaro-u8500-snowball.
Unpacking u-boot-linaro-u8500-snowball (from .../u-boot-linaro-u8500-snowball_2011.08.23-0ubuntu1_armel.deb) ...
Selecting previously deselected package hwpack-linaro-lt-snowball.
Unpacking hwpack-linaro-lt-snowball (from .../hwpack-linaro-lt-snowball_20110905-0_armel.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
/tmp/tmp.kCQAu4LYnC/unpacked/pkgs/startupfiles-v3_3.0.5-5_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Cleaning up ...W: GPG error: http://ppa.launchpad.net natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F66626F405361FB7
Done
proc umounted
Traceback (most recent call last):
File "/home/mpoirier/work/linaro/linaro-image-tools/linaro-media-create", line 146, in <module>
verified_files, *hwpacks)
File "/home/mpoirier/work/linaro/linaro-image-tools/linaro_image_tools/media_create/chroot_utils.py", line 64, in install_hwpacks
install_hwpack(chroot_dir, hwpack_file, hwpack_force_yes or hwpack_verified)
File "/home/mpoirier/work/linaro/linaro-image-tools/linaro_image_tools/media_create/chroot_utils.py", line 85, in install_hwpack
cmd_runner.run(args, as_root=True, chroot=chroot_dir).wait()
File "/home/mpoirier/work/linaro/linaro-image-tools/linaro_image_tools/cmd_runner.py", line 100, in wait
raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['chroot', '/tmp/tmpifDWcJ/binary', 'linaro-hwpack-install', '/hwpack_linaro-lt-snowball_20110905-0_armel_supported.tar.gz']" returned a non-zero value: 100
mpoirier@black:~/work/linaro/snowball-images/leb_ubuntu$
To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/842973/+subscriptions
References