Multiarch nfsroot for multiarch install?
René Bleisch
accounts at climate.unibe.ch
Thu Feb 20 19:41:53 CET 2014
Hi,
I use multi-arch support since quite some time and never got error or
warning messages.
Thats my script:
----
echo "Enable multiarch support"
$ROOTCMD dpkg --add-architecture i386
$ROOTCMD apt-get update
$ROOTCMD apt-get install -y --force-yes ia32-libs
echo "Install Adobe Acrobat Reader and skype (32bit)" # libcanberra
and gtk2-engines are for acroread)
$ROOTCMD apt-get install -y --force-yes acroread acroread-plugins
skype libcanberra-gtk-module:i386 gtk2-engines:i386
----
Note: As both Skype and acroread are not available though apt on wheezy
(at least I didnt find them there),
I have downloaded both packages and placed them in a local package repo
Regards
René
On 02/20/2014 07:18 PM, Toomas Tamm wrote:
> Hello!
>
> I was struggling with getting multiarch install to work as described
> in http://wiki.fai-project.org/wiki/Tips_and_tricks, section "Debian
> wheezy and MuliArch" [*] . Everything seemed to be done correctly, but
> FAI kept printing the message
>
> WARNING: These unknown packages are removed from the installation list: acroread:i386
>
> I could even ssh into the system being installed and successfully
> complete "apt-get install acroread", which made it even more puzzling.
>
> After some careful reading of the sources, I came to the conclusion
> that the "dpkg --add-architecture i386" needs to be executed *both* in
> the nfsroot (without the $ROOTCMD prefix) as well as inside the chroot
> (that is, prefixed with $ROOTCMD). This is because the installable
> package list is checked by the /usr/sbin/install_packages script,
> apparently against the apt database from the nfsroot, not against the
> one in the install target. Later on, the actual install uses the apt
> database from the install target itself.
>
> I am not sure if this is a bug or a feature, but I would ask that the
> Wiki page be updated accordingly:
>
> #!/bin/bash
> echo Adding i386 multi-arch
> dpkg --add-architecture i386
> $ROOTCMD dpkg --add-architecture i386
>
> (Alternatively, I guess that one can chroot into the nfsroot directory
> on the FAI server and execute the "dpkg --add-architecture i386"
> therein once and for all. I did not test this, however.)
>
> All this was done with stock FAI 4.0.6 from wheezy.
>
> [*] Note: please also fix the typo in "MuliArch"!
>
> Toomas Tamm
-------------- n?chster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20140220/bb0e3164/attachment.html>
More information about the linux-fai
mailing list