Gentoo Archives: gentoo-user

From: Tom Wijsman <TomWij@g.o>
To: w41ter@×××××.com
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Frustrating error message from layman
Date: Fri, 10 Jan 2014 01:44:31
Message-Id: 20140110024336.7c761e4a@TOMWIJ-GENTOO
In Reply to: [gentoo-user] Frustrating error message from layman by walt
1 On Thu, 09 Jan 2014 16:10:11 -0800
2 walt <w41ter@×××××.com> wrote:
3
4 > I'm a layman noob, so I'm probably making a noob mistake here. Can
5 > you spot the error for me please?
6
7 No problem, let's find wally ... I mean ... the error. :)
8
9 > #ls -la /var/lib/layman/
10 > total 312
11 > drwxr-xr-x 3 root root 4096 Jan 9 15:23 .
12 > drwxr-xr-x 35 root root 4096 Dec 13 15:11 ..
13 > -rw-r--r-- 1 root root 0 Jan 9 15:16 .keep_app-portage_layman-0
14 > -rw-r--r-- 1 root root 29 Jan 9 15:23
15 > cache_ac494f50f5736be7871962c0dec7b3bb.timestamp -rw-r--r-- 1 root
16 > root 294573 Jan 9 15:23 cache_ac494f50f5736be7871962c0dec7b3bb.xml
17 > -rw-r--r-- 1 root root 616 Jan 9 15:23 installed.xml -rw-r--r--
18 > 1 root root 38 Jan 9 15:14 make.conf drwxr-xr-x 25 root root
19 > 4096 Jan 9 15:23 mate
20
21 Looks good and similar to mine.
22
23 > #cat /var/lib/layman/make.conf
24 > PORTDIR_OVERLAY='/usr/local/portage'
25
26 Why do you cat this file? Did you change it?
27
28 > #ls -la /usr/local/portage/
29 > total 12
30 > drwxr-xr-x 3 root root 4096 Jan 9 15:17 .
31 > drwxr-xr-x 11 root root 4096 Jan 9 15:05 ..
32 > drwxr-xr-x 2 root root 4096 Jan 9 15:18 metadata
33
34 Should be fine, I think it is unrelated to the error.
35
36 > So, what's my problem? (I've already installed the 'mate' overlay):
37
38 Given that you inspect those folders, did you change something there?
39
40 > #layman -d mate
41 >
42 > * Deleting selected overlays,...
43 >
44 > * CLI: Errors occurred processing action delete
45 > * Exception caught disabling repository 'mate':
46 > * MakeConf: read(); Did not find a PORTDIR_OVERLAY entry in
47 > file /var/lib/layman/make.conf! Did you specify the correct file?
48
49 We both see it, so, that's alright. But why doesn't layman see it?
50
51 You need to add this to /etc/portage/make.conf:
52
53 source /var/lib/layman/make.conf
54
55 Then layman will be able to see it.
56
57 > I've read and re-read that make.conf file and I don't see anything
58 > wrong with it -- but my eyes are not so good lately. Is there a typo
59 > or something?
60
61 If you changed it, you might want to start over by
62 removing /var/lib/layman and emerging it again, then add your overlays
63 back; to ensure it is correct again.
64
65 If you want to do it manually, let's say you have overlay aaa and bbb;
66 then /var/lib/layman/make.conf contents would be like this:
67
68 PORTDIR_OVERLAY="
69 /var/lib/layman/aaa
70 /var/lib/layman/bbb
71 $PORTDIR_OVERLAY
72 /usr/local/portage"
73
74 > Are the file perms okay? I tried chown-ing everything to
75 > portage:portage but that didn't change anything. I'm stumped.
76
77 Unsure if that works; but if it is an error, put it back to root
78 or otherwise just remove and reinstall layman would help.
79
80 --
81 With kind regards,
82
83 Tom Wijsman (TomWij)
84 Gentoo Developer
85
86 E-mail address : TomWij@g.o
87 GPG Public Key : 6D34E57D
88 GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: Frustrating error message from layman [SOLVED] walt <w41ter@×××××.com>