Debian Bug report logs - #572158
live-helper: Allow installation of i386 debs with amd64 images

version graph

Package: live-helper; Maintainer for live-helper is Debian Live Project <debian-live@lists.debian.org>;

Reported by: Patrick Matthäi <pmatthaei@debian.org>

Date: Mon, 1 Mar 2010 23:45:15 UTC

Severity: wishlist

Found in version live-helper/2.0~a8-1

Done: Daniel Baumann <daniel@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live@lists.debian.org>:
Bug#572158; Package live-helper. (Mon, 01 Mar 2010 23:45:18 GMT) Full text and rfc822 format available.

Acknowledgement sent to Patrick Matthäi <pmatthaei@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Live <debian-live@lists.debian.org>. (Mon, 01 Mar 2010 23:45:18 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Patrick Matthäi <pmatthaei@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-helper: Allow installation of i386 debs with amd64 images
Date: Tue, 02 Mar 2010 00:44:37 +0100
Package: live-helper
Version: 2.0~a8-1
Severity: wishlist

Hello,

we are using live-helper as disaster recovery CD and update CD for firmwares
delivered by HP.
All the HP firmware updates (also the HP RAID maintenance tools like hpacucli)
need the deprecated libstdc++2.10-glibc2.2_2.95.4-27_i386.deb library to work.

Installing this package from etch work on both systems, lenny and squeeze for
the updates.. Anyway we have to include it with our recovery CDs.

In the live helper faq there is described, how to add my own deb's to the
live-cd (copying it to the specific chroot folder), that is working, if the
deb == build-arch.

Anyway I tried to build an amd64 image with libstdc++2.10-glibc2.2_2.95.4-27_i386.deb,
but live-helper ignores this deb file, because i386 != amd64 (without any
warning).

I would wish, that live-helper is also able to add i386 debs to amd64 builds.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash




Reply sent to daniel@debian.org:
You have taken responsibility. (Thu, 04 Mar 2010 06:27:05 GMT) Full text and rfc822 format available.

Notification sent to Patrick Matthäi <pmatthaei@debian.org>:
Bug acknowledged by developer. (Thu, 04 Mar 2010 06:27:05 GMT) Full text and rfc822 format available.

Message #10 received at 572158-done@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: Patrick Matthäi <pmatthaei@debian.org>, 572158-done@bugs.debian.org
Subject: Re: Bug#572158: live-helper: Allow installation of i386 debs with amd64 images
Date: Thu, 04 Mar 2010 07:24:39 +0100
On 03/02/2010 12:44 AM, Patrick Matthäi wrote:
> In the live helper faq there is described, how to add my own deb's to the
> live-cd (copying it to the specific chroot folder), that is working, if the
> deb == build-arch.

the idea is that somone can put binary packages for several 
architectures into chroot_local-packages and use the same config tree to 
build images for several architectures, live-helper automatically takes 
whatever is suitable for a given architecture. this is a sane and 
reasonable standard behaviour for 99.99% of all use-cases.

changing this standard behaviour doesn't make any sense. installing i386 
packages on an amd64 system, although it works, is not supported by 
debian itself, and live-helper will therefore, by default, not support 
that either.

> Anyway I tried to build an amd64 image with libstdc++2.10-glibc2.2_2.95.4-27_i386.deb,
> but live-helper ignores this deb file, because i386 != amd64 (without any
> warning).
>
> I would wish, that live-helper is also able to add i386 debs to amd64 builds.

adding a special configuration option that would tell live-helper to not 
just install the target architecture packages, but also certain other 
packages of a foreign architecture certainly is possible, but imho not 
worth the effort (and would be too inflexible anyway, and cluttering the 
config tree uselessly).

i suggest you use chroot_local-hooks to do that and installs the 
packages for you. this looks like the much more appropiate way to go for 
such singular hacks than to bend live-helper to support that.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live@lists.debian.org>:
Bug#572158; Package live-helper. (Thu, 04 Mar 2010 17:19:30 GMT) Full text and rfc822 format available.

Acknowledgement sent to pmatthaei@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live@lists.debian.org>. (Thu, 04 Mar 2010 17:19:30 GMT) Full text and rfc822 format available.

Message #15 received at 572158@bugs.debian.org (full text, mbox):

From: Patrick Matthäi <pmatthaei@debian.org>
To: daniel@debian.org
Cc: 572158@bugs.debian.org
Subject: Re: Bug#572158: live-helper: Allow installation of i386 debs with amd64 images
Date: Thu, 04 Mar 2010 18:16:30 +0100
Am 04.03.2010 07:24, schrieb Daniel Baumann:
> On 03/02/2010 12:44 AM, Patrick Matthäi wrote:
>> In the live helper faq there is described, how to add my own deb's to the
>> live-cd (copying it to the specific chroot folder), that is working,
>> if the
>> deb == build-arch.
>
> the idea is that somone can put binary packages for several
> architectures into chroot_local-packages and use the same config tree to
> build images for several architectures, live-helper automatically takes
> whatever is suitable for a given architecture. this is a sane and
> reasonable standard behaviour for 99.99% of all use-cases.
>
> changing this standard behaviour doesn't make any sense. installing i386
> packages on an amd64 system, although it works, is not supported by
> debian itself, and live-helper will therefore, by default, not support
> that either.
>
>> Anyway I tried to build an amd64 image with
>> libstdc++2.10-glibc2.2_2.95.4-27_i386.deb,
>> but live-helper ignores this deb file, because i386 != amd64 (without any
>> warning).
>>
>> I would wish, that live-helper is also able to add i386 debs to amd64
>> builds.
>
> adding a special configuration option that would tell live-helper to not
> just install the target architecture packages, but also certain other
> packages of a foreign architecture certainly is possible, but imho not
> worth the effort (and would be too inflexible anyway, and cluttering the
> config tree uselessly).

Could you maybe rething about it?
I know that it is not supported by Debian, but needed for the use of 
amd64 live helper CDs with those crap HP packages.

It would be realy nice, if it would be supported (something like 
--allow-other-arch-packages..)

>
> i suggest you use chroot_local-hooks to do that and installs the
> packages for you. this looks like the much more appropiate way to go for
> such singular hacks than to bend live-helper to support that.
>
> Regards,
> Daniel
>


-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatthaei@debian.org
        patrick@linux-dev.org

Comment:
Always if we think we are right,
we were maybe wrong.
*/




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live <debian-live@lists.debian.org>:
Bug#572158; Package live-helper. (Sun, 07 Mar 2010 10:09:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live <debian-live@lists.debian.org>. (Sun, 07 Mar 2010 10:09:08 GMT) Full text and rfc822 format available.

Message #20 received at 572158@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: pmatthaei@debian.org
Cc: 572158@bugs.debian.org
Subject: Re: Bug#572158: live-helper: Allow installation of i386 debs with amd64 images
Date: Sun, 07 Mar 2010 11:06:23 +0100
On 03/04/2010 06:16 PM, Patrick Matthäi wrote:
> Could you maybe rething about it?

please read again my previous mail, to the end.

there's no point in bending live-helper to support such a singular use 
case directly, especially because a simple two line hook accomplished it 
in the same automated and non-interactive way.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 05 Apr 2010 07:38:00 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 08:07:15 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.