LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2013, 01:08 PM   #1
Zer0Cool
LQ Newbie
 
Registered: Nov 2013
Posts: 2

Rep: Reputation: Disabled
apt-get upgrade Se-toolkit & W3af errors


okay today i go to run my updates & upgrades on BT5r3 and i get this, I Have tried countless of solutions and none of them seem to work does anyone have any idea of what is it?

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.
2 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 se-toolkit (4.2.1-bt0) ...
svn: OPTIONS of 'http://svn.trustedsec.com/social_engineering_toolkit': could not connect to server (http://svn.trustedsec.com)
dpkg: error processing se-toolkit (--configure):
subprocess installed post-installation script returned error exit status 1
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: Repository moved permanently to 'https://svn.code.sf.net/p/w3af/code/trunk'; please relocate
dpkg: error processing w3af (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
se-toolkit
w3af
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 11-12-2013, 06:05 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2
Posts: 7,809
Blog Entries: 58

Rep: Reputation: Disabled
BackTrack 5 is outdated, it's been replaced by Kali Linux:

http://www.kali.org/
 
Old 12-17-2013, 11:20 PM   #3
toph3r
LQ Newbie
 
Registered: Dec 2013
Posts: 2

Rep: Reputation: Disabled
Just because BT5 isn't supported anymore doesn't mean that it isn't useful.

The heart of the issue is that the SVNs info for those two are incorrect. The repo for se-toolkit was moved to github and the url for w3af is wrong


Using your favorite editor edit the se-tools postinstall file and comment out or remove the snv line and put in a line for git.

se-toolkit:

Here is my /var/lib/dpkg/info/se-toolkit.postinst:
Code:
#!/bin/bash

rm -rf /pentest/exploits/set/ 2> /dev/null
cd /pentest/exploits/
#svn co http://svn.trustedsec.com/social_engineering_toolkit set/
git clone https://github.com/trustedsec/social-engineer-toolkit/ set/
w3af:
Again, using your editor of choice replace the URL of the SVN.
This time we edit the w3af file.

/var/lib/dpkg/info/w3af.postinst :
Code:
#!/bin/bash
cd /tmp/
tar zxpf pybloomfiltermmap-0.2.0.tar.gz
cd pybloomfiltermmap-0.2.0
python setup.py install
cd ..
rm -rf pybloomfiltermmap-0.2.0*
cd /pentest/web/
svn co https://svn.code.sf.net/p/w3af/code/trunk w3af
This solved the issue for me!
Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to fix se-toolkit error and w3af on backtrack5r3 zawkoko Linux - Newbie 1 09-01-2013 05:19 PM
[SOLVED] Backtrack 5 R3 DPKG post installation error (se toolkit, beef and w3af specifically) ch0w Linux - Software 2 08-21-2013 07:23 PM
apt-get upgrade errors revenge80200 Linux - Newbie 6 12-13-2005 08:51 PM
firestarter errors after apt-get upgrade Outabux Debian 2 03-03-2005 02:07 AM
apt-get dist-upgrade errors Pebcak Debian 4 06-15-2004 05:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration