apt-get без cdrom

Discussion in 'Безопасность и Анонимность' started by -Time-, 17 Jul 2009.

  1. -Time-

    -Time- Elder - Старейшина

    Joined:
    4 Mar 2007
    Messages:
    10
    Likes Received:
    23
    Reputations:
    13
    Столкнулся с проблемой, при использовании apt-get пишет:
    "Media change: please insert the disc labeled
    'Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 DVD Binary-1 20090413-03:25'
    in the drive '/cdrom/' and press enter "
    С какого хрена диск требует?
     
  2. razb

    razb Active Member

    Joined:
    24 Mar 2009
    Messages:
    658
    Likes Received:
    133
    Reputations:
    18
    Смотри в /etc/apt/sources.list список репозитариев
     
  3. -Time-

    -Time- Elder - Старейшина

    Joined:
    4 Mar 2007
    Messages:
    10
    Likes Received:
    23
    Reputations:
    13
    GNU nano 2.0.7 File: /etc/apt/sources.list

    #
    # deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 DVD Binary-1 20090413-03:25]/ lenny contrib main

    deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 DVD Binary-1 20090413-03:25]/ lenny contrib main

    deb http://security.debian.org/ lenny/updates main contrib
    deb-src http://security.debian.org/ lenny/updates main contrib

    deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib
    deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib
     
  4. neval

    neval Elder - Старейшина

    Joined:
    13 Dec 2006
    Messages:
    457
    Likes Received:
    116
    Reputations:
    23
    закоментируй
    deb cdrom:[Debian GNU/Linux 5.0.1 _Lenny_ - Official amd64 DVD Binary-1 20090413-03:25]/ lenny contrib main
     
    2 people like this.