Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614204 - app-portage/layman doesn't remove deleted overlays from PORTDIR_OVERLAY in /var/lib/layman/make.conf
Summary: app-portage/layman doesn't remove deleted overlays from PORTDIR_OVERLAY in /v...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Layman Overlay Manager project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-29 13:06 UTC by nikarul
Modified: 2019-01-15 17:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,6.33 KB, text/plain)
2017-03-29 13:06 UTC, nikarul
Details

Note You need to log in before you can comment on or make changes to this bug.
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