<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I may have created an unsolvable problem perhaps requiring me to
start over? It seems to be a case of up-to-date software...<br>
<br>
Please consider the following excerpt from /tmp/fai/fai.log that was
reporting on task_updatebase on the target host after an install
procedure:<br>
=========================================<br>
Get: 63 <a class="moz-txt-link-freetext" href="http://lug.mtu.edu/ubuntu/">http://lug.mtu.edu/ubuntu/</a> precise-updates/main libdpkg-perl
all 1.16.1.2ubuntu7.5 [182 kB]<br>
Get: 64 <a class="moz-txt-link-freetext" href="http://lug.mtu.edu/ubuntu/">http://lug.mtu.edu/ubuntu/</a> precise-updates/main
build-essential i386 11.5ubuntu2.1 [5796 B]<br>
Fetched 42.4 MB in 39s (1077 kB/s)<br>
debconf: delaying package configuration, since apt-utils is not
installed<br>
(Reading database ... 13988 files and directories currently
installed.)<br>
Preparing to replace base-files 6.5ubuntu6 (using
.../base-files_6.5ubuntu6.8_i386.deb) ...<br>
Unpacking replacement base-files ...<br>
Setting up base-files (6.5ubuntu6.8) ...<br>
Installing new version of config file /etc/issue ...<br>
Installing new version of config file /etc/issue.net ...<br>
Installing new version of config file /etc/lsb-release ...<br>
(Reading database ... 13989 files and directories currently
installed.)<br>
Preparing to replace bash 4.2-2ubuntu2 (using
.../bash_4.2-2ubuntu2.6_i386.deb) ...<br>
/bin/bash: BASH_FUNC_task_softupdate(): line 0: syntax error near
unexpected token `)'<br>
/bin/bash: BASH_FUNC_task_softupdate(): line 0:
`BASH_FUNC_task_softupdate() () { echo Performing FAI system
update. All data may be overwritten!;'<br>
/bin/bash: error importing function definition for
`BASH_FUNC_task_softupdate'<br>
/bin/bash: BASH_FUNC_ifclass(): line 0: syntax error near unexpected
token `)'<br>
/bin/bash: BASH_FUNC_ifclass(): line 0: `BASH_FUNC_ifclass() () {
if [ $# -eq 1 ]; then'<br>
==========================================<br>
<br>
I see two issues in the above:<br>
<br>
1) apt gives the message: <br>
<br>
Preparing to replace base-files 6.5ubuntu6 (using
.../base-files_6.5ubuntu6.8_i386.deb) ...<br>
<br>
and IMHO the suffix "_i386.deb" in the target version is a bug.
Actually a correct target version has loaded and the problem may be
only a faulty message. I have not found "386.deb" in FAI config
space and therefore I do not know where it comes from.<br>
<br>
2) I focus on the BASH_FUNC error. I find mail list conversation in
October 2014 and bug #764313 that seem related. On Oct 20 the bug
was closed when considering the Debian wheezy environment and my
results do seem OK while installing wheezy on the target host.
However I have created a Ubuntu base.tgz to provide an optional OS
for the target host and now I find the task_updatebase to be giving
the above results. All of this is done on 32bit hosts.<br>
<br>
The BASH_FUNC is reported to be an issue with versions of software.
I have done the following:<br>
My FAI server is on a workstation with Ubuntu 12.04.5 LTS. The FAI
package is loaded from wheezy repo and is version 4.3.1+wheezy1. A
base.tgz is created on the same host as the FAI server. The target
host repositories are only the Ubuntu 12.04.5 versions (for use by
the chroot apt-get on the target host). The bash versions are seen
accurately in the fai.log above. So the questions(?) become: <br>
<ul>
<li>Are the changes in bash for wheezy now brought forward into
bash for Ubuntu?</li>
<li>Is is safe to install a bash for wheezy on the target host
while the rest of the OS is ubuntu?</li>
<li>What other options might work?</li>
</ul>
Some time ago I installed the Ubuntu version of FAI and found that I
liked the wheezy version much better. So I do have an interest in
staying with the wheezy version of FAI. However I am nervous about
mixing sources and I don't have another host with wheezy that will
take FAI.<br>
<br>
Many thanks for insight.<br>
George<br>
</body>
</html>