今天在Linux安裝Samba出現錯誤
[root@localhost CentOS]# rpm -ivh samba-3.0.33-3.29.el5_5.1.i386.rpm
warning: samba-3.0.33-3.29.el5_5.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
perl(Convert::ASN1) is needed by samba-3.0.33-3.29.el5_5.1.i386
改成:
[root@localhost CentOS]# rpm -ivh samba-3.0.33-3.29.el5_5.1.i386.rpm --force --nodeps