Find the answer to your Linux question:
Results 1 to 7 of 7
After su, what is the procedure for adding a line to the sources.list file?? can't seem to find this and it is normally read only, Thanx all...
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    13

    Adding an entry to apt-get-sources.list

    After su,

    what is the procedure for adding a line to the sources.list file?? can't seem to find this and it is normally read only,
    Thanx all

  2. #2
    Just Joined!
    Join Date
    Oct 2008
    Posts
    1
    nano /etc/apt/sources.list

    then add one source per line.

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    The read only part comes from you accessing it as a normal user. You need to edit it as root.
    Code:
    su -
    ##enter root password when prompted
    nano /etc/apt/sources.list

  4. #4
    Just Joined!
    Join Date
    Nov 2008
    Posts
    13
    Thanx Cipher, Rodney - I guess nano is an editor?? Will try later not on target machine at the moment. I have etch
    Cheers
    BZ

  5. #5
    Just Joined!
    Join Date
    Aug 2008
    Posts
    52
    Making a backup copy of the sources.list is also recommended
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
    Better yet if you havn't already done so, copy of all of your commonly edited system files to a new folder

    sudo mkdir /etc/orig_files

    sudo cp /etc/apt/sources.list /etc/orig_files
    sudo cp /etc/sudoers /etc/orig_files
    sudo cp /boot/grub/menu.lst /etc/orig_files
    sudo cp /etc/fstab /etc/orig_files
    sudo cp /etc/hdparm.conf /etc/orig_files
    sudo cp /etc/ssh/ssh_config /etc/orig_files
    sudo cp /etc/X11/xorg.conf /etc/orig_files

  6. #6
    Just Joined!
    Join Date
    Nov 2008
    Posts
    13

    Making a boot floppy or CD for Etch

    Many Thanks LT,
    Another one for the notebook, is there also a simplified method of creating a boot floppy/CD??

  7. #7
    Just Joined!
    Join Date
    Aug 2008
    Posts
    52

Posting Permissions

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