alright, this is the script im working with to install a base linux system

this is only one part of the entire script, but this is where my problems are comming from.

the links themselves to get the packages down in the wget section are out of date i know that, most of the repositiories are not supporting those packages anymore

however when i insert new links that are valid and the files are done downloading it begins to run the md5 sums on all of the packages thats where i run into trouble

the checks retrun with something like "78 out of the 82 packages could not be open or READ"

if the packages are valid and have downloaded why can they not be read? if i change the links in the wget section is it neccesary that i change the md5 checks after that as well? ill give you the script so you have an idea of what im looking at.

mind you the scripts original language is italian so i used google translate to put them into english so if theres something grammaticaly incorrect in there i apologize.

any help would be greatly appreciated

Dominic
------------------------------------------------------------------------------------------------------
# / Bin / bash

source / tmp / lfs / lfs-utils
source / tmp / lfs / lfs-var
source / tmp/lfs/lfs61
source / tmp / lfs / Language

# Language
# Set_language

# Added for safety
export LFS = / mnt / lfs

# For new versions of GCC too
# Export CC = "gcc -B/usr/bin"

################################################## #######
# Check the version of bash
################################################## #######
= $ (# Bashver BASH_VERSION: 0:4)
# If [[$ bashver = "3.00"]]
# Then
# Gccsed = "yes"
# Else
# Gccsed = "no"
# Fi



################################################## #######
# Check for source of LFS
################################################## #######
echo-e $ (echo $ COLOR_PURPLE) SDT1 $ $ (echo $ REPLACE)
resp = "f"
while [[$ resp = "f"]] do
echo $ (echo $ COLOR_PURPLE) "[Yes, no]" $ (echo $ REPLACE)
resp = $ (read_risp)
done

if [[$ resp = "y"]]
then
echo $ (echo $ COLOR_PURPLE) SDTP $ $ (echo $ REPLACE)
read dir
while [[! -D $ dir]] do
echo $ (echo $ COLOR_RED) SDTF $ $ dir $ (echo $ REPLACE)
echo $ (echo $ COLOR_PURPLE) SDTP $ $ (echo $ REPLACE)
read dir
done

echo $ (echo $ COLOR_GREEN_LIGHT) SDTS $ $ dir $ (echo $ REPLACE)
##################################
# Copied all FILES
##################################


echo $ (echo $ COLOR_GREEN_LIGHT) SCTP $ $ (echo $ REPLACE)
cp-R $ dir / * $ LFS / sources

else

################################################## #######
# Start of download packages dir in $ LFS / sources
################################################## #######
cd $ LFS / sources


echo $ (echo $ COLOR_GREEN_LIGHT) $ SDTW mirror $ $ (echo $ REPLACE)

echo $ COLOR_CYAN
wget-r - retr-symlinks-nH-nd ftp://ftp.planetmirror.com/pub/lfs/packages/6.0/
wget ftp://ftp.gnu.org/gnu/wget/wget-1.9.1.tar.gz
wget http://www.openssl.org/source/openssl-0.9.7e.tar.gz

rm MD5SUMS
$ (Echo $ REPLACE)

echo $ (echo $ COLOR_GREEN_LIGHT) "##################################"
echo $ SDTC
"###########################"$( echo echo $ REPLACE)
fi


##################################
# MD5 CONTROL
##################################
# If [$ md5_sum = "true"]
# Then
# Echo $ (echo $ COLOR_GREEN_LIGHT) SDCTK $ $ (echo $ REPLACE)
#
# # If md5sum - status - check / tmp/lfs/lfs-60-checksum.md5
# # Then
# # Echo $ SDCTKK
# Else
# Echo $ SDCTKP
# Md5sum - check / tmp/lfs/lfs-60-checksum.md5
# Exit $ E_MD5SUM
# Fi
# Fi


echo $ (echo $ COLOR_GREEN_LIGHT )"########################################## ####"
$ $ Myecho SDCTSC
echo "############################################# #"$ Office (ECHO $ REPLACE)



binutils1_host & & \
Clear & & \
gcc31_host & & \
Clear & & \
linux_libc_headers_host & & \
Clear & & \
glibc_host & & \
Clear & & \
toolchain_host & & \
Clear & & \
tcl_host & & \
Clear & & \
expect_host & & \
Clear & & \
dejagnu_host & & \
Clear & & \
RESET # CC
gcc32_host & & \
Clear & & \
binutils2_host & & \
Clear & & \
gawk_host & & \
Clear & & \
coreutils_host & & \
Clear & & \
bzip2_host & & \
Clear & & \
gzip_host & & \
Clear & & \
diffutils_host & & \
Clear & & \
findutils_host & & \
Clear & & \
make_host & & \
Clear & & \
grep_host & & \
Clear & & \
sed_host & & \
Clear & & \
gettext_host & & \
Clear & & \
ncurses_host & & \
Clear & & \
patch_host & & \
Clear & & \
tar_host & & \
Clear & & \
texinfo_host & & \
Clear & & \
bash_host & & \
Clear & & \
m4_host & & \
Clear & & \
bison_host & & \
Clear & & \
flex_host & & \
Clear & & \
utillinux_host & & \
Clear & & \
perl_host & & \
Clear & & \
Udev_host # & & \
Clear & & \

if [[$ execute_stripping = "true"]]
then
Clear & & \
echo $ (echo $ COLOR_GREEN_LIGHT )"###########" & & \
echo "Stripping #" & & \
echo echo $ "###########"$( COLOR_CYAN) & & \
# (Optional)
# If the partition LFS and 'too small' helpful to remove
# Debugging symbols from compiled packages.
#
strip - strip-debug / tools / lib / *
strip - strip-unneeded / tools / (, s) bin / *
#
# And if that was not enough and 'can remove the document
#
rm-rf / tools / (doc, info, man)
fi

Clear & & \
echo-and $ (echo $ COLOR_GREEN_LIGHT) STTF $ $ (echo $ REPLACE)
exit