aptitude 搜索看不到 deb,但它存在于仓库中:http://http.kali.org/pool/main/s/simplejson/

aptitude 搜索看不到 deb,但它存在于仓库中:http://http.kali.org/pool/main/s/simplejson/

操作系统: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

这有什么问题吗?

答案1

apt 永远不会直接在 下搜索pool,它只会在引用自dists/kali/main/binary-amd64/Packages或其他地方进行查找。

相关内容