public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] lib w/o a package?
@ 2007-04-14  2:02 Daniel Iliev
  2007-04-14  2:19 ` Albert Hopkins
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Iliev @ 2007-04-14  2:02 UTC (permalink / raw
  To: gentoo-user

Hi, list!

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?


================
revdep-rebuild -X -i -pv
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.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/lib/python2.4/lib-dynload/gdbm.so (requires  libgdbm.so.3)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to packages...
  *** /usr/lib/python2.4/lib-dynload/gdbm.so not owned by any package is
broken! ***
  /usr/lib/python2.4/lib-dynload/gdbm.so -> (none)
 done.
  (/root/.revdep-rebuild.4_packages_raw,
/root/.revdep-rebuild.4_package_owners)

Cleaning list of packages to rebuild... done.
  (/root/.revdep-rebuild.4_packages)

Assigning packages to ebuilds... Nothing to rebuild

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.

=============
 "equery b gdbm.so" and "qfile gdbm.so" give nothing.
=============
file /usr/lib/python2.4/lib-dynload/gdbm.so
/usr/lib/python2.4/lib-dynload/gdbm.so: ELF 32-bit LSB shared object,
Intel 80386, version 1 (SYSV), stripped
=============

Thanks in advance!

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] lib w/o a package?
  2007-04-14  2:02 [gentoo-user] lib w/o a package? Daniel Iliev
@ 2007-04-14  2:19 ` Albert Hopkins
  2007-04-14  5:23   ` Dan Farrell
  0 siblings, 1 reply; 6+ messages in thread
From: Albert Hopkins @ 2007-04-14  2:19 UTC (permalink / raw
  To: gentoo-user

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

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] lib w/o a package?
  2007-04-14  2:19 ` Albert Hopkins
@ 2007-04-14  5:23   ` Dan Farrell
  2007-04-14  5:38     ` Bo Ørsted Andresen
  2007-04-14 11:38     ` Daniel Iliev
  0 siblings, 2 replies; 6+ messages in thread
From: Dan Farrell @ 2007-04-14  5:23 UTC (permalink / raw
  To: gentoo-user

On Fri, 13 Apr 2007 21:19:38 -0500
Albert Hopkins <marduk@gentoo.org> 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:
| dan@pascal ~ $ 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...
| dan@pascal ~ $ 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.  
dan@pascal ~ $ 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.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] lib w/o a package?
  2007-04-14  5:23   ` Dan Farrell
@ 2007-04-14  5:38     ` Bo Ørsted Andresen
  2007-04-14 11:46       ` Daniel Iliev
  2007-04-14 11:38     ` Daniel Iliev
  1 sibling, 1 reply; 6+ messages in thread
From: Bo Ørsted Andresen @ 2007-04-14  5:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]

On Saturday 14 April 2007 07:23:59 Dan Farrell wrote:
> equery takes the guesswork out of package manangement:
> | dan@pascal ~ $ 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.

Indeed there exists no authoritative source that can be used to show that if 
no package on your system claims to own a given file...

http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl is the closest 
you can get currently..

> note also that you can check to see why you need them...

Although those results aren't always entirely reliable (as I've explained at 
length before on this list).

-- 
Bo Andresen

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] lib w/o a package?
  2007-04-14  5:23   ` Dan Farrell
  2007-04-14  5:38     ` Bo Ørsted Andresen
@ 2007-04-14 11:38     ` Daniel Iliev
  1 sibling, 0 replies; 6+ messages in thread
From: Daniel Iliev @ 2007-04-14 11:38 UTC (permalink / raw
  To: gentoo-user

Dan Farrell wrote:
> On Fri, 13 Apr 2007 21:19:38 -0500
> Albert Hopkins <marduk@gentoo.org> wrote:
>
>   
>>
>> 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
>>
>>     

Yes, but I don't have it installed:
emerge -pv gdbm
--snip--
[ebuild  N    ] sys-libs/gdbm-1.8.3-r3  USE="-berkdb" 224 kB

I don't have the USE flag of the same name switched on either:

euse -i gdbm
global use flags (searching: gdbm)
************************************************************
[-  D ] gdbm - Adds support for sys-libs/gdbm (GNU database libraries)

local use flags (searching: gdbm)
************************************************************
no matching entries found


> equery takes the guesswork out of package manangement:
> | dan@pascal ~ $ 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)
>   

Yes, I already have posted that "equery b" returns no results here. I
suppose you have "gdbm" and/or "berkdb" USE flags switched on for
python. It's not the case here:

emerge -pv python
[binary   R   ] dev-lang/python-2.4.3-r4  USE="ncurses readline ssl
-berkdb -bootstrap -build -doc -gdbm -ipv6 -nocxx -tk -ucs2"


-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] lib w/o a package?
  2007-04-14  5:38     ` Bo Ørsted Andresen
@ 2007-04-14 11:46       ` Daniel Iliev
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Iliev @ 2007-04-14 11:46 UTC (permalink / raw
  To: gentoo-user

Bo Ørsted Andresen wrote:
>
> Indeed there exists no authoritative source that can be used to show that if 
> no package on your system claims to own a given file...
>
> http://www.rommel.stw.uni-erlangen.de/~fejf/cgi-bin/pfs-web.pl is the closest 
> you can get currently..
>
>
>   

Thanks!
According to this online tool it appears that python the only package
installing the file in question. I have none of the others installed. I
moved "gdbm.so" from its original location into a directory outside the
$PATH. Now revdep-rebuild has no complains. I'll keep it this way for
some time and if there are no problems I'll get rid of  gdbm.so.

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-04-14 11:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-14  2:02 [gentoo-user] lib w/o a package? Daniel Iliev
2007-04-14  2:19 ` Albert Hopkins
2007-04-14  5:23   ` Dan Farrell
2007-04-14  5:38     ` Bo Ørsted Andresen
2007-04-14 11:46       ` Daniel Iliev
2007-04-14 11:38     ` Daniel Iliev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox