The mcrypt extension was moved to the PECL repository and is no longer bundled with PHP as of PHP 7.2.0. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'php-mcrypt' has no installation candidate. '/usr/bin/apt-get -y -o 'Dpkg::Options::=-force-confdef' -o 'Dpkg::Options::=-force-confold' install 'php8.0-common' 'php8.0-cli' 'php8.0-dev' 'php8.0-fpm' 'libpcre3-dev' 'php8.0-gd' 'php8.0-curl' 'php8.0-imap' 'php8.0-json' 'php8.0-opcache' 'php8.0-xml' 'php8.0-mbstring' 'php-sqlite3' 'php-apcu' 'php8.0-curl' 'php8.0-xml' 'php8.0-zip' -o APT::Install-Recommends=no' failed: E: Package 'php8. Done Package php-mcrypt is not available, but is referred to by another package. Package php8.0-json is a virtual package provided by: