卸载依赖的 Pear 包

卸载依赖的 Pear 包

当这些 pear 包相互依赖时,我该如何卸载它们?

sh-3.2# ./pear uninstall saucelabs/PHPUnit_Selenium
saucelabs/PHPUnit_Selenium (version >= 1.1.6) is required by installed package saucelabs/PHPUnit" saucelabs/PHPUnit_Selenium cannot be uninstalled, other installed packages depend on this package 

和:

sh-3.2# ./pear uninstall saucelabs/PHPUnit
saucelabs/PHPUnit (version >= 3.5.24) is required by installed package saucelabs/PHPUnit_Selenium" saucelabs/PHPUnit cannot be  uninstalled, other installed packages depend on this package

还尝试过这个:

sh-3.2# ./pear uninstall -f saucelabs/PHPUnit 
Console_Getopt: unrecognized option -- f

答案1

您是否尝试过同时卸载它们?

sh-3.2# ./pear uninstall saucelabs/PHPUnit saucelabs/PHPUnit_Selenium

相关内容