Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437236 - net-analyzer/metasploit:4.4 | revdep-rebuild keeps reinstalling it when run
Summary: net-analyzer/metasploit:4.4 | revdep-rebuild keeps reinstalling it when run
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-04 21:25 UTC by rypervenche
Modified: 2013-12-15 17:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rypervenche 2012-10-04 21:25:07 UTC
Everytime I run revdep-rebuild on both my server and my laptop, the package net-analyzer/metasploit:4.4 shows up needing to be reinstalled.

64-bit:
noir ~ # revdep-rebuild -- -av
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 69% ]  *   broken /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch/linux32/pg-0.13.2/lib/pg_ext.so (requires libpq.so.5)
[ 70% ]  *   broken /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch/linux64/eventmachine-0.12.10/lib/rubyeventmachine.so (requires libcrypto.so.0.9.8
libssl.so.0.9.8)
[ 71% ]  *   broken /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch-old/linux32/pg-0.13.2/lib/pg_ext.so (requires libpq.so.5)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch/linux32/pg-0.13.2/lib/pg_ext.so -> net-analyzer/metasploit
 *   /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch/linux64/eventmachine-0.12.10/lib/rubyeventmachine.so -> net-analyzer/metasploit
 *   /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch-old/linux32/pg-0.13.2/lib/pg_ext.so -> net-analyzer/metasploit
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot  -av net-analyzer/metasploit:4.4
..........

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] net-analyzer/metasploit-4.4.0  USE="postgres -gui -mysql" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]


32-bit:
foudre ~ # revdep-rebuild -- -av
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 70% ]  *   broken /usr/lib/metasploit4.4/lib/gemcache/ruby/1.9.1/arch/linux32/eventmachine-0.12.10/lib/rubyeventmachine.so (requires libcrypto.so.0.9.8
libssl.so.0.9.8)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib/metasploit4.4/lib/gemcache/ruby/1.9.1/arch/linux32/eventmachine-0.12.10/lib/rubyeventmachine.so -> net-analyzer/metasploit
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot  -av net-analyzer/metasploit:4.4
..........

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] net-analyzer/metasploit-4.4.0  USE="postgres -gui -mysql" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

Please look into this. Thank you.
Comment 1 Kenton Groombridge 2012-12-25 23:58:46 UTC
I have had this same problem as well since installing, but didn't report it as it is just annoying and doesn't actually break anything.  Just got tired of it and though I would add a "me too" so this might get some attention.
Comment 2 rypervenche 2012-12-26 04:41:05 UTC
I found a work-around for this. You can create a mask for revdep-rebuild. This is the file that I created:

foudre ~ # cat /etc/revdep-rebuild/70-metasploit 
SEARCH_DIRS_MASK="/usr/lib*/metasploit*"

This has solved my problem and works fine for me.
Comment 3 Ondrej Grover 2013-08-17 05:57:56 UTC
this may be a duplicate of bug #430628

in that bug, the live 9999 ebuild has a revdep mask

I suspect the devs are working on the 4.5 ebuild wit the cleaned up gems, so hopefully the new ebuild will have the mask.
Comment 4 jms 2013-10-15 17:14:24 UTC
annoying...
adding a me too:
revdep-rebuild -ip
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 82% ]  *   broken /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch/linux32/pg-0.13.2/lib/pg_ext.so (requires libpq.so.5)
 *   broken /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch/linux64/eventmachine-0.12.10/lib/rubyeventmachine.so (requires libcrypto.so.0.9.8
libssl.so.0.9.8)
[ 83% ]  *   broken /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch-old/linux32/pg-0.13.2/lib/pg_ext.so (requires libpq.so.5)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch/linux32/pg-0.13.2/lib/pg_ext.so -> net-analyzer/metasploit
 *   /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch/linux64/eventmachine-0.12.10/lib/rubyeventmachine.so -> net-analyzer/metasploit
 *   /usr/lib64/metasploit4.4/lib/gemcache/ruby/1.9.1/arch-old/linux32/pg-0.13.2/lib/pg_ext.so -> net-analyzer/metasploit
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --complete-graph=y --oneshot  --pretend net-analyzer/metasploit:4.4

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] net-analyzer/metasploit-4.4.0-r1 
 * Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild.
Comment 5 Rick Farina (Zero_Chaos) gentoo-dev 2013-12-15 17:23:51 UTC
fixed in newer releases