PDA

View Full Version : How many repos are supposed to be in sources.list ?



vaioifive
2013-03-26, 13:49
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 ?

schwaaa
2013-03-29, 00:56
I believe this happens when you install Kali w/out a network connection. There's an option during installationl to setup the software mirrors.

maverik35
2013-03-29, 04:45
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.

Vulpi
2013-03-29, 07: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.

ding
2013-04-06, 18:41
so do i jsut copy and paste what op wrote with [arch=i386] isntead of all of them ? and save ?

Vulpi
2013-04-07, 00:39
As a minimum:

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:

# 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

a-nightfury
2013-04-07, 08:41
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.

kpoeticg
2013-04-09, 01:45
a-nightfury just "nano /etc/apt/sources.list" and add whatever repos u need

Nik@S_DaRk
2013-04-09, 21:49
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...?