On Mon, 9 Feb 2026, at 18:27, Alan Mackenzie wrote:
> Hello, Arve.
>
> On Mon, Feb 09, 2026 at 16:26:14 +0100, Arve Barsnes wrote:
>> Second, did you ever install this manually, putting it in your @world
>> set? Try emerge -pcv dev-lang/php:8.2 to see if it can be easily
>> removed, and it will tell you what, if anything, keeps the package
>> there.
>
> There is now nothing depending on php:8.2.
>
>> You obviously don't want it there, so try to remove it before trying to
>> figure out the potentially deep dependency that brings it in.
>
> The problem in my system seems to be that
> /var/db/pkg/dev-lang/php-8.2.28-r1 exists, but
> /usr/portage/dev-lang/php/php-8.2.28-r1.ebuild doesn't.

Nuno explained all of this already, so I won't repeat any of that, but just to 
be super clear:

None of this is a problem, misunderstandings make you try to fix the wrong 
thing.

Running @preserved-rebuild will try to update the package, because it is 
installed.

You don't use this package, so it should be depcleaned (un-installed).

Run 'emerge -c dev-lang/php:8.2' to remove it.

Regards,
Arve

Reply via email to