关于更新源的问题

最大的社区版本,Ubuntu的发源地
回复
zhaoyu775885
帖子: 11
注册时间: 2011-11-29 23:40

关于更新源的问题

#1

帖子 zhaoyu775885 » 2014-06-06 11:17

之前添加过google chrome的源,现在每次运行运行都会提示一个错误:

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_i18n_Translation-zh

我想,我把这个源的地址从source.list里面删掉应该就不会再有了,但是结果还是有,删除/var/lib/apt/lists下的所有内容,并且把更新源也都注释掉,

运行 apt-get update,竟然还会更新:

获取:1 http://dl.google.com stable Release.gpg [198 B]
获取:2 http://dl.google.com stable Release [5,055 B]
忽略 http://dl.google.com stable Release
获取:3 http://dl.google.com stable/main amd64 Packages/DiffIndex [5,055 B]
获取:4 http://dl.google.com stable/main Translation-zh_CN [5,055 B]
命中 http://dl.google.com stable/main amd64 Packages
获取:5 http://dl.google.com stable/main Translation-zh [5,055 B]
忽略 http://dl.google.com stable/main Translation-zh_CN
忽略 http://dl.google.com stable/main Translation-en
忽略 http://dl.google.com stable/main Translation-zh

???怎么会这样,我确定我的源是空的呀,为什么还会有更新?求高手解答
头像
qy117121
论坛版主
帖子: 50587
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 关于更新源的问题

#2

帖子 qy117121 » 2014-06-06 11:35

/etc/apt/source.list/下面 找到google的删除

紫萌冰的小尾巴
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

邮箱 [email protected]
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 关于更新源的问题

#3

帖子 poloshiao » 2014-06-06 11:38

1. sudo rm /var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_i18n_Translation-zh
2. sudo apt-get update

如果還有問題
3. sudo cat /etc/apt/sources.list | grep google
4. sudo ls -al /etc/apt/sources.list.d
把結果複製 貼上來
zhaoyu775885
帖子: 11
注册时间: 2011-11-29 23:40

Re: 关于更新源的问题

#4

帖子 zhaoyu775885 » 2014-06-07 16:18

qy117121 写了:/etc/apt/source.list/下面 找到google的删除

紫萌冰的小尾巴
我都把google的都注释掉了,可是还有
zhaoyu775885
帖子: 11
注册时间: 2011-11-29 23:40

Re: 关于更新源的问题

#5

帖子 zhaoyu775885 » 2014-06-07 16:19

poloshiao 写了:1. sudo rm /var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_i18n_Translation-zh
2. sudo apt-get update

如果還有問題
3. sudo cat /etc/apt/sources.list | grep google
4. sudo ls -al /etc/apt/sources.list.d
把結果複製 貼上來

谢谢大哥!问题解决了,不是我的source.list有问题,是你说的, source.list.d下有一个google-chrome.list,才知道还有这种东西。。

删了以后问题就解决了
头像
qy117121
论坛版主
帖子: 50587
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 关于更新源的问题

#6

帖子 qy117121 » 2014-06-07 16:26

好吧,我忘记list后面还有.d了

紫萌冰的小尾巴
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

邮箱 [email protected]
回复