On Fri, 13 Apr 2007 21:19:38 -0500
Albert Hopkins <[EMAIL PROTECTED]> wrote:

> On Sat, 2007-04-14 at 05:02 +0300, Daniel Iliev wrote:
> > It appears I have a lib ("gdbm.so") left behind by some removed
> > package.
> > Could somebody, please, tell me which package does this file belong
> > to?
> 
> A slightly educated guess would be the "gdbm" package, though you'd
> think it would be named "libgdbm.so" as opposed to "gdbm.so".
>  
> --
> Albert W. Hopkins
> 
equery takes the guesswork out of package manangement:
| [EMAIL PROTECTED] ~ $ equery belongs gdbm.so
| [ Searching for file(s) gdbm.so in *... ]
| dev-lang/python-2.4.3-r4 (/usr/lib64/python2.4/lib-dynload/gdbm.so)
| dev-lang/ruby-1.8.5_p2 (/usr/lib64/ruby/1.8/x86_64-linux/gdbm.so)
your results may differ.  Specifically, I don't think it lists
packages that aren't installed -- but I may be wrong.  note also that
you can check to see why you need them...
| [EMAIL PROTECTED] ~ $ for i in python ruby; do equery depends $i; done
| [ Searching for packages depending on python... ]
| app-editors/vim-7.0.174 (python? dev-lang/python)
| app-emulation/cedega-5.2.3 (>=dev-lang/python-2.3)
| app-office/openoffice-2.0.4 (>=dev-lang/python-2.3.4)
| app-portage/gentoolkit-0.2.3-r1 (>=dev-lang/python-2.0)
| app-text/gnome-doc-utils-0.8.0 (>=dev-lang/python-2)
| ...
| media-gfx/gimp-2.2.12 (python? >=dev-lang/python-2.2)
| media-gfx/graphviz-2.8-r2 (python? dev-lang/python)
| net-p2p/bittornado-0.3.18 (virtual/python)
|                         (>=dev-lang/python-2.1)
|  sci-libs/gdal-1.3.1 (virtual/python)
|                   (python? dev-lang/python)
| sys-apps/file-4.20-r1 (virtual/python)
| s-apps/portage-2.1.2.2 (>=dev-lang/python-2.3)
| sys-libs/cracklib-2.8.9-r1 (python? dev-lang/python)
| sys-libs/libcap-1.10-r5 (!nocxx & python? >=virtual/python-2.2.1)
| [ Searching for packages depending on ruby... ]
| app-editors/vim-7.0.174 (ruby? virtual/ruby)
| dev-lang/swig-1.3.25 (ruby? virtual/ruby)
| dev-ruby/ruby-config-0.3.1 (virtual/ruby)
| media-gfx/graphviz-2.8-r2 (ruby? dev-lang/ruby)
| media-sound/amarok-1.4.5-r1 (=dev-lang/ruby-1.8*)

so you can see here how I can see whether I want these files.  Finally,
i mention revdep-rebuild.  
[EMAIL PROTECTED] ~ $ revdep-rebuild
| 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... done.
| (/home/dan/.revdep-rebuild.1_files)
| Collecting complete LD_LIBRARY_PATH... done.
| (/home/dan/.revdep-rebuild.2_ldpath)
| Checking dynamic linking consistency...
| done.
|  (/home/dan/.revdep-rebuild.3_rebuild)
|
| Assigning files to ebuilds... Nothing to rebuild
|
| Evaluating package order... done.
|  (/home/dan/.revdep-rebuild.5_order)
|
| Dynamic linking on your system is consistent... All done. 

you can then do an 
| emerge --depclean
and clear out your dependancies.  I like to do another revdep rebuild
just to make sure at the end.
-- 
[EMAIL PROTECTED] mailing list

Reply via email to