0
我试图让buildbot上centos5运行,并得到以下错误:扭曲在centos缺少mail.smtp?
File "/usr/lib/python2.4/site-packages/buildbot/status/mail.py", line 14, in ?
from twisted.mail.smtp import sendmail, ESMTPSenderFactory
ImportError: No module named mail.smtp
我已经安装了以下扭曲包(并没有看到任何其他相关的安装):
$ rpm -qa | grep twisted
python-twisted-web-0.7.0-1.el5
python-twisted-core-2.5.0-4.el5
python-twisted-words-0.5.0-3.el5
我更熟悉的debian,我可以这样做:
$ apt-file find twisted/mail/smtp
python-twisted-mail: /usr/share/pyshared/twisted/mail/smtp.py
两个问题:
- 有没有什么我可以从百胜将提供这个文件或我需要诉诸手动战术这部分扭曲?
- 有没有类似于基于rpm/yum的系统的
apt-file
命令的任何内容?
谢谢。
(我认为是超级用户,但这似乎如此紧密耦合到编程,我期望在这里更好的答案...)
感谢,对whatprovides尖端是很有帮助的。 – bstpierre 2010-10-17 15:57:46