Results 1 to 4 of 4

Thread: apt-get

  1. #1
    Join Date
    Jul 2009
    Posts
    71

    apt-get

    I just bought a new dedicated server, and when I try to apt-get something (anything like, bzip2, build-essential) I get this error:

    Media change: please insert the disc labeled
    'Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29'
    in the drive '/cdrom/' and press enter
    I mean it's pretty self-explanatory, but seeing as how I can't put the CD in, because the box is not here, I have no clue what I'm supposed to do.

    I've had a couple VPS's before, and never encountered this problem. Any help would be appreciated.

    I'm running Debian 5.0 stable.
    Last edited by Teardrop; 08-03-2009 at 06:13 PM.

  2. #2
    Join Date
    Mar 2006
    Posts
    134
    Have a look at /etc/apt/sources.list it probably still has the cd listed as a source.

  3. #3
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    You have to comment out the cdrom reference in /etc/apt/sources.list

    And then it works.
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  4. #4

    apt-get fix

    Hash out the cdrom location line in /etc/apt/sources.list and put in a line like this,

    deb http://mirrors.kernel.org/debian/ lenny main

    to fetch/update packages that you may require.
    --
    73s Ragu/VU2RGU
    A LowLie SysAd

Posting Permissions

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