Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed
Date: Mon, 15 Jun 2020 14:22:09
Message-Id: 4585048.31r3eYUQgx@eve
In Reply to: Re: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed by n952162
1 On Monday, June 15, 2020 1:26:06 PM CEST n952162 wrote:
2 > Thank you for the response. Unfortunately it didn't work. The logs are
3 > attached (tgt=portage, system, world) and summarized below.
4 >
5 > Perl keeps coming up as a problem, so, as an example, I tried to build
6 > perl, including all the packages that say they need it on the command
7 > line. Emerge comes back with the same result. I can't understand why,
8 > e.g. Data-Dump requires perl 5.24:
9 >
10 > dev-lang/perl:0/5.24=[-build(-)] required by
11 > (dev-perl/Data-Dump-1.230.0:0/0::gentoo, installed) USE="" ABI_X86="(64)"
12 >
13 > when it's included on the command line to re-emerge:
14 >
15 > + sudo $HOME/adm/gentoo/src/portage/bin/emerge -vuUD --verbose-conflicts
16 > --backtrack=100 --with-bdeps=y dev-perl/Text-CharWidth
17 > dev-perl/HTML-Tree *dev-perl/Data-Dump* dev-perl/TermReadKey
18 > dev-perl/HTML-Form dev-perl/LWP-MediaTypes dev-perl/XML-Parser
19 > dev-perl/Text-WrapI18N app-text/po4a dev-perl/HTTP-Date
20 > dev-perl/Unicode-EastAsianWidth dev-perl/IO-HTML dev-perl/SGMLSpm
21 > dev-perl/Locale-gettext dev-perl/WWW-Mechanize dev-perl/HTML-Tagset
22 > dev-perl/Date-Manip dev-perl/File-Listing dev-lang/perl
23 >
24
25 <Snipped lengthy output>
26
27 With a system that has not been updated for over 3 years, I would suggest to
28 Start from scratch and copy the config across.
29
30 If you do insist on trying to work through this, I would suggest the following
31 (READ and understand all steps before executing any):
32
33 0) Make sure you do NOT change your profile. (As you adjusted it from 13.0 to
34 17.1, change it back to 13.0, or if not available, 17.0)
35 - Profile 17.1 is NOT going to work at this point.
36
37
38 1) Rename the world and world_sets files to (temporarily) clear the entire
39 world-set
40 (These files are located in "/var/lib/portage")
41
42
43 2) execute: "emerge -vauDN --with-bdeps=y --backtrack=200 @world" and
44 alternate with "emerge --update --newuse --deep @world" until both have
45 nothing left to do.
46
47 3) execute "emerge -va --depclean"
48 - This is a LARGE set, don't worry, it will all come back (You DID backup the
49 files in step 1, right?)
50
51 4) Fix any config-file changes that are left over and follow this with steps
52 "2", "3" and "4" until your system is clean.
53
54 5) Install, configure and compile the kernel and ensure you can reboot the
55 system. (This is important for the next step)
56
57 6) Follow the news-item regarding migrating to 17.1 and follow this exactly.
58 (Your install is extremely basic, so it should be nice and easy)
59
60 7) Reinstall all needed software (read your world and world_set backup-files
61 to see what you had before and ONLY install those that you actually need)
62
63 8) Fix any config-files that are needed for the software you re-installed in
64 step 7
65
66 9) Congratulate yourself for managing to upgrade a system after 3+ years
67
68
69 In my experience, when the system has not been updated for this long, the
70 fastest way to resolve this is to start from scratch with a backup of any
71 config and data files.
72
73 --
74 Joost

Replies