Code: Select all
equery depends layman # optional check, just in case something actually depends on layman
emerge -Cav layman
rm -Rf /var/lib/layman
rm /etc/portage/repos.conf/layman.conf
rm -Rf /etc/laymanCode: Select all
emerge -av app-eselect/eselect-repositoryCode: Select all
layman -l
layman -d palemoon
eselect repository add palemoon git https://github.com/deu/palemoon-overlay.gitCode: Select all
emaint sync -r palemoonCode: Select all
emerge -aC laymanInteresting. Thanks for that. In cases where I've tended to use -C in the past it's generally when I knew there wasn't any issue, like removing a previous kernel etc. I'd actually never noticed that -c was the same as --depclean. I've generally only used --depclean for post-update dependency cleaning (without any specific package name). So am I correct that this:grknight wrote:Just please do not use the -C option to emerge. Always use -c except in extreme circumstances such as temporarily removing a "hard blocking" issue where something will be reinstalled immediately after.
Code: Select all
emerge -ac layman
Don't edit the module as it will be overwritten later on update.Strunzdesign wrote:Third, at work, "eselect repository" refuses to work on my main box due to our proxy performing SSL interception. I needed to edit "/usr/share/eselect/modules/repository.eselect" in order to add "--no-check-certificate" to the wget command. Maybe someone has the same issue and considers this helpful.

/etc/portage/repos.conf Wiki page:Strunzdesign wrote: Besides this, I have some questions regarding the topic of this thread:
On all my machines I maintain a file "gentoo.conf" in my /etc/portage/repos.conf/ folder. After migration, if I delete this file as a test, and portage continues to work normally (using eix-sync). Thus, is this file still required, or is it advised that users remove it?
Best Regards,If /etc/portage/repos.conf/gentoo.conf does not exist, defaults from /usr/share/portage/config/repos.conf will be used, (unless /etc/portage/repos.conf is a file with a valid "[gentoo]" section, as used to be the default). If some necessary settings, such as sync-uri are omitted from /etc/portage/repos.conf/gentoo.conf, values from /usr/share/portage/config/repos.conf will be used. Some values, such as priority, will be automatically added by Portage even if they are not present in any configuration file.
Code: Select all
[throttled]
priority = 50
location = /var/lib/layman/throttled
layman-type = git
auto-sync = No
Code: Select all
[throttled]
location = /var/db/repos/throttled
sync-type = git
sync-uri = https://github.com/erpalma/throttled-overlay.git
auto-sync = No
I won't comment on this being the correct way to do it, because I don't remember my findings when I emerged layman just to investigate your case and I don't have the time to do it again. My feeling is it's not.Zarhan wrote:Finally got around to doing this.
Anyway, there actually was a way to migrate...essentially, just rename /etc/portage/repos/layman.conf to eselect-repo.conf and rename key "layman-type" to "sync-type", like below and add the URL into the configuration as sync-uri (layman didn't store this). Example is throttled repo for my Thinkpad:
Layman:
eselect-repository:Code: Select all
[throttled] priority = 50 location = /var/lib/layman/throttled layman-type = git auto-sync = No
Code: Select all
[throttled] location = /var/db/repos/throttled sync-type = git sync-uri = https://github.com/erpalma/throttled-overlay.git auto-sync = No

