apt-get update的hit和ign含义
2013-10-21 18:53
459 查看
How do Ign and Hit affect apt-get update?
From what I can see in the apt source code, "Ign" means there was an error retrieving the file, but the error is being ignored. When I run apt-get update, I see 3 Ign messages, all of which are forTranslation-enfiles. A packet dump shows that the requests for those files got HTTP 404 responses.
So the translation files are missing, which makes sense because we don't need a translation of the package database from English into English, and apt doesn't consider the lack of translations to be a fatal error. (Even on systems configured for some other language, the lack of translations wouldn't be a fatal error, it would just mean that you'd be forced to read package descriptions in the default language instead of your local preferred language.)
"Hit" on the other hand means exactly what you said. The file was found on the server and it hasn't been changed since the last time it was downloaded. This is indicated by HTTP code 304. Note that we're not talking about timestamps on individual packages, since
apt-get updatedoesn't download those. It downloads the list of available packages and other related information. The timestamps being compared are on those list files, not the packages themselves.
http://superuser.com/questions/454867/how-do-ign-and-hit-affect-apt-get-update
相关文章推荐
- uva 10154 Weights and Measures(dp)
- UVA11300——Spreading the Wealth (贪心+建模)
- android新建工程R报错或者R cannot be resolved to a variable
- Linux计划任务
- servlet单实例多线程问题
- Android_Json_GSON
- mysql 做增量备份
- Dragon Balls
- Describe the difference between repeater, bridge and router.
- 九九乘法表新打表(倒三角式)
- a标签,href和onclick比较
- reverb linux 下环境配置
- 《Cisco2801路由器》 用户配置手册
- cloudfoundry 中hbase_master启动不成功 vsphere搭建的ubuntu1004
- 撰写POPUSH需求文档
- sql plus登陆
- C#中close和dispose区别
- 关于 input 文本垂直对齐
- apache安装过程中的常见问题
- Android数据的四种存储方式SharedPreferences、SQLite、Content Provider和File (四) —— ContentProvider