1 |
On Fri, 13 Apr 2007 21:19:38 -0500 |
2 |
Albert Hopkins <marduk@g.o> wrote: |
3 |
|
4 |
> On Sat, 2007-04-14 at 05:02 +0300, Daniel Iliev wrote: |
5 |
> > It appears I have a lib ("gdbm.so") left behind by some removed |
6 |
> > package. |
7 |
> > Could somebody, please, tell me which package does this file belong |
8 |
> > to? |
9 |
> |
10 |
> A slightly educated guess would be the "gdbm" package, though you'd |
11 |
> think it would be named "libgdbm.so" as opposed to "gdbm.so". |
12 |
> |
13 |
> -- |
14 |
> Albert W. Hopkins |
15 |
> |
16 |
equery takes the guesswork out of package manangement: |
17 |
| dan@pascal ~ $ equery belongs gdbm.so |
18 |
| [ Searching for file(s) gdbm.so in *... ] |
19 |
| dev-lang/python-2.4.3-r4 (/usr/lib64/python2.4/lib-dynload/gdbm.so) |
20 |
| dev-lang/ruby-1.8.5_p2 (/usr/lib64/ruby/1.8/x86_64-linux/gdbm.so) |
21 |
your results may differ. Specifically, I don't think it lists |
22 |
packages that aren't installed -- but I may be wrong. note also that |
23 |
you can check to see why you need them... |
24 |
| dan@pascal ~ $ for i in python ruby; do equery depends $i; done |
25 |
| [ Searching for packages depending on python... ] |
26 |
| app-editors/vim-7.0.174 (python? dev-lang/python) |
27 |
| app-emulation/cedega-5.2.3 (>=dev-lang/python-2.3) |
28 |
| app-office/openoffice-2.0.4 (>=dev-lang/python-2.3.4) |
29 |
| app-portage/gentoolkit-0.2.3-r1 (>=dev-lang/python-2.0) |
30 |
| app-text/gnome-doc-utils-0.8.0 (>=dev-lang/python-2) |
31 |
| ... |
32 |
| media-gfx/gimp-2.2.12 (python? >=dev-lang/python-2.2) |
33 |
| media-gfx/graphviz-2.8-r2 (python? dev-lang/python) |
34 |
| net-p2p/bittornado-0.3.18 (virtual/python) |
35 |
| (>=dev-lang/python-2.1) |
36 |
| sci-libs/gdal-1.3.1 (virtual/python) |
37 |
| (python? dev-lang/python) |
38 |
| sys-apps/file-4.20-r1 (virtual/python) |
39 |
| s-apps/portage-2.1.2.2 (>=dev-lang/python-2.3) |
40 |
| sys-libs/cracklib-2.8.9-r1 (python? dev-lang/python) |
41 |
| sys-libs/libcap-1.10-r5 (!nocxx & python? >=virtual/python-2.2.1) |
42 |
| [ Searching for packages depending on ruby... ] |
43 |
| app-editors/vim-7.0.174 (ruby? virtual/ruby) |
44 |
| dev-lang/swig-1.3.25 (ruby? virtual/ruby) |
45 |
| dev-ruby/ruby-config-0.3.1 (virtual/ruby) |
46 |
| media-gfx/graphviz-2.8-r2 (ruby? dev-lang/ruby) |
47 |
| media-sound/amarok-1.4.5-r1 (=dev-lang/ruby-1.8*) |
48 |
|
49 |
so you can see here how I can see whether I want these files. Finally, |
50 |
i mention revdep-rebuild. |
51 |
dan@pascal ~ $ revdep-rebuild |
52 |
| Configuring search environment for revdep-rebuild |
53 |
| Checking reverse dependencies... |
54 |
| Packages containing binaries and libraries broken by a package update |
55 |
| will be emerged. |
56 |
| Collecting system binaries and libraries... done. |
57 |
| (/home/dan/.revdep-rebuild.1_files) |
58 |
| Collecting complete LD_LIBRARY_PATH... done. |
59 |
| (/home/dan/.revdep-rebuild.2_ldpath) |
60 |
| Checking dynamic linking consistency... |
61 |
| done. |
62 |
| (/home/dan/.revdep-rebuild.3_rebuild) |
63 |
| |
64 |
| Assigning files to ebuilds... Nothing to rebuild |
65 |
| |
66 |
| Evaluating package order... done. |
67 |
| (/home/dan/.revdep-rebuild.5_order) |
68 |
| |
69 |
| Dynamic linking on your system is consistent... All done. |
70 |
|
71 |
you can then do an |
72 |
| emerge --depclean |
73 |
and clear out your dependancies. I like to do another revdep rebuild |
74 |
just to make sure at the end. |
75 |
-- |
76 |
gentoo-user@g.o mailing list |