TIP_Control_revdep-rebuild
| Terminals / Shells • Network • X Window System • Portage • System • Filesystems • Kernel • Other |
Contents |
Introduction
revdep-rebuild is a nice script that is part of the app-portage/gentoolkit package. It was written to rebuild reverse dependencies on a Gentoo system that may have been broken due to unmerging or upgrading packages. While it is useful, it does have some bugs.
Problems
Binary packages
One annoying problem is that revdep-rebuild always wants to rebuild binary packages such as app-office/openoffice-bin. Here is the fix.
Solution #1
Add /usr/lib/openoffice (or /usr/lib32/openoffice for x86_64) to SEARCH_DIRS_MASK in /etc/make.conf (For other binary packages under /opt, also add /opt to SEARCH_DIRS_MASK). This only applies to gentoolkit-0.2.1 or newer.
Solution #2 (obsolete)
Edit /usr/bin/revdep-rebuild. Search for the variable SEARCH_DIRS and remove the /opt path.
That's it. Save the file and exit out. Now, OpenOffice (and any other binary package that installs to /opt) will not show up when you run revdep-rebuild.
Dont forget to:
rm /root/.revdep-rebuild*.?_*
See Also
The latest revdep-rebuild allows the use of SEARCH_DIRS_MASK in /etc/make.conf.
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and real estate agent tools.
