Page MenuHomePhabricator

Unable to install php-tidy during MediaWiki-Vagrant setup
Closed, DuplicatePublic

Description

When creating a fresh instance (after vagrant destroy) with debian-stretch box version 9.8.0, there's a failure to set up php-tidy which cascades into various other things reporting failure. The web server never starts, etc.

Log extract:

==> default: Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php-tidy' returned 100: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: Some packages could not be installed. This may mean that you have
==> default: requested an impossible situation or if you are using the unstable
==> default: distribution that some required packages have not yet been created
==> default: or been moved out of Incoming.
==> default: The following information may help to resolve the situation:
==> default: 
==> default: The following packages have unmet dependencies:
==> default:  php-tidy : Depends: php7.2-tidy but it is not going to be installed
==> default: E: Unable to correct problems, you have held broken packages.
==> default: Error: /Stage[main]/Packages::Php_tidy/Package[php-tidy]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install php-tidy' returned 100: Reading package lists...
==> default: Building dependency tree...
==> default: Reading state information...
==> default: Some packages could not be installed. This may mean that you have
==> default: requested an impossible situation or if you are using the unstable
==> default: distribution that some required packages have not yet been created
==> default: or been moved out of Incoming.
==> default: The following information may help to resolve the situation:
==> default: 
==> default: The following packages have unmet dependencies:
==> default:  php-tidy : Depends: php7.2-tidy but it is not going to be installed
==> default: E: Unable to correct problems, you have held broken packages.
==> default: Notice: /Stage[main]/Packages::Tidy/Package[tidy]/ensure: created

Full log: