What's wrong with that ? You have two (or even more) db packages installed in
different slots, and due to historical reasons some packages were built agains
one version and some - against another. Remove the old version manually and
run revdep-rebuild


> Hi,
>    I what way can I improve my use of the tools? I don't remember
> seeing a case before where revdep-rebuild -ip was clean but emerge
> --depclean didn't want to remove files. I.e. - the
> sys-libs/db-4.5.20_p2-r1 message.
> 
> Thanks,
> Mark
> 
> lightning ~ # 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
> [ 100% ]
> 
>  * Dynamic linking on your system is consistent... All done.
> lightning ~ # emerge -p --depclean
> 
>  * Always study the list of packages to be cleaned for any obvious
>  * mistakes. Packages that are part of the world set will always
>  * be kept.  They can be manually added to this set with
>  * `emerge --noreplace <atom>`.  Packages that are listed in
>  * package.provided (see portage(5)) will be removed by
>  * depclean, even if they are part of the world set.
>  *
>  * As a safety measure, depclean will not remove any packages
>  * unless *all* required dependencies have been resolved.  As a
>  * consequence, it is often necessary to run `emerge --update
>  * --newuse --deep @system @world` prior to depclean.
> 
> Calculating dependencies... done!
> >>> Checking for lib consumers...
> >>> Assigning files to packages...
>  * In order to avoid breakage of link level dependencies, one or more
>  * packages will not be removed. This can be solved by rebuilding the
>  * packages that pulled them in.
>  *
>  *   sys-libs/db-4.5.20_p2-r1 pulled in by:
>  *     dev-lang/perl-5.8.8-r5
>  *     perl-core/DB_File-1.815
>  *
> >>> Adding lib providers to graph...
>  \
> Calculating dependencies... done!
> >>> No packages selected for removal by depclean
> >>> To see reverse dependencies, use --verbose
> Packages installed:   801
> Packages in world:    95
> Packages in system:   51
> Required packages:    801
> Number to remove:     0
> lightning ~ # emerge -pvDuN @world
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> 
> Total: 0 packages, Size of downloads: 0 kB
> lightning ~ #



--
Dmitri Pogosyan            Department of Physics
Professor                  University of Alberta
tel 1-780-492-2150         11322 - 89 Avenue
fax 1-780-492-0714         Edmonton, AB, T6G 2G7, CANADA



Reply via email to