然后编辑 "/etc/apt/apt.conf.d/gpg-import.conf",取消第三行注释.
再然后更改 "/etc/apt/apt.conf.d/gpg-check.conf"如下:
Scripts:M:re:: "gpg-check.lua";
// Enable to check for GPG signatures
RPM::GPG-Check "true";
还改"/etc/apt/apt.conf.d/gpg-checker.conf"如下:
// Make RPM::GPG-Check no; to disable gpg checking
// It can still be used in combination with --checksig
RPM::GPG-Check yes;
Scripts:M:re:: gpg-checker.lua;
最后了,呵呵,添加 "/etc/profile.local"文件,内容为:
xhost +
*********************************)
休息一会*_*
step5:-在ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/RPMS.rpmkeys/ 下载 所有的rpmkeys软件包,用apt --no-checksig --no-post install name_of_the_key方法安装,注意这里的name_of_the_key是rpmkeys包的名字。
你将会看到:
Reading Package Lists...
Building Dependency Tree...
The following NEW packages will be installed:
rpmkey-packman
0 upgraded, 1 newly installed, 0 removed and 94 not upgraded.
Need to get 23.0kB of archives.
After unpacking 31.2kB of additional disk space will be used.
Get:1 ftp://ftp.gwdg.de SuSE/9.1-i386/packman rpmkey-packman 0.2-0.pm.0 [23.0kB]
Fetched 23.0kB in 6s (3551B/s)
Committing changes...
Preparing... ##################################################
rpmkey-packman ##################################################
Done.
You don't seem to have one or more of the needed GPG keys in your RPM database.
Importing them now...
的画面,注意“You don't seem to have one or more of the needed GPG keys in your RPM database.Importing them now...”,请下载414A57C3-lmuelle-gpg-key.asc.文件,我找的网址http://ftp.nluug.nl/networking/samba/Binary_Packages/SuSE/ 414A57C3-lmuelle-gpg-key.asc,你也可以自己搜搜。保存到你的 /home/[userName] 目录下.然后输入"rpm --import /home/[userName]/414A57C3-lmuelle-gpg-key.asc".把这些包装上才不会有unsigned package(s)的错误。输入 "rpm -qa|grep -E "key".检测你的Key是否安装上去,在你按enter后出现的一排排数据中会有gpg-pubkey-414a57c3-3b52d7d4 一段,呵呵 添加完毕。