turtles Veteran
Joined: 31 Dec 2004 Posts: 1697
|
Posted: Sun Jan 03, 2016 10:02 pm Post subject: revdep-rebuild not checking broken symlinks? |
|
|
If I have broken /usr somehow and I run the ls or symlinks command and see lots of broken symlinks, can revde-rebuild find those and re emerge the packages?
For example Code: | revdep-rebuild -- -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
* 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.
|
However there are clearly broken symlinks revdep-rebuild is missing
Code: | symlinks /usr/lib64
absolute: /usr/lib64/consolekit -> /usr/lib/ConsoleKit
dangling: /usr/lib64/libbrscandec3.so -> /usr/lib64/libbrscandec3.so.1
dangling: /usr/lib64/liblapack.a -> lapack/reference/liblapack.a
dangling: /usr/lib64/libglade-2.0.so -> libglade-2.0.so.0.0.7
|
Code: | ls /usr/lib64/libglade-2.0.so.0.0.7
ls: cannot access /usr/lib64/libglade-2.0.so.0.0.7: No such file or directory |
Code: |
ldd /usr/lib64/libglade-2.0.so
ldd: /usr/lib64/libglade-2.0.so: No such file or directory |
Code: | ls /usr/lib64/libglade-2.0.so
/usr/lib64/libglade-2.0.so | <- blinking red
Is it required?
Code: |
equery depends gnome-base/libglade
* These packages depend on gnome-base/libglade:
app-office/mdbtools-0.7.1 (gnome ? gnome-base/libglade:2.0)
dev-python/pygtk-2.24.0-r4 (>=gnome-base/libglade-2.5:2.0)
gnome-base/libgnomecanvas-2.30.3-r1 (glade ? >=gnome-base/libglade-2.6.4-r1:2.0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]) |
Yes _________________ Donate to Gentoo |
|