当我运行时,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