相关疑难解决方法(0)

RFC822 样式的 sources.list 产生“E: Type 'Types:' is not known”

在 Jessie 上,根据man 5 sources.list,我可以sources.list以受 RFC822 启发的格式编写我的文件:

Types: deb deb-src
URIs: http://http.us.debian.org/debian/
Suites: jessie
Sections: main contrib non-free
Run Code Online (Sandbox Code Playgroud)

不幸的是,这会产生一个错误:

root@Zia:~# apt-get update
E: Type 'Types:' is not known on line 1 in source list /etc/apt/sources.list
E: The list of sources could not be read.
Run Code Online (Sandbox Code Playgroud)

为什么记录在案的 RFC822 格式不起作用?

debian apt

4
推荐指数
1
解决办法
356
查看次数

标签 统计

apt ×1

debian ×1