Xtra packages on Custom CD

Matt Price matt.price at utoronto.ca
Fri Oct 14 13:00:07 UTC 2005


On Fri, Oct 14, 2005 at 05:44:45PM +0700, LinuxMurah.com wrote:
> hope this useful for you:
> 
> http://ubuntuguide.org/#backuprestoredownloadedrepositoriescache
> 
> 
> 
> On 10/14/05, Douglas Alves <alves5 at cantv.net> wrote:
> > Hi Commoners (members of the community),
> >
> > I have several PCs off-line which I wish to update with language locales
> > & some extra software from the repos. My main PC, which has internet,
> > has just spent 8 hours upgrading 1400+ packages to Breezy, and I want to
> > put those new packages on CD(s) to upgrade my disconnected PCs.
> >
> > Where are the downloaded packages stored?
> >
> > Would it just be a question of making an .iso of these packages and burn
> > it on a CD?

downloaded packages should be in /var/cache/apt/archives/
if you copy those packages on a cd, then copy them from the cd to
/var/cache/apt/archives, apt may or may not be able to see them, I
don't know.  In a pinch though you should be able to 

dpkg -i /cdrom/*.deb 


If what you want to do is make a new "install" cd, and not just
upgrade but do a new install, I'm working on the same thing and it's
not quite so simple, unfortunately.  see my earlier post entitled
"gpg, cd-remastering, & ubuntu-keyring" as well as other threads
posted on debian-user and debian-boot. There is also a wiki page with
incomplete instructions at

http://www.wlug.org.nz/UbuntuRemastering

Here are the steps you need to undertake:

0. make a copy of an install CD somewhere

1. write a preseed file.  THere are examples in various places,
including
http://archive.ubuntu.com/ubuntu/dists/breezy/main/installer-i386/current/doc/manual/en/ch04s06.html
(actually the example is in appendix C, but I don't have the URL on me
at the moment) The preseed file gives various instructions to the
installer, and can be very useful (I'm using it to automate the
install process, so no manual intervention is required).  But what
matters most here is that you needto change the command 

base-config base-config/package-selection   
to something like 

base-config  base-config/package-selection      string ~tkubuntu-standard|~tkubuntu-desktop|language-pack-gnome-bn|language-support-bn|language-pack-bn|language-support-bn|language-support-ta|language-pack-ta|language-pack-gnome-ta


2. copy all your .debs onto the cd in the appropriate place; also
generate a new version of ubuntu-keyring with your public key included
therein.

3. generate Packages and Release files using aptftparchive (not hard)

4. sign the Release file (so, generate Release.gpg).  

5. burn the cd thusly 
 mkisofs -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -hide-rr-moved -o mytitle.iso -R /path/to/extracted_cd/ && cdrecord dev_ATA:1,0,0 mytitle.iso

Unfortunately I can't get my signature recognized, so I can't make
this process work.  Hopefully the simpler instructions will work or
what you want!  Maybe someone else has a better idea...  

matt

> >
> >
> >
> >
> 
> 

-------------------------------------------
Matt Price	    matt.price at utoronto.ca
History Department, University of Toronto
(416) 978-2094
--------------------------------------------

The following addresses are for you if you're an evil spambot:
zeus at derailleur.org aardvark at derailleur.org




More information about the ubuntu-users mailing list