> Le 8 févr. 2026 à 15:34, Alan Mackenzie <[email protected]> a écrit : > > Hello, Gentoo. > > On my old machine, after updating my software I am continually being > pestered to do emerge @preserved-rebuild. > > It's not working. > > When I type in the command, I get the following (slightly abbreviated) > half error message: > > ######################################################################### > > !!! Problem resolving dependencies for dev-lang/php:8.2 from > @preserved-rebuild > > !!! The ebuild selected to satisfy "dev-lang/php:8.2" has unmet requirements. > - dev-lang/php-8.2.30::gentoo USE="acl avif bzip2 cli ctype fileinfo filter > flatfile gdbm iconv ipv6 jit nls opcache opcache-jit phar posix readline > session simplexml spell ssl tokenizer unicode webp xml zlib -apache2 > -apparmor -argon2 -bcmath -berkdb -calendar -cdb -cgi -cjk -curl -debug > -embed -enchant -exif -ffi -fpm -ftp -gd -gmp -imap -inifile -intl -iodbc > -kerberos -ldap -ldap-sasl -libedit -lmdb -mhash -mssql -mysql -mysqli > (-oci8-instant-client) -odbc -pcntl -pdo -phpdbg -postgres -qdbm (-selinux) > -session-mm -sharedmem -snmp -soap -sockets -sodium -sqlite -systemd -sysvipc > -test -threads -tidy -tokyocabinet -truetype -valgrind -xmlreader -xmlwriter > -xpm -xslt -zip" ABI_X86="(64)" > > The following REQUIRED_USE flag constraints are unsatisfied: > avif? ( gd ) webp? ( gd )
This says that if you have avif and webp in the package’s USE flags, you also have to have gd. You lack the latter. > The above constraints are a subset of the following complete expression: > any-of ( cli cgi fpm apache2 embed phpdbg ) avif? ( gd zlib ) cli? ( > exactly-one-of ( readline libedit ) ) !cli? ( at-most-one-of ( readline > libedit ) ) truetype? ( gd zlib ) webp? ( gd zlib ) cjk? ( gd zlib ) exif? ( > gd zlib ) xpm? ( gd zlib ) gd? ( zlib ) simplexml? ( xml ) soap? ( xml ) > xmlreader? ( xml ) xmlwriter? ( xml ) xslt? ( xml ) ldap-sasl? ( ldap ) > oci8-instant-client? ( !ldap ) qdbm? ( !gdbm ) session-mm? ( session !threads > ) mysql? ( any-of ( mysqli pdo ) ) > mssql? ( pdo ) test? ( cli ) This is the full REQUIRED_USE spec. > (dependency required by "@preserved-rebuild" [argument]) This bit just means that the php package came from @preserved-rebuild (command arguments). > php:8.2 is an old version, which I definitely don't want to emerge > again. Why is an updating command trying to reinstall this useless old > version? > > What is causing the attempted reinstallation of this package? Why > doesn't the command's half error message tell me? That I cannot say. You might try « equery d php:8.2 » to see what depends on it, or you might try « emerge -ac » to see if you can clean out unnecessary packages.

