當我運行時,apt-get install weboob
我遇到“無法找到 weboob 包”的情況
然而,軟體包 si 可用於 debian :https://packages.debian.org/jessie/weboob
我之前跑過apt-get update
smith@debianvm:~$ sudo apt-get update
[sudo] password for smith:
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 http://security.debian.org jessie/updates/main Sources [162 kB]
Get:3 http://security.debian.org jessie/updates/contrib Sources [1,439 B]
Get:4 http://security.debian.org jessie/updates/main amd64 Packages [305 kB]
Get:5 http://security.debian.org jessie/updates/contrib amd64 Packages [2,506 B]
Get:6 http://security.debian.org jessie/updates/contrib Translation-en [1,211 B]
Get:7 http://security.debian.org jessie/updates/main Translation-en [163 kB]
Fetched 697 kB in 1s (471 kB/s)
這是 debian 8.6 版本。我不知道從現在開始該做什麼。
編輯
/etc/apt/sources/list 的內容
#
# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25]/ jessie contrib main
#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25]/ jessie contrib main
#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-2 20160917-14:25]/ jessie contrib main
#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-3 20160917-14:25]/ jessie contrib main
# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ jessie/updates main contrib
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ jessie/updates main contrib
# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ jessie-updates main contrib
# deb-src http://ftp.debian.org/debian/ jessie-updates main contrib
答案1
您的sources.list
文件不完整;對於 Debian 8 你應該使用類似的東西
deb http://httpredir.debian.org/debian jessie main
deb http://security.debian.org/ jessie/updates main
至少(這將為您提供 Debian 8 中的所有軟體包及其安全性更新)。
如果你希望能夠下載源碼包,還應該添加
deb-src http://httpredir.debian.org/debian jessie main
deb-src http://security.debian.org/ jessie/updates main
如果您還想在穩定更新作為點更新「正式」發布之前接收它們,您可以添加
deb http://httpredir.debian.org/debian jessie-updates main
deb-src http://httpredir.debian.org/debian jessie-updates main
最後,如果您想訪問向後移植, 你可以加
deb http://httpredir.debian.org/debian jessie-backports main
deb-sec http://httpredir.debian.org/debian jessie-backports main