Gentoo Archives: gentoo-user

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to upgrade perl
Date: Tue, 21 Jun 2016 13:51:02
Message-Id: 20160621165034.b4ed9374319caa4eedc50536@gentoo.org
In Reply to: [gentoo-user] how to upgrade perl by lee
1 Hi,
2
3 On Mon, 20 Jun 2016 18:27:36 +0200 lee wrote:
4 > how do you do an update despite perl blocking it?
5 >
6 >
7 > emerge -a --update --newuse --deep --with-bdeps=y --keep-going @world
8 > [...]
9 > dev-lang/perl:0
10 >
11 > (dev-lang/perl-5.22.2:0/5.22::gentoo, ebuild scheduled for merge) pulled in by
12 > =dev-lang/perl-5.22* required by (virtual/perl-IO-Zlib-1.100.0-r6:0/0::gentoo, installed)
13 > ^ ^^^^^
14 > (and 8 more with the same problem)
15 >
16 > (dev-lang/perl-5.20.2:0/5.20::gentoo, installed) pulled in by
17 > dev-lang/perl:0/5.20=[-build(-)] required by (dev-perl/Encode-Locale-1.30.0-r1:0/0::gentoo, installed)
18 > ^^^^^^^^
19 > =dev-lang/perl-5.20* required by (virtual/perl-Pod-Parser-1.620.0:0/0::gentoo, installed)
20 > ^ ^^^^^
21 > (and 56 more with the same problems)
22 > [...]
23
24 Your problem is likely not in perl itself, but in subslot deps
25 resolution. Looks like you have other unresolved dependencies, but
26 they can't be seen because of subslots. To solve this one needs to
27 temporary disable subslots, fix all issues, then enable subslots back.
28
29 First run emerge with subslots ignored:
30 emerge -DNuav --with-bdeps=y --ignore-built-slot-operator-deps y --backtrack 10 @world
31
32 After this command you will see other blockers than listed in your
33 mail. Fix them until the command above will build dep tree without
34 errors. Afterwards run your usual emerge command with subslots
35 enabled, e.g.:
36 emerge -DNuav --with-bdeps=y --backtrack 10 @world
37 and you should be fine.
38
39 See also bug 540562:
40 https://bugs.gentoo.org/show_bug.cgi?id=540562
41
42 This problem may be solved with huge backtrack value, but in my case
43 --backtrack=100 was not enough and 1000 was not possible to check,
44 because even 100 took about 3 hours(!!) to run.
45
46 Best regards,
47 Andrew Savchenko