1 |
On Fri, 2003-01-03 at 20:54, Terje Kvernes wrote: |
2 |
> right. broken stuff, be it binaries or libraries, come up as "data" |
3 |
> with "file". this can, thankfully, be used to find most of the |
4 |
> broken stuff: |
5 |
> |
6 |
> for f in $( file /usr/bin/* /bin/* /usr/X11R6/bin/* /usr/lib/*.so\ |
7 |
> /lib/*.so /usr/kde/3/lib/*.so | grep ":.*data" |\ |
8 |
> cut -f1 -d: ); do qpkg -nc -f $f; done | sort | uniq > /tmp/packages |
9 |
> |
10 |
Good idea, be careful not only binaries reside in those dirs, but that |
11 |
will not hurt you. |
12 |
|
13 |
> this harked up the following packages on my box, after I've rebuilt |
14 |
> about ten or so by hand. at least that's a start. :-) |
15 |
> |
16 |
> hm, what other directories should I check? |
17 |
> |
18 |
see /etc/prelink.conf for the dirs prelink reads |
19 |
|
20 |
-- |
21 |
Stefan Jones <cretin@g.o> |
22 |
Gentoo Linux |
23 |
|
24 |
|
25 |
-- |
26 |
gentoo-dev@g.o mailing list |