1 |
On Dienstag, 14. März 2017 18:43:07 CET John Covici wrote: |
2 |
> On Tue, 14 Mar 2017 12:52:07 -0400, |
3 |
> |
4 |
> Alan McKinnon wrote: |
5 |
> > On 14/03/2017 17:45, Grant Edwards wrote: |
6 |
> > > After I do an update, I get this message: |
7 |
> > > !!! existing preserved libs: |
8 |
> > > >>> package: sys-libs/binutils-libs-2.27 |
9 |
> > > |
10 |
> > > * - /usr/lib64/libbfd-2.25.1.so |
11 |
> > > * used by |
12 |
> > > /usr/lib64/binutils/x86_64-pc-linux-gnu/2.25.1/libopcodes-2.25.1.so |
13 |
> > > (sys-devel/binutils-2.25.1-r1)> > |
14 |
> > > Use emerge @preserved-rebuild to rebuild packages using these |
15 |
> > > libraries |
16 |
> > > |
17 |
> > > When I do an 'emerge @preserved-rebuild', it re-builds |
18 |
> > > binutils-2.25.1, and then shows the same warning again. |
19 |
> > > |
20 |
> > > I've run @preserved-rebuild 5 or 6 times, sourcing /etc/profile and |
21 |
> > > logging out/in between. Still, I always get the same preserved-libs |
22 |
> > > warning. |
23 |
> > > |
24 |
> > > Portage seems upset tht binutils-2.25.1 is using binutils-libs-2.25.1 |
25 |
> > > instead of binutils-libs-2.27, but re-emerging binutils-2.25.1 doesn't |
26 |
> > > help. |
27 |
> > |
28 |
> > I've run into similar things a few times and never really got to the |
29 |
> > bottom of any of them and ldd wasn't very useful either. |
30 |
> > |
31 |
> > How I have got around it in the past is to stop rebuilding, that just |
32 |
> > keeps the crazy loop going as each time the new thing doesn't like the |
33 |
> > existing thing. So I emerge -C the offending package and the |
34 |
> > dependencies, then emerge both back in so they start from scratch. |
35 |
> > |
36 |
> > But in this case, removing binutils might be problematic, that's where |
37 |
> > your elf tools and linker come from. A workaround comes to mind: |
38 |
> > |
39 |
> > - quickpkg both packages |
40 |
> > - emerge -C both packages |
41 |
> > - manually untar both quickpkg archives to their original location. Now |
42 |
> > you have all your tools back, without the package metadata to confuse |
43 |
> > portage |
44 |
> > - emerge both packages, ignoring the expected file collision errors. |
45 |
> |
46 |
> What I did when I had this, was to unmerge an older version of |
47 |
> binutils which I had, seemed no reason to keep it, but do an emerge |
48 |
> --depclean on it just to be safe. Once I did that the preserved libs |
49 |
> warning went away. |
50 |
|
51 |
Wow, when I saw OPs Email, I didn't notice the version, but it seems that that |
52 |
would explain it. |
53 |
|
54 |
In this case it seems that one should keep in mind the recommendation to use |
55 |
--depclean after a @world update (as a matter of fact, emerge helpfully prints |
56 |
out such a message after @world updates). I have been doing so religiously |
57 |
for years now. |
58 |
|
59 |
HTH |
60 |
-- |
61 |
Marc Joliet |
62 |
-- |
63 |
"People who think they know everything really annoy those of us who know we |
64 |
don't" - Bjarne Stroustrup |