lewashby 56 Junior Poster

solved

lewashby 56 Junior Poster

Thanks all.

lewashby 56 Junior Poster

Thanks Jason, I finished it.

lewashby 56 Junior Poster

Nevermind, I found it.

lewashby 56 Junior Poster

Thanks, it seems to me working now. What directory whoud I place my html & php files in for apache?

lewashby 56 Junior Poster

Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-common_5.3.10-1ubuntu3.2_amd64.deb 404 Not Found [IP: 91.189.92.190 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/libapache2-mod-php5_5.3.10-1ubuntu3.2_amd64.deb 404 Not Found [IP: 91.189.92.190 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5_5.3.10-1ubuntu3.2_all.deb 404 Not Found [IP: 91.189.92.190 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-cli_5.3.10-1ubuntu3.2_amd64.deb 404 Not Found [IP: 91.189.92.190 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

lewashby 56 Junior Poster

I'M trying to learn php and I use Mint Linux as my OS. I don't know if php is installed or not. I went to synaptic package manager and input php, I got back a big list of php-xyz packages and I dont' know which one to get. Any suggestions?

lewashby 56 Junior Poster

Thanks. I do have python3 installed. So how do I point Geany to python3 rather than python 2 which it is currently pointing to. I looked through preferences but couldn't find it.

lewashby 56 Junior Poster
data = open('sketch.txt')

for each_line in data:
    try:
        (role, line_spoken) = each_line.split(':', 1)
        print(role, end='')
        print(' said: ', end='')
        print(line_spoken, end='')
    except:
        pass

data.close()

I'M gettin the following error when I run this code but it looks exactly like what I'M seeing in my Head First book.

File "sketch.py", line 6
    print(role, end='')
                   ^
SyntaxError: invalid syntax


------------------
(program exited with code: 1)
Press return to continue
lewashby 56 Junior Poster

Thanks. I'M not actually doing this on the LFS machine. That project was tough enuff on it's own.

lewashby 56 Junior Poster

-rwxr-xr-x 3 root root 7149032 Aug 12 18:04 python3
-rwxr-xr-x 3 root root 7149032 Aug 12 18:04 python3.2

What's the difference between these two? I got the with ls -l /usr/local/bin

lewashby 56 Junior Poster
  File "/usr/local/lib/python3.2/distutils/archive_util.py", line 52, in make_tarball
    tar = tarfile.open(archive_name, 'w|%s' % tar_compression[compress])
  File "/usr/local/lib/python3.2/tarfile.py", line 1769, in open
    stream = _Stream(name, filemode, comptype, fileobj, bufsize)
  File "/usr/local/lib/python3.2/tarfile.py", line 421, in __init__
    raise CompressionError("zlib module is not available")
tarfile.CompressionError: zlib module is not available
garrett@toshiba-laptop ~/Desktop/nester $ 

I'M getting the above error while trying to build a small module with the command "python3 setup.py sdist

nester.py

"""This is the "nester.py" module and it provides one function called
print_lol() which prints lists that may or may not include nested lists."""

def print_lol(the_list):
    """This function takes a positional argument called "the_list", which is any
    Python list (of, possibly, nested lists). Each data itemin the provided list
    is (recursibely) printed to the screen on it's own line."""
    for each_item in the_list:
        if isinstance(each_item, list):
            print_lol(each_item)
        else:
            print(each_item)


movies = ["The Holy Grail", 1975, "Terry Jones & Terry Gilliam", 91,
["Graham Chapman",
["Michael Palin", "John Cleese", "Terry Gilliam", "Eric Idle", "Terry Jones"]]]

setup.py

from distutils.core import setup

setup(
    name        = 'nester',
    version     = '1.0.0',
    py_modules  = ['nester'],
    author      = 'hfpython',
    author_email    = 'hfpython@headfirstlabs.com',
    url     = 'http://www.headfirstlabs.com',
    description = 'A simple printer of nested lists',
)
lewashby 56 Junior Poster

I'M trying to find the python3 file that would be the counterpart to the python3.exe in Windows. I want to point Geany to pyton3 rather that 2.7 which it's pointing to now. I don't even know if I found the right directory or not but I've attached a screenshot from /usr/bin, there are 3 python3 files. It's going to take some getting use to in Linux, in Windows this was easy > Program Files > Python > python3.exe. Thanks for any help and advice on how this typically works in Linux

lewashby 56 Junior Poster
movies = ["The Holy Grail", 1975, "Terry Jones & Terry Gilliam", 91,
["Graham Chapman",
["Michael Palin", "John Cleese", "Terry Gilliam", "Eric Idle", "Terry Jones"]]]

print(movies[4][1][3])

In the above code, how does [4][1][3] result in "Eric Idle"? It looks to me like the 4 selects Eric Idle becaue it's the 4th sting in that list, it also looks to me like the 3 selects that list because Eric Idle is in the 3rd list and I have no diea what the 1 might be going. And maybe I'M wrong all together.

lewashby 56 Junior Poster

I've been using audible.com for my audio books for a while now. I play my audiobooks through iTunes and my iPod. I really want to get away from Windows as much as possible and audible.com doesn't have any Linux support for their audiobooks, Linux simply can not play audible's formats. Does anyone know of any good alternative audiobook stores? Thanks.

lewashby 56 Junior Poster

http://cdimage.debian.org/debian-cd/6.0.5/i386/bt-cd/

I'M trying to download a Debian live cd but the link above has a list of 52s CD. I just need a live CD to boot from, what's up with 52 CDs?

lewashby 56 Junior Poster

I'M trying to work my way through the linux from scratch project and I'M on page http://www.linuxfromscratch.org/lfs/view/stable/chapter08/grub.html I've really messed up my boot up process. I did make a boot disk as descriped in the above link.The computer originally had Debian (CLI only) has the host system from which I was building my Linux from scratch system. Now when I turn on the computer it has one OS in the list that's labeled "GRUB Linux...........", when I click enter the screen goes black and says "Press any key to continue", then goes back to the boot loader with "GRUB Linux...........". If I boot the system with the book disk it's just a prompt that says GRUB. Can anyone tell me how to repair my Debian bootloader from my current state? Thanks.

lewashby 56 Junior Poster

I'M getting the follwoing error when I run make for the handbrake program.

fribidi -lpthread -ldl -lm -Wl,--end-group
/bin/mkdir -p gtk
set -e; cd ../gtk/; NOCONFIGURE=1 ./autogen.sh

**Error**: You must have `intltool' installed.
You can get it from:
  ftp://ftp.gnome.org/pub/GNOME/

**Error**: You must have `glib' installed.
You can get it from: ftp://ftp.gtk.org/pub/gtk
make: *** [gtk/.stamp.configure] Error 1

This is what I get ohen I try to get glib

garrett@mint-desktop ~ $ sudo apt-get install glib
[sudo] password for garrett: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package glib
garrett@mint-desktop ~ $ 

Any ideas? Thanks.

lewashby 56 Junior Poster

It's a Linux from scratch distro, the host OS is just a CLI Debian. I re checked my script file in vi and I didn't see any new line characters or spaces at the end of any of the lines.

http://www.linuxfromscratch.org/

lewashby 56 Junior Poster

bash: bld: line 11: syntax error: unexpected end of file

I'M gettting the above when I source the attached script file. Can someone please let me know what I've got wrong here? Thanks The script file was build from the commands here > http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gmp.html

lewashby 56 Junior Poster

The page I gave is the one I got from clicking on a link from the page that you just gave.

lewashby 56 Junior Poster

I'M trying to downlaod CentOS, but I keep getting this http://www.gtlib.gatech.edu/pub/centos/ page. I don't know what I'M need to do here, how do I use this?

lewashby 56 Junior Poster

I check my synapitc package manager and it is showing that I already have bzip2. When I type in libz into the SPM noting is showing up?

lewashby 56 Junior Poster

I made some progress on the install. Here's an update on my error output:

libhb/render.o libhb/rotate.o libhb/scan.o libhb/stream.o libhb/sync.o libhb/update.o libhb/work.o
/usr/bin/ar: creating libhb/libhb.a
/bin/mkdir -p test
/usr/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -I./libhb/ -I./contrib/include -c ../test/parsecsv.c -o test/parsecsv.o
/usr/bin/gcc -pipe -fmessage-length=0 -Wall -g0 -O3 -I./libhb/ -I./contrib/include -c ../test/test.c -o test/test.o
../test/test.c: In function ‘HandleEvents’:
../test/test.c:2287:24: warning: variable ‘token’ set but not used [-Wunused-but-set-variable]
/usr/bin/g++ -pipe -Wl,-S -fmessage-length=0 -Wall -g0 -O3 -I./libhb/ -I./contrib/include -o HandBrakeCLI -Wl,--start-group test/parsecsv.o test/test.o ./libhb/libhb.a ./contrib/lib/liba52.a ./contrib/lib/libass.a ./contrib/lib/libavcodec.a ./contrib/lib/libavformat.a ./contrib/lib/libavutil.a ./contrib/lib/libdca.a ./contrib/lib/libdvdnav.a ./contrib/lib/libdvdread.a ./contrib/lib/libfaac.a ./contrib/lib/libfontconfig.a ./contrib/lib/libfreetype.a ./contrib/lib/libmkv.a ./contrib/lib/libmpeg2.a ./contrib/lib/libmp3lame.a ./contrib/lib/libmp4v2.a ./contrib/lib/libogg.a ./contrib/lib/libsamplerate.a ./contrib/lib/libswscale.a ./contrib/lib/libtheora.a ./contrib/lib/libvorbis.a ./contrib/lib/libvorbisenc.a ./contrib/lib/libx264.a ./contrib/lib/libxml2.a ./contrib/lib/libbluray.a -lbz2 -lz -lfribidi -lpthread -ldl -lm -Wl,--end-group
/usr/bin/ld: cannot find -lbz2
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [HandBrakeCLI] Error 1
garrett@mint-desktop ~/Downloads/HandBrake-0.9.8/build $ 

Any ideas?

lewashby 56 Junior Poster

I'M getting the following error while trying to make the program handbrake in in my Mint Linux.

Build is configured!
You may now cd into ./build and run make (/usr/bin/make).
garrett@mint-desktop ~/Downloads/HandBrake-0.9.8 $ cd build
garrett@mint-desktop ~/Downloads/HandBrake-0.9.8/build $ make
/bin/mkdir -p libhb
/usr/bin/m4 -Iproject ../libhb/project.h.m4 > libhb/project.h
/bin/cp ../libhb/common.h libhb/common.h
/bin/cp ../libhb/deccc608sub.h libhb/deccc608sub.h
/bin/cp ../libhb/downmix.h libhb/downmix.h
/bin/cp ../libhb/dvd.h libhb/dvd.h
/bin/cp ../libhb/eedi2.h libhb/eedi2.h
/bin/cp ../libhb/hbffmpeg.h libhb/hbffmpeg.h
/bin/cp ../libhb/hb.h libhb/hb.h
/bin/cp ../libhb/internal.h libhb/internal.h
/bin/cp ../libhb/lang.h libhb/lang.h
/bin/cp ../libhb/mcdeint.h libhb/mcdeint.h
/bin/cp ../libhb/ports.h libhb/ports.h
/bin/mkdir -p ../download
/usr/bin/wget -O ../download/a52dec-0.7.4.tar.gz http://download.handbrake.fr/handbrake/contrib/a52dec-0.7.4.tar.gz
--2012-08-17 17:47:34--  http://download.handbrake.fr/handbrake/contrib/a52dec-0.7.4.tar.gz
Resolving download.handbrake.fr (download.handbrake.fr)... 88.190.242.142
Connecting to download.handbrake.fr (download.handbrake.fr)|88.190.242.142|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 242978 (237K) [text/plain]
Saving to: `../download/a52dec-0.7.4.tar.gz'

100%[======================================>] 242,978      135K/s   in 1.8s    

2012-08-17 17:47:36 (135 KB/s) - `../download/a52dec-0.7.4.tar.gz' saved [242978/242978]

/bin/mkdir -p contrib/a52dec
/bin/rm -fr ./contrib/a52dec/a52dec/
/bin/tar xfC ../download/a52dec-0.7.4.tar.gz ./contrib/a52dec/
touch contrib/a52dec/.stamp.extract
/usr/bin/patch -t -N -p1 -d ./contrib/a52dec/a52dec/ < ../contrib/a52dec/A00-dpl2.patch
patching file include/a52.h
patching file liba52/a52_internal.h
patching file liba52/downmix.c
/usr/bin/patch -t -N -p1 -d ./contrib/a52dec/a52dec/ < ../contrib/a52dec/A01-thread-safe.patch
patching file liba52/a52_internal.h
patching file liba52/imdct.c
patching file liba52/parse.c
/usr/bin/patch -t -N -p1 -d ./contrib/a52dec/a52dec/ < ../contrib/a52dec/A02-imdct-shutup.patch
patching file liba52/imdct.c
Hunk #1 succeeded at 406 (offset -19 lines).
touch contrib/a52dec/.stamp.patch
set -e; cd ./contrib/a52dec/a52dec/; rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; CC=/usr/bin/gcc CFLAGS="" CXX=/usr/bin/g++ CXXFLAGS="" CPPFLAGS="" LDFLAGS="" PKG_CONFIG_PATH="/home/garrett/Downloads/HandBrake-0.9.8/build/contrib/lib/pkgconfig" ./configure --prefix=/home/garrett/Downloads/HandBrake-0.9.8/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static
/bin/sh: 1: autoreconf: not found
make: *** [contrib/a52dec/.stamp.configure] Error 127

Any ideas? Thanks.

lewashby 56 Junior Poster

The commands that this script runs are from the linux from scratch project. I just need to know how to write a script with the cat redirection, sed and unset using && to verify that each line executed correctly before continueing to the next line.

lewashby 56 Junior Poster

I've got a 58 minute mp3 file and I'd like to burn it to an audio CD with multible tracks. Right now it's just one big file. Any dieas?

lewashby 56 Junior Poster

I'M trying to write a shell script using && so that each line will only execute if the preceding line executed without any problems.

How would I do that with the following cat:?

cat > /etc/nsswitch.conf << "EOF"
# Begin /etc/nsswitch.conf
passwd: files
group: files
shadow: files
hosts: files dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
# End /etc/nsswitch.conf
EOF 


&


sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \
        scripts/test-installation.pl
unset DL
lewashby 56 Junior Poster

I like Mint Linux with the Cinnamon desktop environment.

lewashby 56 Junior Poster

http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html

Above is a list of commands from the LFS project. I'M building a script for this page I want to be sure I'M not fraking this up.

Please pay special attention to the following:

sed & unset - at the top

case & esac

and the threee cat & EOF commands, thanks.

Code is below

DL=$(readelf -l /bin/sh | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')                          &&
sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$DL -o|" \
        scripts/test-installation.pl                                                            &&
unset DL                                                                                        &&
sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl                   &&
sed -i 's|@BASH@|/bin/bash|' elf/ldd.bash.in                                                    &&
( patch -Np1 -i ../glibc-2.14.1-fixes-1.patch 2>&1 | tee patch-one.log && exit $PIPESTATUS )    &&
( patch -Np1 -i ../glibc-2.14.1-sort-1.patch  2>&1 | tee patch-two.log && exit $PIPESTATUS )    &&
( patch -Np1 -i ../glibc-2.14.1-gcc_fix-1.patch 2>&1 | tee patch-tree.log && exit $PIPESTATUS ) &&
sed -i '195,213 s/PRIVATE_FUTEX/FUTEX_CLOCK_REALTIME/' \
nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timed{rd,wr}lock.S                           &&
mkdir -v ../glibc-build                                                                         &&
cd ../glibc-build                                                                               &&
case `uname -m` in
  i?86) echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" > configparms ;;
esac                                                                                            &&
( ../glibc-2.14.1/configure --prefix=/usr \
    --disable-profile --enable-add-ons \
    --enable-kernel=2.6.25 --libexecdir=/usr/lib/glibc 2>&1 | tee configure-glibc.log && exit $PIPESTATUS ) &&
( make                                                 2>&1 | tee make-glibc.log      && exit$PIPESTATUS )  &&
cp -v ../glibc-2.14.1/iconvdata/gconv-modules iconvdata                                                     &&
make -k check 2>&1 | tee glibc-check-log                                                                    &&
grep Error glibc-check-log                                                                                  &&
touch /etc/ld.so.conf                                                                                       &&
( make install                                         2>&1 | tee make-install.log    && exit $PIPESTATUS ) &&
cp -v ../glibc-2.14.1/sunrpc/rpc/*.h /usr/include/rpc                                                       &&
cp -v ../glibc-2.14.1/sunrpc/rpcsvc/*.h /usr/include/rpcsvc                                                 &&
cp -v ../glibc-2.14.1/nis/rpcsvc/*.h /usr/include/rpcsvc                                                    &&
mkdir -pv /usr/lib/locale                         &&
localedef -i cs_CZ -f …
lewashby 56 Junior Poster

I need to be able to run the script in a new shell, without using dot space . command. How can I do that?

lewashby 56 Junior Poster

/root/bin/go-lfs

I need to add teh above to PATH. If I simply write "export PATH="$PATH:~/bin/go-lfs" will it cause a problem? I'M assuming that this would remove enerything already in PATH and that might cause problems for the duration of my shell. If so, how could I added it without overwritting what's already there? Thanks.

lewashby 56 Junior Poster

For a while now I've been wishing I could replace iTunes with something on Linux and reduce my need for Windows. It would be nice if Apple would just release iTunes for Linux but I'M pretty sure that's not going to happen. The thing is, nothing handles an iPod as good as iTunes. I can't even play my audio books(.aax) from audible.com on a Linux machine at all. Last time I had Banchee as my Linux media player and had it running my iPod, a lot of really bad things happened. For starters, it started re-naming all of my songs to 4 random capital letters, something like this, TAGK, or XAZU, and also deleting songs from my computer completely. I didn't notice it removing songs because it wasn't removing them from my iPod. So when I transferred my music back to my Windows iTunes, my iPod was wiped out and re-loaded without all the songs that Banchee had been removing behind my back. Those songs weren't anywhere, not in my music folder and not in the recycle bin. Anyway, wouldn't it be easier if media players attempting to work with an iPod would just remove everything from an iPod and load one with it's own music software? I would think that that would be a lot less buggy than the media player(s) trying to work with the Apple software already loaded onto the iPod. Any thoughts or suggestions?

lewashby 56 Junior Poster

Thanks.

lewashby 56 Junior Poster

I've attached my output error and my script is below, also the link the the directions.

http://www.linuxfromscratch.org/lfs/view/stable/chapter05/perl.html

Here's my script:

( patch -Np1 -i ../../../perl-5.14.2-libc-1.patch 2>&2 | tee patch-perl.log && exit $PIPESTATUS ) &&
sh Configure -des -Dprefix=/tools            &&
cp -v perl cpan/podlators/pod2man /tools/bin &&
mkdir -pv /tools/lib/perl5/5.14.2            &&
cp -Rv lib/* /tools/lib/perl5/5.14.2         &&
date > ../FLAG                               &&
echo GOOD
lewashby 56 Junior Poster

lfs@debianlfs:/mnt/lfs/sources/Chapter-5/5.10.GCC-4.6.2-_Pass_2/gcc-4.6.2$ . bld

bash: bld: line 44: syntax error near unexpected token `)'
bash: bld: line 44: ` --with-mpfr-lib=$(pwd)/mpfr/src/.libs 2>&1 | tee gcc-configure.log    && exit $PIPESTATUS ) &&'

I'M getting the above error when I run my script. I've attached the scripts and I would really appreciate it if someone can tell me what's wrong with it.

lewashby 56 Junior Poster

Thanks. Yes I did indeed put the RAM in myself. Don't know how proficient I am but I do know what a motherboard is, what it looks like, & where to find it.

lewashby 56 Junior Poster

I recently replaced my one stick of 2GB RAM for two 2GB RAM sticks for a total of 4GB RAM. I purchased the sticks from a local computer guy who runs a computer store here in town. He said that since they were the same amount and kind of stick that the would be fine. It also said something about inner lacing or something like that but gave me a positive verdict on that as well. Anyway, now my computer will abruptly restart and give me a blue screen with a lot of BS. One thing that will set it off almost immediately is if I try to rip a DVD. Below is the error that I am getting:

Problem signature:
  Problem Event Name:   BlueScreen
  OS Version:   6.1.7601.2.1.0.768.3
  Locale ID:    1033

Additional information about the problem:
  BCCode:   3b
  BCP1: 00000000C0000005
  BCP2: FFFFF8000300FDDF
  BCP3: FFFFF8800729B050
  BCP4: 0000000000000000
  OS Version:   6_1_7601
  Service Pack: 1_0
  Product:  768_1

Files that help describe the problem:
  C:\Windows\Minidump\080412-25100-01.dmp
  C:\Users\Garrett\AppData\Local\Temp\WER-43711-0.sysdata.xml

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
lewashby 56 Junior Poster

I'M working my way through the linux from scratch project and I'M currently stuck on the following page, what does it want me to do?

http://www.linuxfromscratch.org/lfs/view/stable/chapter05/adjusting.html

Does it just want me to run the commands in the grey box listed below while in the /lib directory?

SPECS=dirname $($LFS_TGT-gcc -print-libgcc-file-name)/specs
$LFS_TGT-gcc -dumpspecs | sed \
-e 's@/lib(64)\?/ld@/tools&@g' \
-e "/^*cpp:$/{n;s,$, -isystem /tools/include,}" > $SPECS
echo "New specs file is: $SPECS"
unset SPECS

lewashby 56 Junior Poster

I just go a new solid state 240 gig hd. There is currently a 500 gig dual boot W7/mintLinux HD in the computer now. I want to re-install W7 & ML on my new SSHD but leave the other for storage, it already has a lot of files on it id like to keep. When I put the new SSHD in, how to I get the computer to boot up in this new drive while just leaving the other as an extra? There arent currently enough wire to plug both up I'll have to buy some in the next day or so, so I just unplugged the old HD and plugged in the new SS and installed Mint. That's where I'M at right now.

lewashby 56 Junior Poster

http://www.linuxfromscratch.org/lfs/view/stable/chapter05/gcc-pass1.html

If anyone has done this project I'M having some trouble with the GCC part of the proccess. Above is the link to the page I'M having trouble with.
At the top of the page it's giving me three files to unzip and move, again this is at the top of the page before you actually compile gcc. How can I unzip and more files that haven't been built yet and this part of the process is before you build gcc?

lewashby 56 Junior Poster

Has anyone done the linux from scrath project (http://www.linuxfromscratch.org/)? If so, I created the directory /mnt/lfs/source just as the LFS book instructed me to do and now after turning the computer off and back on, the sources directory is gone. This is the second time this has happened. Any ideas?

lewashby 56 Junior Poster

lfs@debian:~$ scp output garrett@192.168.1.10:/home/garrett
ssh: connect to host 192.168.1.10 port 22: Connection refused
lost connection
lfs@debian:~$

Why is the above not working? I am wasily able to ssh from on computer to the other, why will scp not work here? output is just a simple text file.

lewashby 56 Junior Poster

lfs@debian:/mnt/lfs/sources$ tar xjvf binutils-2.22.tar.bz2
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
lfs@debian:/mnt/lfs/sources$

the file binutils-2.22.tar.bz2 is in this folder, why am I getting this?

lewashby 56 Junior Poster

I having trouble with the following two packages when trying to get them with wget.

Zlip
http://www.zlib.net/zlib-1.2.6.tar.bz2

error:root@debian:~# wget http://www.zlib.net/zlib-1.2.6.tar.bz2
--2012-07-29 16:00:30-- http://www.zlib.net/zlib-1.2.6.tar.bz2
Resolving www.zlib.net... 69.73.181.135
Connecting to www.zlib.net|69.73.181.135|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-07-29 16:00:31 ERROR 404: Not Found.

&

Man-pages (3.35)
http://man7.org/linux/download/man-pages/man-pages-3.35.tar.gz

error:root@debian:~# wget http://man7.org/linux/download/man-pages/man-pages-3.35.tar.gz
--2012-07-29 16:05:36-- http://man7.org/linux/download/man-pages/man-pages-3.35.tar.gz
Resolving man7.org... 46.128.129.10
Connecting to man7.org|46.128.129.10|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-07-29 16:05:36 ERROR 404: Not Found

I think I need these version if at all possible, this is a Linux project I have been assigned.

lewashby 56 Junior Poster

I'M building a Linux from Scratch system(www.linuxfromscratch.org) and I've run into a little confusion.

An easy way to download all of the packages and patches is by using wget-list as an input to wget. For example:
wget -i wget-list -P $LFS/sources
Additionally, starting with LFS-7.0, there is a separate file, md5sums, can be used to verify that all the correct packages
are available before proceeding. Place that file in $LFS/sources and run:
pushd $LFS/sources
md5sum -c md5sums
popd

Where do I find this md5susm package for my LFS system? I don't really understand what it's wanting me to do here.

lewashby 56 Junior Poster

I'M trying to install make on my CLI Debian installtion. I'M having a few problems. When I type apt-get install make from su it tells me to insert a CD and press ENTER. I just figured it would get it from the internet. After I place the CD I used to install Debing with I start getting a lot of errors that say something like:

0%[working] I/O error on dev sr0 logical block ########## sector ##########

What am I doing wrong here? Thanks

lewashby 56 Junior Poster

I got it. Thanks.

lewashby 56 Junior Poster

Thanks. One more thing. I just got everything downloaded and installed. The thing is I was only wanting the basic CLI Debian Linux installtion. But after I was done installing it was a graphical desktop environment edition. On the installation menu there were two options, Install & Graphical Install. I picked Install but got the DE anyway. Where and how can I get Debian CLI only? Thanks.

lewashby 56 Junior Poster

Guys I feel really stupid asking this but I can not downlaod debian. Everytime I try I get on of these (http://cdimage.debian.org/debian-cd/6.0.5/amd64/bt-dvd/) pages and I have no idea what to do with it.