Package-Management

aptitude search 沒有看到 deb,但它存在於 repo 中:http://http.kali.org/pool/main/s/simplejson/

  • October 5, 2014

作業系統:Kali Linux 64 位 ISO 1.0.9 www.kali.org/downloads/

包裹:python3-simplejson

這裡是:http ://http.kali.org/pool/main/s/simplejson/

python3-simplejson_3.6.3-1_amd64.deb    24-Aug-2014 01:57   54K  

我正在嘗試安裝它,但aptitude沒有看到它:

# aptitude search simplejson
i A python-simplejson  - simple, fast, extensible JSON encoder/decoder for Python
v   python2.6-simplejson  -
v   python2.7-simplejson

預設情況下,作業系統上的所有內容都是:

# cat /etc/apt/sources.list
deb http://http.kali.org/kali kali main contrib non-free
deb-src http://http.kali.org/kali kali 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

更新完成:

# apt-get update
Hit http://security.kali.org kali/updates Release.gpg
Hit http://http.kali.org kali Release.gpg
Hit http://security.kali.org kali/updates Release
Hit http://http.kali.org kali Release
Hit http://security.kali.org kali/updates/main Sources
Hit http://security.kali.org kali/updates/contrib Sources
Hit http://http.kali.org kali/main Sources
Hit http://security.kali.org kali/updates/non-free Sources
Hit http://http.kali.org kali/contrib Sources
Hit http://security.kali.org kali/updates/main amd64 Packages
Hit http://http.kali.org kali/non-free Sources
Hit http://security.kali.org kali/updates/contrib amd64 Packages
Hit http://http.kali.org kali/main amd64 Packages
Hit http://security.kali.org kali/updates/non-free amd64 Packages
Hit http://http.kali.org kali/contrib amd64 Packages
Ign http://security.kali.org kali/updates/contrib Translation-en_US
Hit http://http.kali.org kali/non-free amd64 Packages
Ign http://security.kali.org kali/updates/contrib Translation-en
Ign http://security.kali.org kali/updates/main Translation-en_US
Ign http://security.kali.org kali/updates/main Translation-en
Ign http://http.kali.org kali/contrib Translation-en_US
Ign http://security.kali.org kali/updates/non-free Translation-en_US
Ign http://http.kali.org kali/contrib Translation-en
Ign http://security.kali.org kali/updates/non-free Translation-en
Ign http://http.kali.org kali/main Translation-en_US
Ign http://http.kali.org kali/main Translation-en
Ign http://http.kali.org kali/non-free Translation-en_US
Ign http://http.kali.org kali/non-free Translation-en
Reading package lists... Done

我對這行:Hit http://http.kali.org kali/main amd64 Packages

它有什麼問題?

apt 從不直接在 下搜尋pool,它僅在引用自dists/kali/main/binary-amd64/Packages或其他時才查找。

引用自:https://unix.stackexchange.com/questions/159249