Installing packages from non-installation CD?
I want to install packages such as samba, openssh etc. from a CD rather than download it from the net each time I build a new machine.
I am able to install them from the installation CD after using the “apt-cdrom add” command but what I want to do is burn my own CD with only the packages I require and install from that.
I have put them on a CD, entered “apt-cdrom add” but get errors about the name of the disk, and a read error when copying package lists.
Can you help me out or direct me to any how-to’s?? I have done my googleing but was unable to find anything
More detail regarding above post
root@Fileserver:~# apt-cdrom add
Using CD-ROM mount point /cdrom/
Waiting for disc...
Please insert a Disc in the drive and press enter
Scanning disc for index files..
Found 1 package indexes, 0 source indexes, 0 translation indexes and 0 signature s
Please provide a name for this Disc, such as âDebian 2.1r1 Disk 1â:
This disc is called:
Copying package lists...E: Read error - read (21 Is a directory)
sudo apt-cdrom add -a -d /media/mount-point
though you may need to make sure the CD can act as a repository:
Another approach is to set up one machine you own as an apt repository - and (temporarily) point your new builds at this one.
... apt-cacher only builds a mirror of the packages you install.
If you do a lot of the same sort of installs, you can create a custom install disk with all the files you need on it already.
Note: the disk name is not a problem, this is -
... though I suspect it is just that your CD does not have the stuff of a repo.
|All times are GMT -5. The time now is 05:29 PM.|