LinuxSir.cn,穿越时空的Linuxsir!

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

安装 deb 包的过程求助

[复制链接]
发表于 2010-6-5 20:48:49 | 显示全部楼层 |阅读模式
最近在看 debian policy manual, 里面讲到安装和升级软件包的过程时有点不懂,

The procedure on installation/upgrade/overwrite/disappear (i.e., when running dpkg --unpack, or the unpack stage of dpkg --install) is as follows. In each case, if a major error occurs (unless listed below) the actions are, in general, run backwards - this means that the maintainer scripts are run with different arguments in reverse order. These are the "error unwind" calls listed below.

这里的第二句是什么意思?什么是 "error unwind"?

1.      If a version of the package is already installed, call

           old-prerm upgrade new-version

上面这句是什么意思,对于已经安装软件包的升级照说是按某个顺序运行 deb 包里的脚本,不懂上面这句。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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