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

上記の「smartphone-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)古い URL を https://svn.code.sf.net/p/w3af/code/trunk 保存ファイルに置き換えてから、w3af setup を再度実行します...

于 2013-08-29T08:48:07.597 に答える