How create source DVD-ROM with my APT Cache

ben darby ben at cvrse.com
Tue Jul 18 12:36:13 UTC 2006


* Jos? Paulo Matafome Oleiro (matafomeoleiro at gmail.com) wrote:
> Yes I've refreshed the database of synaptics, but the packages doesn't
> appear. Anyone can help me. Since this will be the only way that I can
> help school in the place where I'm living. I wan't to install edubuntu
> at a kid schools, where my mother works. but they don't have any type of
> access to the Internet. Some packages like the language package are
> incomplete in the installation but in the repos they are complete for
> the portuguese language, and if I can do this I can try getting more
> friends of mine to GNU/Linux specially to Ubuntu distribution, and this
> is a good way of sharing knowledge to others who deserve it. Showing the
> way how they can do all tasks they do in Windows, with less difference.
> Thanks for your help.
> 

did apt-get update show any errors? i havent used apt-move for a while
and trying to get it to work now its just not happening so i have
another much simpler method for u.
copy your /var/cache/apt/archives to your working space, say
~/cache/binary, use dpkg-scanpackages to create a Packages.gz, create
iso, burn it and add it to your sources.list

mkdir -p ~/cache/binary
cp /var/cache/apt/archives/* ~/cache/binary
cd ~/cache
dpkg-scanpackages binary/ /dev/null | gzip -9c > Packages.gz
mkisofs -r -A "apt-cache" -o ~/cache.iso ~/cache/
-burn cache.iso using nautilus, k3b, etc.
sudo apt-cdrom add
sudo apt-get update

and everything on the cd should be available via apt-get install or
synaptic. 


-- 
ben darby <ben at cvrse.com>




More information about the ubuntu-users mailing list