Re: [gentoo-user] lib w/o a package?

2007-04-14 Thread Daniel Iliev
Dan Farrell wrote:
 On Fri, 13 Apr 2007 21:19:38 -0500
 Albert Hopkins [EMAIL PROTECTED] 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:
 | [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)
   

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


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] lib w/o a package?

2007-04-14 Thread Daniel Iliev
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


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] lib w/o a package?

2007-04-13 Thread Daniel Iliev
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


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] lib w/o a package?

2007-04-13 Thread Albert Hopkins
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

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] lib w/o a package?

2007-04-13 Thread Dan Farrell
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



Re: [gentoo-user] lib w/o a package?

2007-04-13 Thread Bo Ørsted Andresen
On Saturday 14 April 2007 07:23:59 Dan Farrell wrote:
 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.

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


signature.asc
Description: This is a digitally signed message part.