| brianw  
 
 
 
 
 Group: Members
 Posts: 245
 Joined: Sep. 2005
 | 
|  | Posted: Aug. 17 2006,02:39 |  |  I am not sure about the apt-cdrom method but what I do is just mount the filesystem over top of the /var/cache/apt/archives directory and as long as all the dependencies are present there is no problem.  For example, I burn all my .deb files to CD.  When I need to reinstall DSL or something I get apt set up (enable apt/synaptic) then I do:
 
 sudo mount /dev/scd0 /cdrom
 sudo mount --bind /cdrom /var/cache/apt/archives
 
 when I run dpkg or apt or synaptic the system just assumes that I have already downloaded the files because they are there.  You don't need to use a cdrom though the packages can simply be copied into the /var/cache/apt/archives directory if you wish instead of doing the mount, I just find that if I have them already on cdrom I use them from there.  Copying them to a single directory would be better though if they are in various places (i.e. in subdirectories or seperate cdroms etc...).
 |