LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 772|回复: 6

又一个apt-get的翻译的不明白的地方

[复制链接]
发表于 2007-12-13 10:51:40 | 显示全部楼层 |阅读模式
       dist-upgrade
          dist-upgrade in addition to performing the function of upgrade, also
          intelligently handles changing dependencies with new versions of
          packages; apt-get has a "smart" conflict resolution system, and it
          will attempt to upgrade the most important packages at the expense
          of less important ones if necessary. The /etc/apt/sources.list file
          contains a list of locations from which to retrieve desired package
          files. See also apt_preferences(5) for a mechanism for overriding
          the general settings for individual packages

其中

and it will attempt to upgrade the most important packages at the expense

不是很明白
发表于 2007-12-13 13:22:36 | 显示全部楼层
it will attempt to upgrade the most important packages at the expense
of less important ones if necessary.

因为apt-get has a "smart" conflict resolution system,所以当冲突出现的时候,apt-get会尝试着去满足最重要的包,而放弃不太重要的包

冲突的意思就是两个包都对一个包有依赖,而且依赖的版本不一样,这时候会优先满足apt-get认为比较重要的包

不知道我说明白了没?
回复 支持 反对

使用道具 举报

发表于 2007-12-13 13:24:54 | 显示全部楼层
发现服务器时间错了,我是13:22分发的帖,显示5:22,论坛时间是格林威治标准时...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-13 15:30:07 | 显示全部楼层
Post by Titan;1795156
it will attempt to upgrade the most important packages at the expense
of less important ones if necessary.

因为apt-get has a "smart" conflict resolution system,所以当冲突出现的时候,apt-get会尝试着去满足最重要的包,而放弃不太重要的包

冲突的意思就是两个包都对一个包有依赖,而且依赖的版本不一样,这时候会优先满足apt-get认为比较重要的包

不知道我说明白了没?


您的意思我明白,那么,按照您的说法,如果升级了这个依赖包,那些被apt-get认为不重要的包是否会被导致不能使用???表示质疑
回复 支持 反对

使用道具 举报

发表于 2007-12-13 16:54:53 | 显示全部楼层
是这样的意思,其实我比较喜欢用fedora,

fedora里面经常会出现这样的问题,也就是文档里面经常提到的不建议update安装的原因吧

出现的原因应该是不是每个软件包都可以做到向下兼容吧
回复 支持 反对

使用道具 举报

发表于 2007-12-13 19:57:09 | 显示全部楼层
较不重要的包的老版本应该还能用吧?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-14 10:41:20 | 显示全部楼层
Post by Titan;1795248
是这样的意思,其实我比较喜欢用fedora,

fedora里面经常会出现这样的问题,也就是文档里面经常提到的不建议update安装的原因吧

出现的原因应该是不是每个软件包都可以做到向下兼容吧


我明白你的意思了,谢谢你
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表