Sh4n3e

Kali Linux Configuration 본문

System Hacking/BOF

Kali Linux Configuration

sh4n3e 2017. 6. 21. 14:16

칼리리눅스 설정시 최초 apt-get upgrade && apt-get update를 해주게 된다.

 

하지만 버전에 맞는 sources.list가 존재하지 않는다면 정상적으로 동작하지 않는다.

정상적으로 동작하지 않는다는 것은 아래와 같은 에러를 출력하기 때문이다.

 

E : Some index files failed to download. They have been ignored, or old ones used instead. 

 

 

아래는 각 버전별 필요한 sources.list를 정리해놓은 것이다. 해당 사항을 참고하여 적절한 repository를 넣어줌으로써 해당 문제를 해결할 수 있다.

 

sources.list의 위치는 /etc/apt/sources.list에 존재한다.

 

For Kali Linux 1.x users  use the repo below:
No more update for Kali 1.0 pleas upgrade to new Kali 2016

## Regular repositories
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
## Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free

For Kali Linux 2.0 – Kali Sana  use the repo below:
you Still can receive update for Kali Sana but not for long so please upgrade to Kali 2016.1

# Regular repositories
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
# Source repositories
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

For Kali Linux 2016 – Kali Rolling  use the repo below:

deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free

Kali Linux 2017.1 sources.list  use the repo below:

deb http://repo.kali.org/kali kali-rolling main non-free contrib

 

 

참조 : http://www.kalitut.com/2014/06/fix-kali-linux-sourceslist-repositories.html

 

'System Hacking > BOF' 카테고리의 다른 글

VMware Tools 환경설정 문제  (0) 2017.06.25
Kali Linux APT Package Search  (0) 2017.06.21
Basic RTL  (0) 2017.06.14
GDB 사용방법  (0) 2017.06.14
Comments