Find the answer to your Linux question:
Results 1 to 5 of 5
Hello, I was wondering if apt can be configured so it defaults to installing from a internet site if the CD is not available. I configured it to look at ...
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    65

    apt configuration

    Hello,
    I was wondering if apt can be configured so it defaults to installing from a internet site if the CD is not available. I configured it to look at both but I can only get it to use the CD, unless I remove the CD entries and leave the Internet entries.
    Thanks,
    Art

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,621
    I don't use apt (anymore) but have you tried putting the internet sources before the CD in /etc/apt/sources.list?

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    can you post your /etc/apt/sources.list ?
    Brilliant Mediocrity - Making Failure Look Good

  4. #4
    Just Joined!
    Join Date
    Mar 2005
    Posts
    65
    Still asks for CDs when network sources at the top...

    #deb file:///cdrom/ sarge main

    deb http://security.debian.org/ stable/updates main

    deb http://ftp.egr.msu.edu/debian/ stable main
    deb-src http://ftp.egr.msu.edu/debian/ stable main

    deb ftp://ftp.egr.msu.edu/debian/ stable main
    deb-src ftp://ftp.egr.msu.edu/debian/ stable main


    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-14 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-13 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-12 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-10 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-11 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-9 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-8 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-7 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-6 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-5 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-4 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-3 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-2 (20050605)]/ unstable contrib main
    deb cdrom:[Debian GNU/Linux 3.1 r0 _Sarge_ - Official i386 Binary-1 (20050605)]/ unstable contrib main

  5. #5
    Just Joined!
    Join Date
    Apr 2005
    Posts
    80
    put a # (comment out) infront of your cdrom sources.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •