deb https://www.campware.org/ubuntu dapper mainto
/etc/apt/sources.list
.
Type
sudo apt-get cleanto clean the package cache, and install Campcaster normally. Install any other deb packages you want to be on the repository CD. Now copy the packages into your home directory:
cd mkdir repository cd repository mkdir pool cp -v /var/cache/apt/archives/*.deb pool/
cd ~/repository apt-ftparchive packages pool | gzip -9c > Packages.gzthis will create a
Packages.gz
file containing the list of
packages.
cd ~/repository mkisofs -J -r -pad -v -V "Campcaster repository CD" -o ../Campcaster-repository.iso .Note the space and dot at the end of the command. The volume label (
-V
) can be up to 32 characters long.
It’s OK to add more files to the CD; apt-cdrom
(or, equivalently,
Synaptic’s “Add CD-ROM” button) is smart enough to find the repository among
all the other stuff.
cdrecord -scanbus cdrecord -v dev=ATA:1,0,0 ~/Campcaster-repository.iso(change
1,0,0
to whatever scanbus told you, of course). Then try adding
the CD as a repository with
apt-cdrom add
You can also use Nautilus and Synaptic instead of mkisofs, cdrecord and apt-cdrom.
TODO: it’s probably possible to mount and check the iso without burning it
to a CD first.