Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] preparing for profile switch -- major problem
Date: Sun, 10 Dec 2017 07:17:18
Message-Id: m3k1xvjbm2.wl-covici@ccs.covici.com
In Reply to: Re: [gentoo-user] preparing for profile switch -- major problem by Daniel Frey
1 On Sat, 09 Dec 2017 18:20:40 -0500,
2 Daniel Frey wrote:
3 >
4 > On 12/09/17 08:18, John Covici wrote:
5 > > On Sat, 09 Dec 2017 10:28:25 -0500,
6 > > Daniel Frey wrote:
7 > >>
8 > >> I had a lot of problems with the perl updates as well, and could
9 > >> not get it to resolve. I wasted over an hour trying to resolve it
10 > >> (my poor Celeron would take 5-10 minutes trying to calculate
11 > >> dependencies, and I had to do this 6-7 times.)
12 > >>
13 > >> Note, what I did worked for me and may not work for you, so use
14 > >> this advice at your own risk: I emerged the new perl with
15 > >> --nodeps, and invoked `perl-cleaner all` to fix the mess
16 > >> afterwards. It had everything resolved in < 10 minutes. I didn't
17 > >> suffer any system breakage from using the sledgehammer approach,
18 > >> but others may not be so lucky... so, as I said, try it at your
19 > >> own risk.
20 > >
21 > > I was thinking of just that myself, I may try that later today. I am
22 > > using zfs, and do snapshots frequently, so it might be possible to get
23 > > back if things are a disaster, but it might work at that. Did you
24 > > emerge perl again without the --nodeps afterwards to make sure?
25 > >
26 > >
27 >
28 > Well, due to the long compile times I was trying to get the
29 > dependencies resolved so I could run `emerge -auDNe world
30 > --exclude sys-devel/gcc --exclude sys-devel/llvm --exclude
31 > sys-devel/libtool --exclude sys-devel/binutils --exclude
32 > sys-libs/glibc --keep-going world` so it would recompile
33 > everything and update as it went along. (I had already built the
34 > excluded packages under the new profile with gcc6.)
35 >
36 > While I didn't remerge perl immediately after, it was included in
37 > the rebuild process of --emptytree.
38 >
39 > And it was successful! I only had perl blocking everything, so
40 > once I sledgeammered that update, it was able to calculate its
41 > dependency list, and it rebuilt all 500 installed packages (well,
42 > less the ones I excluded) successfully - no failed packages or
43 > anything, while upgrading as needed. It did take almost 30 hours
44 > though.
45 >
46 > When trying to get perl blockers to resolve I even tried
47 > --backtrack=200 and it still failed. That was try 5 or 6 and at
48 > that point I was getting annoyed and tried the sledgehammer
49 > technique.
50
51 OK, thanks, I think I will try that.
52
53 --
54 Your life is like a penny. You're going to lose it. The question is:
55 How do
56 you spend it?
57
58 John Covici
59 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] preparing for profile switch -- major problem Kent Fredric <kentnl@g.o>