1 |
On Mon, May 21, 2012 at 2:16 PM, Thanasis <thanasis@××××××××××.org> wrote: |
2 |
> on 05/21/2012 08:49 PM Michael Mol wrote the following: |
3 |
>> On Mon, May 21, 2012 at 1:28 PM, Thanasis <thanasis@××××××××××.org> wrote: |
4 |
>>> After a recent update of dev-libs/libffi from version 3.0.10 to 3.0.11 |
5 |
>>> the ebuild log suggests to run: |
6 |
>>> |
7 |
>>> # revdep-rebuild --library '/usr/lib64/libffi.so.5' |
8 |
>>> |
9 |
>>> and once finished running revdep-rebuild, it should be safe to |
10 |
>>> delete the old libraries, like so: |
11 |
>>> |
12 |
>>> # rm '/usr/lib64/libffi.so.5' |
13 |
>>> |
14 |
>>> However by querying: |
15 |
>>> |
16 |
>>> equery b /usr/lib/libffi.so.5 |
17 |
>>> * Searching for /usr/lib/libffi.so.5 ... |
18 |
>>> dev-libs/libffi-3.0.11 (/usr/lib64/libffi.so.5) |
19 |
>>> |
20 |
>>> we see that /usr/lib64/libffi.so.5 is reported as belonging to |
21 |
>>> dev-libs/libffi-3.0.11. Is that normal? |
22 |
>> |
23 |
>> I think so. It might be clearer if equery omitted the version number, |
24 |
>> or if it tracked which versions of a package a file belonged to. |
25 |
> |
26 |
> So, are you saying that libffi.so.5 does *not* actually belong to |
27 |
> dev-libs/libffi-3.0.11 ? |
28 |
|
29 |
I would be shocked if it were generated by that absolute atom, if |
30 |
that's what you mean. I think it's valid to expect it was generated by |
31 |
an old version of that package. |
32 |
|
33 |
If anything, it's probably most precise to say that libffi.so.5 |
34 |
belongs to dev-libs/libffi, but not to any version either in your |
35 |
world file nor pulled in as a dependency by something else. (Saying |
36 |
"it doesn't belong to any currently-installed version of a |
37 |
currently-installed package" is ambiguous, depending on whether you |
38 |
count the file's presence as meaning that the older version is |
39 |
installed.) |
40 |
|
41 |
All said, though, I've never bothered to run "equery b" on something |
42 |
portage told me was an obsolete version of a library. I always run |
43 |
revdep-rebuild, and then remove the old version, as the instructions |
44 |
say. |
45 |
|
46 |
-- |
47 |
:wq |