Read the error output carefully:
Code:Make sure that `gem install librex -v '0.0.68'` succeeds before bundling.
Get that installed first than try it again.
Dear forum users,
When I run this command:
root@bt:~# apt-get install beef
Reading package lists... Done
Building dependency tree
Reading state information... Done
beef is already the newest version.
The following packages were automatically installed and are no longer required:
libdmraid1.0.0.rc16 python-pyicu libdebian-installer4 cryptsetup libecryptfs0 reiserfsprogs rdate
bogl-bterm ecryptfs-utils libdebconfclient0 dmraid
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up beef (0.4.3.5-bt1) ...
WARNING: You don't have /root/.gem/ruby/1.9.2/bin in your PATH,
gem executables will not run.
Successfully installed bundler-1.2.3
1 gem installed
Installing ri documentation for bundler-1.2.3...
Installing RDoc documentation for bundler-1.2.3...
Fetching gem metadata from http://rubygems.org/.........
Fetching gem metadata from http://rubygems.org/..
Using addressable (2.2.8)
Using ansi (1.4.3)
Using daemons (1.1.9)
Using data_objects (0.10.11)
Using dm-core (1.2.0)
Using dm-do-adapter (1.2.0)
Using dm-migrations (1.2.0)
Using do_sqlite3 (0.10.11)
Using dm-sqlite-adapter (1.2.0)
Using eventmachine (0.12.10)
Using em-websocket (0.3.8)
Using erubis (2.7.0)
Using jsmin (1.0.1)
Using json (1.7.6)
I get this error:
Gem::Package::FormatError: No metadata found!
An error occurred while installing librex (0.0.68), and Bundler cannot continue.
Make sure that `gem install librex -v '0.0.68'` succeeds before bundling.
dpkg: error processing beef (--configure):
subprocess installed post-installation script returned error exit status 5
Setting up subterfuge (4.3-bt0) ...
tar: SubterfugePublicBeta4.3.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/subterfuge.postinst: line 6: cd: subterfuge/: No such file or directory
python: can't open file 'installer_old.py': [Errno 2] No such file or directory
rm: cannot remove `SubterfugePublicBeta4.3.tar.gz': No such file or directory
dpkg: error processing subterfuge (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
beef
subterfuge
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@bt:~#
Because when update metasploit framework its get a error saying Beef problems.
How can i solve this issue.
With kind regards from,
ScorpionKing28
Read the error output carefully:
Code:Make sure that `gem install librex -v '0.0.68'` succeeds before bundling.
Get that installed first than try it again.
Back|track giving machine guns to monkeys since 2007 !
Do not read the Wiki, most your questions will not be answered there !
Do not take a look at the: Forum Rules !
Again as I said read your error message![]()
Other than that Backtrack is not a beginners distribution, you will have to learn Linux and do a lot of research on your own to use it.
Back|track giving machine guns to monkeys since 2007 !
Do not read the Wiki, most your questions will not be answered there !
Do not take a look at the: Forum Rules !
I have fix it
just try
and addCode:sudo gedit /var/lib/dpkg/info/beef.postinst
same withCode:#!/bin/bash set -e exit 0
Code:sudo gedit /var/lib/dpkg/info/subterfuge.postinst
may help u
:Newbie: