用rpm来重新为rpm文件签名

前两天

从网上下了一个apt的rpm

本想用于自己的apt respon

但apt-get安装时需要签名

我又不想import别人的签名

所以

想用自己的签名替换一下

于是

rpm –resign apt-xxxxx.rpm

搞定。

其实

从rpm4.3开始

rpm –addsign的效果跟rpm –resign是一样的

–addsign–resign这两个参数是一样的

但为什么会有两个不同的参数呢

manual上讲是由于"historical reasons"(历史原因)

Discussion Area - Leave a Comment




*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word