The utility appears to list all the broken packages and such, then does not rebuild anything at all, and states that linking is consistent. Here is the kind of output I was getting (the goal was to prelink things; I provide that truncated output in order to show that revdep-rebuild didn't do its job). The version is the one found in app-portage/gentoolkit-0.2.2_pre1. falcon falcon # revdep-rebuild; prelink -a 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... using existing /root/.revdep-rebuild.1_files. Collecting complete LD_LIBRARY_PATH... using existing /root/.revdep-rebuild.2_ldpath. Checking dynamic linking consistency... broken /bin/cdxa2mpeg (requires libcdio.so.5) broken /bin/ffmpeg (requires libavcodec.so.0 libavformat.so.0 libavutil.so.0) broken /bin/ffserver (requires libavcodec.so.0 libavformat.so.0 libavutil.so.0) broken /bin/free (requires libproc-3.2.5.so) broken /bin/k3b (requires libk3b.so.1) broken /bin/pgrep (requires libproc-3.2.5.so) broken /bin/pkill (requires libproc-3.2.5.so) broken /bin/pmap (requires libproc-3.2.5.so) broken /bin/pwdx (requires libproc-3.2.5.so) broken /bin/skill (requires libproc-3.2.5.so) broken /bin/slabtop (requires libproc-3.2.5.so) broken /bin/snice (requires libproc-3.2.5.so) broken /bin/tcdecode (requires libavcodec.so.0) broken /bin/tload (requires libproc-3.2.5.so) broken /bin/top (requires libproc-3.2.5.so) broken /bin/uptime (requires libproc-3.2.5.so) broken /bin/vcd-info (requires libcdio.so.5) broken /bin/vcdimager (requires libcdio.so.5) broken /bin/vcdxbuild (requires libcdio.so.5) broken /bin/vcdxgen (requires libcdio.so.5) broken /bin/vcdxminfo (requires libcdio.so.5) broken /bin/vcdxrip (requires libcdio.so.5) broken /bin/vmstat (requires libproc-3.2.5.so) broken /bin/w (requires libproc-3.2.5.so) broken /usr/bin/kill (requires libproc-3.2.5.so) broken /usr/bin/ps (requires libproc-3.2.5.so) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... done. (/root/.revdep-rebuild.5_order) Dynamic linking on your system is consistent... All done. prelink: /bin/cdxa2mpeg: Could not find one of the dependencies prelink: /bin/ffmpeg: Could not find one of the dependencies prelink: /bin/ffserver: Could not find one of the dependencies prelink: /bin/free: Could not find one of the dependencies
Please run revdep-rebuild --ignore --keep-temp --pretend and attach all of the resulting /root/.revdep-rebuild* files along with all of the output from the command.
Created attachment 75808 [details] revdep-rebuild.0_env
Created attachment 75810 [details] revdep-rebuild.1_files
Created attachment 75811 [details] revdep-rebuild.2_ldpath
Created attachment 75812 [details] revdep-rebuild.3_rebuild
.revdep-rebuild.4_ebuilds and .revdep-rebuild.5_order are both empty.
Also, the output for the command is verbatim from what was already written.
(In reply to comment #1) > Please run revdep-rebuild --ignore --keep-temp --pretend and attach all of the > resulting /root/.revdep-rebuild* files along with all of the output from the > command. > Done.
Okay, revdep-rebuild is not finding an installed package for those files. What does the following return? # cd /var/db/pkg # grep "obj /usr/bin/ps " */*/CONTENTS
(In reply to comment #9) > Okay, revdep-rebuild is not finding an installed package for those files. What > does the following return? > > # cd /var/db/pkg > # grep "obj /usr/bin/ps " */*/CONTENTS > Nothing at all.
Okay, revdep-rebuild is working as designed. None of the files that you have listed were installed via portage. So it is impossible to rebuild them. It looks to me like somehow you copied files from /usr/bin to /bin and vice-versa. On my system ps is /bin/ps and not /usr/bin/ps while ffmpeg is /usr/bin/ffmpeg and not /bin/ffmpeg. If you look at revdep-rebuild.1_files, you will see that you have both /bin/ffmpeg and /usr/bin/ffmpeg.