Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 614204

Summary: app-portage/layman doesn't remove deleted overlays from PORTDIR_OVERLAY in /var/lib/layman/make.conf
Product: Gentoo Linux Reporter: nikarul
Component: Current packagesAssignee: Layman Overlay Manager project <layman>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description nikarul 2017-03-29 13:06:34 UTC
Created attachment 468594 [details]
emerge --info

After removing two overlays using 'layman -d <name>', the overlays were removed, however layman did not take the overlay names out of /var/lib/layman/make.conf, which resulted in the following error everytime emerge was run:

  !!! Invalid PORTDIR_OVERLAY (not a dir): '/var/lib/layman/<name>'

Editing the file manually fixed the problem, but this should probably be handled automatically, otherwise it can be very confusing for the user as they are likely unaware of layman's make.conf.
Comment 1 nikarul 2017-03-29 13:07:15 UTC
Relevant forum thread (particularly the most recent posts):  https://forums.gentoo.org/viewtopic-t-1035094-start-0.html
Comment 2 Brian Evans (RETIRED) gentoo-dev 2017-03-29 13:28:24 UTC
With the latest layman, you should be removing PORTDIR_OVERLAY from make.conf and the sourcing of /var/lib/layman/make.conf as layman will use repos.conf directly.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2019-01-15 17:07:47 UTC
please ensure the following layman.cfg setting:

conf_type : repos.conf