Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Portage/emerge became extremely slow
Date: Fri, 16 Aug 2019 15:42:27
Message-Id: IQECH75H.JHUMEQOH.UR2L3RDM@PTIP67RB.PGTOKGDK.TNTWY3XF
In Reply to: [gentoo-user] Portage/emerge became extremely slow by Alexander Puchmayr
1 On 2019.08.16 05:51, Alexander Puchmayr wrote:
2 > Hi there,
3 >
4 > In the last months I experienced that emerge takes longer and longer
5 > to
6 > collect all dependencies, sometimes more than 10 to 20 minutes until
7 > it asks
8 > me whether to install the packages.
9 >
10 > Today I had a new record. 61min(!) on a i7-Quadcore notebook, 59min
11 > user time,
12 > i.e. Portage being busy. What is portage doing all the time? It can't
13 > be that
14 > it takes more than one hour to tell me what packages to install
15 > without having
16 > installed/compiled one single package!
17 >
18 >
19 > apollo ~ # time emerge -p -avukDN -j2 --verbose-conflicts
20 > --keep-going=y --
21 > binpkg-changed-deps --with-bdeps=y --rebuilt-binaries=y --exclude
22 > cross-
23 > armv7v-hardfloat-linux-gnueabi/glibc world
24 >
25 > * IMPORTANT: config file '/etc/portage/package.keywords/yapf' needs
26 > updating.
27 > * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
28 > * sections of the emerge man page to learn how to update config
29 > files.
30 >
31 > These are the packages that would be merged, in order:
32 >
33 > Calculating dependencies... done!
34 >
35 > [verbose output messages, packages, conflicts skipped here]
36 >
37 > * IMPORTANT: 59 news items need reading for repository 'gentoo'.
38 > * Use eselect news read to view new items.
39 >
40 >
41 > real 61m51,252s
42 > user 59m5,839s
43 > sys 2m45,123s
44 > apollo ~ #
45 >
46 > Regards
47 > Alex
48 You left out some important information. When was the last time you
49 updated? Do you run stable, testing, or a mix? How many overlays do
50 you have? After the above waiting, how many packages did it want to
51 install, upgrade, reinstall?
52
53 In my experience, the long waits happen when portage has trouble
54 meeting prerequisites (dependencies) due to mix of stable and testing,
55 or due to particular combination of USE flag settings.
56
57 Jack