1
root@bt:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  smartphone-pentest-framework
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up w3af (1.2-bt2) ...
tar: pybloomfiltermmap-0.2.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Exiting with failure status due to previous errors
/var/lib/dpkg/info/w3af.postinst: line 4: cd: pybloomfiltermmap-0.2.0: No such file or directory
python: can't open file 'setup.py': [Errno 2] No such file or directory
svn: Working copy 'w3af' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
dpkg: error processing w3af (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 w3af
E: Sub-process /usr/bin/dpkg returned an error code (1)
root

我已经复制并粘贴了我在更新上面的包装“智能手机-pentest-framework”时遇到的错误。

出了什么问题,问题是什么?

4

1 回答 1

4

正如你所看到的“/var/lib/dpkg/info/w3af.postinst: line 4: cd: pybloomfiltermmap-0.2.0: No such file or directory”如此简单的解决方案来更改下载 URL 是他们拥有的诀窍随着存储库移动到https://svn.code.sf.net/p/w3af/code/trunk ,他们的脚本中出现错误, 因此只需编辑 w3af.postinst 文件(vi /var/lib/dpkg/info/w3af.postinst)并用https://svn.code.sf.net/p/w3af/code/trunk保存文件替换旧网址, 然后再次运行 w3af 设置...

于 2013-08-29T08:48:07.597 回答