1 |
On Tue, 14 Mar 2017 12:52:07 -0400, |
2 |
Alan McKinnon wrote: |
3 |
> |
4 |
> On 14/03/2017 17:45, Grant Edwards wrote: |
5 |
> > After I do an update, I get this message: |
6 |
> > |
7 |
> > !!! existing preserved libs: |
8 |
> > >>> package: sys-libs/binutils-libs-2.27 |
9 |
> > * - /usr/lib64/libbfd-2.25.1.so |
10 |
> > * used by /usr/lib64/binutils/x86_64-pc-linux-gnu/2.25.1/libopcodes-2.25.1.so (sys-devel/binutils-2.25.1-r1) |
11 |
> > Use emerge @preserved-rebuild to rebuild packages using these libraries |
12 |
> > |
13 |
> > When I do an 'emerge @preserved-rebuild', it re-builds |
14 |
> > binutils-2.25.1, and then shows the same warning again. |
15 |
> > |
16 |
> > I've run @preserved-rebuild 5 or 6 times, sourcing /etc/profile and |
17 |
> > logging out/in between. Still, I always get the same preserved-libs |
18 |
> > warning. |
19 |
> > |
20 |
> > Portage seems upset tht binutils-2.25.1 is using binutils-libs-2.25.1 |
21 |
> > instead of binutils-libs-2.27, but re-emerging binutils-2.25.1 doesn't |
22 |
> > help. |
23 |
> > |
24 |
> |
25 |
> I've run into similar things a few times and never really got to the |
26 |
> bottom of any of them and ldd wasn't very useful either. |
27 |
> |
28 |
> How I have got around it in the past is to stop rebuilding, that just |
29 |
> keeps the crazy loop going as each time the new thing doesn't like the |
30 |
> existing thing. So I emerge -C the offending package and the |
31 |
> dependencies, then emerge both back in so they start from scratch. |
32 |
> |
33 |
> But in this case, removing binutils might be problematic, that's where |
34 |
> your elf tools and linker come from. A workaround comes to mind: |
35 |
> |
36 |
> - quickpkg both packages |
37 |
> - emerge -C both packages |
38 |
> - manually untar both quickpkg archives to their original location. Now |
39 |
> you have all your tools back, without the package metadata to confuse |
40 |
> portage |
41 |
> - emerge both packages, ignoring the expected file collision errors. |
42 |
|
43 |
What I did when I had this, was to unmerge an older version of |
44 |
binutils which I had, seemed no reason to keep it, but do an emerge |
45 |
--depclean on it just to be safe. Once I did that the preserved libs |
46 |
warning went away. |
47 |
|
48 |
-- |
49 |
Your life is like a penny. You're going to lose it. The question is: |
50 |
How do |
51 |
you spend it? |
52 |
|
53 |
John Covici |
54 |
covici@××××××××××.com |