On Thu, 09 Jan 2014 16:10:11 -0800 walt <[email protected]> wrote: > I'm a layman noob, so I'm probably making a noob mistake here. Can > you spot the error for me please?
No problem, let's find wally ... I mean ... the error. :)
> #ls -la /var/lib/layman/
> total 312
> drwxr-xr-x 3 root root 4096 Jan 9 15:23 .
> drwxr-xr-x 35 root root 4096 Dec 13 15:11 ..
> -rw-r--r-- 1 root root 0 Jan 9 15:16 .keep_app-portage_layman-0
> -rw-r--r-- 1 root root 29 Jan 9 15:23
> cache_ac494f50f5736be7871962c0dec7b3bb.timestamp -rw-r--r-- 1 root
> root 294573 Jan 9 15:23 cache_ac494f50f5736be7871962c0dec7b3bb.xml
> -rw-r--r-- 1 root root 616 Jan 9 15:23 installed.xml -rw-r--r--
> 1 root root 38 Jan 9 15:14 make.conf drwxr-xr-x 25 root root
> 4096 Jan 9 15:23 mate
Looks good and similar to mine.
> #cat /var/lib/layman/make.conf
> PORTDIR_OVERLAY='/usr/local/portage'
Why do you cat this file? Did you change it?
> #ls -la /usr/local/portage/
> total 12
> drwxr-xr-x 3 root root 4096 Jan 9 15:17 .
> drwxr-xr-x 11 root root 4096 Jan 9 15:05 ..
> drwxr-xr-x 2 root root 4096 Jan 9 15:18 metadata
Should be fine, I think it is unrelated to the error.
> So, what's my problem? (I've already installed the 'mate' overlay):
Given that you inspect those folders, did you change something there?
> #layman -d mate
>
> * Deleting selected overlays,...
>
> * CLI: Errors occurred processing action delete
> * Exception caught disabling repository 'mate':
> * MakeConf: read(); Did not find a PORTDIR_OVERLAY entry in
> file /var/lib/layman/make.conf! Did you specify the correct file?
We both see it, so, that's alright. But why doesn't layman see it?
You need to add this to /etc/portage/make.conf:
source /var/lib/layman/make.conf
Then layman will be able to see it.
> I've read and re-read that make.conf file and I don't see anything
> wrong with it -- but my eyes are not so good lately. Is there a typo
> or something?
If you changed it, you might want to start over by
removing /var/lib/layman and emerging it again, then add your overlays
back; to ensure it is correct again.
If you want to do it manually, let's say you have overlay aaa and bbb;
then /var/lib/layman/make.conf contents would be like this:
PORTDIR_OVERLAY="
/var/lib/layman/aaa
/var/lib/layman/bbb
$PORTDIR_OVERLAY
/usr/local/portage"
> Are the file perms okay? I tried chown-ing everything to
> portage:portage but that didn't change anything. I'm stumped.
Unsure if that works; but if it is an error, put it back to root
or otherwise just remove and reinstall layman would help.
--
With kind regards,
Tom Wijsman (TomWij)
Gentoo Developer
E-mail address : [email protected]
GPG Public Key : 6D34E57D
GPG Fingerprint : C165 AF18 AB4C 400B C3D2 ABF0 95B2 1FCD 6D34 E57D
signature.asc
Description: PGP signature

