首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >找不到应该可用的包。

找不到应该可用的包。
EN

Unix & Linux用户
提问于 2016-09-28 12:54:40
回答 1查看 1.5K关注 0票数 1

当我运行apt-get install weboob时,我会“无法找到包weboob”

但是,可以为debian:https://packages.debian.org/jessie/weboob提供的包si

我以前运行过apt-get update

代码语言:javascript
复制
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的内容

代码语言:javascript
复制
# 

# 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
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2016-09-28 14:01:27

您的sources.list文件是不完整的;对于Debian 8,您应该使用以下内容

代码语言:javascript
复制
deb http://httpredir.debian.org/debian jessie main
deb http://security.debian.org/ jessie/updates main

至少(这将为您提供Debian 8中的所有包及其安全性更新)。

如果您希望能够下载源代码包,还应该添加

代码语言:javascript
复制
deb-src http://httpredir.debian.org/debian jessie main
deb-src http://security.debian.org/ jessie/updates main

如果您还希望在“正式”发布为点更新之前接收稳定的更新,则可以添加

代码语言:javascript
复制
deb http://httpredir.debian.org/debian jessie-updates main
deb-src http://httpredir.debian.org/debian jessie-updates main

最后,如果您想要访问靠背,可以添加

代码语言:javascript
复制
deb http://httpredir.debian.org/debian jessie-backports main
deb-sec http://httpredir.debian.org/debian jessie-backports main
票数 4
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/312931

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档