首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Debian一直从sid中获取包,尽管/etc/apt/ sid中没有sid。

Debian一直从sid中获取包,尽管/etc/apt/ sid中没有sid。
EN

Server Fault用户
提问于 2011-11-09 05:25:24
回答 1查看 150关注 0票数 2

我有台安装了Debian Lenny的机器。不知何故,当我进行了apt-get更新时,我收到了以下输出:

代码语言:javascript
复制
sudo apt-get update
Get:1 http://ftp.de.debian.org lenny Release.gpg [1034B]
Ign http://ftp.de.debian.org lenny/main Translation-en_US
Ign http://ftp.de.debian.org lenny/contrib Translation-en_US
Get:2 http://mirror.yandex.ru sid Release.gpg [836B]
Ign http://ftp.de.debian.org lenny/non-free Translation-en_US
Hit http://ftp.de.debian.org lenny/volatile Release.gpg
Ign http://ftp.de.debian.org lenny/volatile/main Translation-en_US
Ign http://ftp.de.debian.org lenny/volatile/contrib Translation-en_US
Ign http://ftp.de.debian.org lenny/volatile/non-free Translation-en_US
Hit http://ftp.de.debian.org lenny/updates Release.gpg
Ign http://ftp.de.debian.org lenny/updates/main Translation-en_US
Ign http://ftp.de.debian.org lenny/updates/contrib Translation-en_US
Ign http://ftp.de.debian.org lenny/updates/non-free Translation-en_US
Ign http://mirror.yandex.ru sid/main Translation-en_US
Hit http://ftp.de.debian.org lenny Release     
Hit http://ftp.de.debian.org lenny/volatile Release
Hit http://ftp.de.debian.org lenny/updates Release
Hit http://mirror.yandex.ru sid Release                             
Ign http://ftp.de.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/non-free Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/volatile/main Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/volatile/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/volatile/non-free Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/updates/main Packages/DiffIndex
Hit http://mirror.yandex.ru sid/main Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/updates/non-free Packages/DiffIndex
Hit http://ftp.de.debian.org lenny/main Packages
Hit http://ftp.de.debian.org lenny/contrib Packages
Hit http://ftp.de.debian.org lenny/non-free Packages
Hit http://ftp.de.debian.org lenny/volatile/main Packages
Hit http://ftp.de.debian.org lenny/volatile/contrib Packages
Hit http://ftp.de.debian.org lenny/volatile/non-free Packages
Hit http://ftp.de.debian.org lenny/updates/main Packages
Hit http://ftp.de.debian.org lenny/updates/contrib Packages                 
Hit http://ftp.de.debian.org lenny/updates/non-free Packages                
Hit http://mirror.yandex.ru sid/main Sources/DiffIndex                      
Fetched 1870B in 2s (833B/s)                          
Reading package lists... Done

最奇怪的是,我的/etc/apt/ strange . most文件如下所示:

代码语言:javascript
复制
deb http://ftp.de.debian.org/debian lenny main contrib non-free
deb http://ftp.de.debian.org/debian-volatile lenny/volatile main contrib non-free
deb http://ftp.de.debian.org/debian-security lenny/updates main contrib non-free

我怎么才能摆脱被扔进去的sid镜子?

EN

回答 1

Server Fault用户

发布于 2011-11-09 15:00:38

显然,除了/etc/apt/ thrown .list之外,还有/etc/apt/thrown.d目录,允许您抛出更多的包列表。就我而言,我

代码语言:javascript
复制
$ ls -l /etc/apt/sources.list.d
total 4
-rw-r--r-- 1 root root 94 2010-12-16 12:15 sid.list

这显然是我的VDS提供商出于某种原因添加的。

据人类所说,

/etc/apt/ entries es.list.d目录提供了一种将sources.list条目添加到单独文件中的方法。格式与常规sources.list文件相同。文件名必须以.list结尾,只能包含字母( and和and )、数字(0-9)、下划线(_)、连字符(-)和句点(.)人物。否则,他们将被默默地忽视。

票数 4
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/329169

复制
相关文章

相似问题

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