Results 1 to 4 of 4

Thread: plz help (auto?) reconfigure repositories on Debian via cli

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Location
    Belgum - Antwerp
    Beans
    176
    Distro
    Xubuntu

    plz help (auto?) reconfigure repositories on Debian via cli

    Hi there,
    Just installed a Debian 6 VM. Now the local repos i have chosen during install do not work or something like that.
    I get temporary faliure resolving repo.
    How do i reconfigure this? Cuz i want to install vim to setup static ip address.
    Ive googled abit already, and im googling some more now. Ill let it know if i have some progress.
    Thanks in advance,
    Nikolai
    The truth will set you free!

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: plz help (auto?) reconfigure repositories on Debian via cli

    You can use vi to edit your /etc/apt/sources.list file. Vi is already installed by default in a Debian installation.

    If you need to find out what changes to make you can use the Debian sources.list generator here...
    http://debgen.simplylinux.ch/
    Cheesemill

  3. #3
    Join Date
    Mar 2010
    Location
    India
    Beans
    6,619
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: plz help (auto?) reconfigure repositories on Debian via cli

    Thread moved to Other OS/Distro Talk.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  4. #4
    Join Date
    Feb 2011
    Location
    Japan
    Beans
    260

    Re: plz help (auto?) reconfigure repositories on Debian via cli

    Have you got root privilege?
    Execute
    Code:
    su -
    and then, type root password.

    Can your installed debian access to internet?
    Code:
    apt-get update
    What is the current /etc/apt/sources.list?
    Code:
    cat /etc/apt/sources.list
    Maybe nano is easier than vi. I hope nano is installed on your debian.
    Code:
    nano /etc/apt/sources.list
    Ctrl+k to cut (and copy) a line. Ctrl+u to paste it. Ctrl+o to save. Ctrl+x to quit nano.
    Last edited by kiyop; March 5th, 2013 at 10:49 PM.
    OpenBox: Debian Wheezy, Sid, Snowlinux, Aptosid, Siduction, Crunchbang, Ubuntu, Mint, ZorinOS, OS4, Arch, Manjaro, Mageia, Fedora, CentOS, OpenSuSE, PCLinuxOS, Sabayon, Slackware, Win XP/7
    http://kiyoandkei.bbs.fc2.com/

Tags for this Thread

Bookmarks

Posting Permissions

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