Quote:
Originally Posted by nleitao
What i mean with the use of packages out of the box, is about the way you try to install the packages... where are those packages?
for old machines, i recomend to use a recent distribution an then install the slink kernel.
This will put the engine of your machine fast since all programs were built to standart i386. With this procedure u won't have this problems installing programs newer than slink.
Assuming slink is good for you, I would try to install sarge/etch, maybe using a better machine ( I assume u are using a very old machine) install the base, and then "dpkg -i slink_kernel"
what you're trying to do, import xwind packages to a old distro, it may not worth the pain involved,
By the way .. I haven't tested the script I gave you.. this is just a flux control to make sure everything will install properly. any way i send you the full picture... so u can get the flux control part: this is because it must check the installation of each package before it starts installing the next one.
I take out the check part.. i don't know where to look anyway...
bash can be used to most stuff you need.. u'll find it in the start up scripts of any linux machine
Code:
#!/bin/bash
clear # to clear the screen so as to view the output
# this is a comment
# what's between "`" means the result of the command...
# ex: "echo `uname`" have the same effect of "echo Linux"
for package in `ls *.deb`
do
dpkg -i $package
if ["$?"="0"]; then
echo "Package installed sucessfully"
else
echo "errors occured"
fi
done
# exit 0 forces exit.. not cool. Is good to not need that
if u really need that, read the dpkg man page, i gues there are other ways to work around
OTHER METHOD:
Make your own repository. U'll need reprepro (not available for slink)
here's a good tutorial
http://alioth.debian.org/plugins/scm...sroot=mirrorer
but consider to use a newer distro will save u a lot of work
whats that "abs howto"?
Nuno Leitão
|
The packages I have put on a logical ext2 partition on my hard drive
where I keep my backup. The machine I guess by computer standards is
fairly old its a intel 500 mhz but I have found that the base system
command line will run on anything from a 486 66 mhz to a Intel
celeron 1.2 ghz I have run it on all these machines and it runs
quite well for me.
I do it this way because dselect will not install anything from the
hard drive its broken. The main installation program does not do it
either and I don't have the source code to be able to modify it
I think its resc1440.bin and even if I use apt from the command line
i still need to feed it a list of packages with a script
as far as getting a newer distro I can only afford dial up service
so it takes way too long to down load and then when i am able to
the iso has errors and will not work.
The only thing that I use the gui for is to run
the netscape browser for the internet. Seeing as its hard to get
vidio drivers to work on some computers i just go with the text base
command line and keep my old windows 95 with the win modem for the
internet
I would give you the list of packages but I am not sure the methods
are the same under woody and i doubt you really want to mess with
something like this anyway. Basically I manually work out the dependencies
and put them all in one directory with the script. It is about 20 files
that take up about 9 mb of space and it works. Would be nice to be able
to get an updated gui to work like this, and it works on my celeron 1.2ghz
with the ati mach64 graphics card
Oh! and the abs-howto is the advanced bash howto i think there is a link in
another thread at the bottom of this page. After reading it i did not
come away any further ahead its probably just my ignorance! but a real world
workable script example something like this one here I think would go a long
way to helping more people understand it my opinion of course