Open jlpoolen opened 9 months ago
@jlpoolen You need to install it first with emerge app-eselect/eselect-repository
. The readme is kinda expecting it. As much as it expects you to have Layman installed, when using that option.
We are not having Lychee 5.x yet. I am running Lychee myself and haven't had the time yet to do the update. At some point in the past, i've done a major release update with Lychee (i think it was 3.x to 4.x) and had allot of issues. That's why i am kinda hesitating. I am planning to do update at some point soon. Just need some time to test everything properly.
I'll leave this issues open, in order to be additionally motivated to finally do the update.
Thank you for the instruction re: app-select/eselect-repository. I did so, but I guess there is something else I'm suppose to do. See my session:
janus /usr/local/src/Lychee5/Lychee # eselect repository enable php-overlay
error: php-overlay: repository already enabled, in /var/db/repos/php-overlay
janus /usr/local/src/Lychee5/Lychee # ls /var/db/repos/
gentoo
janus /usr/local/src/Lychee5/Lychee # eselect repository disable php-overlay
Updating repos.conf ...
1 repositories disabled
janus /usr/local/src/Lychee5/Lychee # eselect repository enable php-overlay
Adding php-overlay to /etc/portage/repos.conf/eselect-repo.conf ...
1 repositories enabled
janus /usr/local/src/Lychee5/Lychee # ls /var/db/repos/
gentoo
janus /usr/local/src/Lychee5/Lychee #
It's been over five years since I have used overlays and it looks like the process is not intuitive, and I see the Gentoo page for layman had this warning:
Warning
[app-portage/layman](https://packages.gentoo.org/packages/app-portage/layman) is pmasked for removal. The [eselect repository](https://wiki.gentoo.org/wiki/Eselect/Repository) eselect module supersedes layman and is currently the preferred way for managing ebuild repositories.
Also, I had to create a directory /etc/portage/package.accept_keywords as my installation was using the file method, no problem to adjust, but your instructions might flag a warning that migrating to the package.accept_keywords directory structure is needed if there currently exists a file. I think your approach of using links is a good approach, hence I encourage the use of package management with directories rather than files containing combined entries.
Ahah, I found this page: https://wiki.gentoo.org/wiki/Eselect/Repository and see that I need to:
emaint sync -r php-overlay
Sometimes it is helpful to have a perspective of someone unfamiliar with your project coming from a different, yet standard, set-up.
We are not having Lychee 5.x yet. I am running Lychee myself and haven't had the time yet to do the update. At some point in the past, i've done a major release update with Lychee (i think it was 3.x to 4.x) and had allot of issues. That's why i am kinda hesitating. I am planning to do update at some point soon. Just need some time to test everything properly.
Beware on trying to upgrade to Lychee 5.x. Lychee 5.x requires a version of composer and/or PHP, e.g. 8.2.15, whereas Lychee 4 was running under PHP 8.1.26-r1. "eselecting" to the higher version of PHP broke Lychee 4. I was trying to have Lychee 4 continue to operate while I fiddled with getting Lychee 5.x up and running. I don't think you can do so on the same server as apache setting for php differ.
Thanks and yes, i am aware of the version dependencies. It might be good to have another environment for the update tests. At least that's what i usually do.
Current README.md has:
However, running the command
eselect repository enable php-overlay
in a standard Gentoo install results in:My eselect has:
So if there is some additional step needed, it would be helpful to such.
I'm coming to you because I'm trying to install Lychee 5+ and it needs php's composer which is not current in Gentoo's portage. Yes, I can try to research how to accomplish, but these instructions looked so inviting and appears to be only what is needed. I don't do overlays much, so working knowledge of them escapes me for the moment.