Results 1 to 9 of 9

Thread: How many repos are supposed to be in sources.list ?

  1. #1
    Join Date
    2013-Mar
    Posts
    4

    How many repos are supposed to be in sources.list ?

    After installing Kali Linux on hard drive i noticed i only had 3 or 4 kali repositories in my etc/apt/sources.list,

    Then i added all 8 Kali repositories shown below as stated at http://wiki.debian.org/Derivatives/Census/Kali

    deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main contrib non-free
    deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main/debian-installer
    deb-src http://http.kali.org/kali kali-dev main contrib non-free

    deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali main contrib non-free
    deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali main/debian-installer
    deb-src http://http.kali.org/kali kali main contrib non-free

    deb [arch=i386,amd64,armel,armhf] http://security.kali.org/kali-security kali/updates main contrib non-free
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

    Then i did an apt-get update and apt-get upgrade and it showed 20 or 30 new updates.

    So i'm wondering how many other people dont have the full set of repos in their etc/apt/sources.list ?

  2. #2
    Join Date
    2013-Mar
    Posts
    6
    I believe this happens when you install Kali w/out a network connection. There's an option during installationl to setup the software mirrors.

  3. #3
    Join Date
    2013-Mar
    Posts
    354
    The repos you posted are fine, just keep it simple:

    You need:
    1. Kali repos
    2. Kali-dev repos
    3. Kali Security repos.

    You do not need the kali-src unless you want to do something else besides downloading packages and install them. Like building a custom kali image, per say.

    These are my repos:
    #

    ## Kali Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free

    ## Kali
    deb http://http.kali.org/kali kali main contrib non-free

    ## Kali-dev
    deb http://http.kali.org/kali kali-dev main contrib non-free

    Try to keep repos list simple and clean...

    The main repos are the kali repos and contain most of the Debian-Kali packages.
    The contrib are repos are complient with DFSG(Debian Free Software Guidelines) BUT depends on some packages that do no agree with DFSG.
    The non-free repos, well, it is pretty simple, one example is Flash, other could be Java.

  4. #4
    Join Date
    2013-Mar
    Location
    Totally lost
    Posts
    45
    [arch=i386,amd64,armel,armhf]
    This will give you the repos for all builds; you need to choose just one (or omit the section), otherwise it will take an age to update. As maverik35 says, keep it simple.

  5. #5
    Join Date
    2013-Apr
    Posts
    5
    so do i jsut copy and paste what op wrote with [arch=i386] isntead of all of them ? and save ?

  6. #6
    Join Date
    2013-Mar
    Location
    Totally lost
    Posts
    45
    As a minimum:
    Code:
    deb http://http.kali.org/kali kali main non-free contrib
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    Save and update.

    If you have a particular need, you can add -src, -dev, and also unsupported PPA's etc (at your own risk).

    My sources.list:
    Code:
    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130327-17:54]/ kali contrib main non-free
    
    deb http://http.kali.org/kali kali main non-free contrib
    deb-src http://http.kali.org/kali kali main non-free contrib
    
    deb http://http.kali.org/kali kali-dev main contrib non-free
    deb-src http://http.kali.org/kali kali-dev main contrib non-free
    
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
    Last edited by Vulpi; 2013-04-07 at 00:49.

  7. #7
    Join Date
    2013-Apr
    Posts
    1
    hi guys
    how do i add those missing repos from installation, when i was installing kali I had problem with mirror so had to ignore those are my repos in /etc/apt/sources.list
    #

    # deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130327-18:35]/ kali contrib main non-free

    #deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130327-18:35]/ kali contrib main non-free


    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free


    and i am unable to install some packages for ex: xchat
    thank you for your help.

  8. #8
    a-nightfury just "nano /etc/apt/sources.list" and add whatever repos u need

  9. #9
    Join Date
    2013-Mar
    Location
    black-hat-sec.org
    Posts
    23
    can i add those 2?
    ## SID
    deb http://ftp.us.debian.org/debian/ sid main non-free contrib

    or is it wrong?
    just to install compiz...?

Similar Threads

  1. Replies: 0
    Last Post: 2021-10-08, 20:45
  2. Replies: 0
    Last Post: 2020-07-22, 01:44
  3. sources.list
    By johanneke in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2020-02-02, 00:29

Posting Permissions

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