NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
Installing from DVD on /mount/cdrom1I installed Sarge off 1 cd; for the rest, I have the two DVD set. And a DVD drive on cdrom1. I used the following command to update the sources.list file: apt-cdrom add -d /media/cdrom1/, which seemed to work like a charm. However, an apt-get install [program] command leads to a prompt asking me to insert the Binary-1 disc in '/cdrom/' I could do an ugly fix, but there must be a better solution. I can mount the DVD, and apt-cdrom seems to have no problem reading the DVDs; unfortunately there is no equivalent "-d" option for apt-get. I used apt-setup; it claimed to create symbolic links, but the result is the same: apt-get is fixated on /cdrom/. I looked for examples of changes to apt.conf or some other apt config file, but none of my ham-handed attempts worked. Thanks. pin |
apt.conf
Yes, this file does not exist by default. There is some documentation - try: 'info apt.conf' to start with - I can't remember if the docs are in a separate doc package, but I don't think they are. Also, when the 'apt' system was installed, somewhere in the /usr/share/doc directory an example apt.conf file would have been installed - it's a rather large file and lists a huge number of possible configurations as examples. That file is actually absolutely useless as an apt.conf file but it shows you how to use the numerous options available - you just have to imitate and modify the sections which you actually need.
apt.conf
Thanks for the tip, pinniped.
Do you figure that everything else I did was probably right?
pin
Solution
The following line in the Acquire section of the apt.conf file worked for me (verbatim):
"cdrom"::Mount "/media/cdrom1/";
Thanks again, pinniped