apt-get update message---------what do Ign Error Hit Get&nbsp

来源:互联网 发布:淘宝翡翠手镯 编辑:程序博客网 时间:2024/05/16 05:41


  
1) IGN: Ignored. This seems tosay you have an entry in sources.list which has been superceded bya later version/archive, so the check of the archive is ignored. Ifind this happens for my iso install entry.

From what I can see in the aptsource code, "Ign" means there was an error retrieving the file,but the error is being ignored. When I run apt-get update, Isee 3 Ign messages, all of which are for Translation-en files. Apacket dump shows that the requests for those files got HTTP 404responses.

So the translation files aremissing, which makes sense because we don't need a translation ofthe package database from English into English, and apt doesn'tconsider the lack of translations to be a fatal error. (Even onsystems configured for some other language, the lack oftranslations wouldn't be a fatal error, it would just mean thatyou'd be forced to read package descriptions in the defaultlanguage instead of your local preferred language.)

2) Hit: means apt checked thepackage list the timestamps match and there are no changes.Thearchive version you have is the latest.

"Hit" on the other hand meansexactly what you said. The file was found on the server and ithasn't been changed since the last time it was downloaded. This isindicated by HTTP code 304. Note that we're not talking abouttimestamps on individual packages, sinceapt-get update doesn'tdownload those. It downloads the list of available packages andother related information.The timestampsbeing compared are on those list files, not the packagesthemselves.

3) Get: There is a newerversion of the archive. Depending on what you have installed,this may/may not contain an upgrade to yoursoftware.

网上一个apt update出问题的思路: http://blog.csdn.net/topping/article/details/7568774
重新安装colinux, ubuntu 8.04,然后使用apt-get update,失败后更新了sourcelist,结果还是不行,一开始ping域名不通,后来把eth interface设对了,可以ping域名,但是update却还是不行,在网上苦苦搜索,一直找不到正确答案。最后忽然看到有人在提供源的时候加了版本号,猛然想到,可能源跟版本号有关,而且源后面都跟了一个单词,那个就是某一版本的代号,改成跟版本号对应的源后就成功了,唉!一个小问题竟然弄了那么久,也难怪没有窗口的linux会难以替代windows。
0 0
原创粉丝点击