Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
revdep-rebuild not checking broken symlinks?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1655

PostPosted: Sun Jan 03, 2016 10:02 pm    Post subject: revdep-rebuild not checking broken symlinks? Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum