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 Thanks |
More detail regarding above post
root@Fileserver:~# apt-cdrom add Using CD-ROM mount point /cdrom/ Unmounting CD-ROM Waiting for disc... Please insert a Disc in the drive and press enter Mounting CD-ROM... Identifying.. [38446286ebb3f68d6a836a61ffbe6c0a-2] 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â: cd1 Name: 'cd1' This disc is called: 'cd1' 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: http://odzangba.wordpress.com/2006/1...-repositories/ Another approach is to set up one machine you own as an apt repository - and (temporarily) point your new builds at this one. http://www.packtpub.com/article/crea...ror-apt-cacher ... 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. https://help.ubuntu.com/community/In...DCustomization Note: the disk name is not a problem, this is - Quote:
https://answers.launchpad.net/ubuntu...question/89863 http://ubuntuforums.org/showthread.php?t=53779 ... though I suspect it is just that your CD does not have the stuff of a repo. |
Quote:
|
All times are GMT -5. The time now is 12:32 AM. |