packages cd creation
ashley maher
ashley.maher at didymodesigns.com.au
Wed Jul 27 23:44:59 UTC 2005
G'day,
I'm part of a team organising an Ubuntu Install est for a local
University.
I'm attempting to create a second install cd for this week-ends install
fest. The students will not have net access during the install fest.
If anybody can see a fault in my method please let me know.
What I've been doing:
I have a list of packages from the Uni that are used in the lab
machines. I created a basic ubuntu install. Got the list of packages
installed in the basic install. Created a diff of those in the basic
install, and the uni install.
apt-get install -y -d `cat diff_pkg_list`
So I then had the downloaded packages, and hopefully all dependent
packages, required to bring the basic install up to the same as a uni
lab machine.
mkdir extras_cd
mkdir extras_cd/pool
cp the downloaded packages to pool
mkdir extras_cd/dists/hoary/universe/binary-i386/
then used this script (thanks to Matt Palmer) to create some need files:
#!/bin/sh
PDIR="dists/hoary/universe/binary-i386"
dpkg-scanpackages . /dev/null > $PDIR/Packages
gzip -c $PDIR/Packages > \
$PDIR/Packages.gz
rm md5sum.txt
md5sum $(find pool dists -type f ) > md5sum.txt
mkisofs -r -J -l \
-publisher "South Coast Linux Users' Group" \
-V "Ubuntu Extras" \
-o ../extras.iso .
Burned the iso, added it to repositories of the basic installed ubuntu,
then tried to install all and got so many dependencey errors it looked
like a christmas tree.
If somebody can find what I'm doing wrong, much appreciated. Any ideas
greatfully received, Saturday is approaching kinda like an express!
Regards,
Ashley
More information about the ubuntu-users
mailing list