composer 报错:Installation failed, reverting ./composer.json to its original content.
tp5使用composer安装Image类的时候报错,
composer require topthink/think-image
错误提示:Installation failed, reverting ./composer.json to its original content.
修改方法:
1、在composer.json文件里"require"下添加代码:
"topthink/think-image" : "^1.0",然后执行
composer update
标签: failed composer Installation
yum 安装软件的时候报错:rpmdb open failed
$ cd /var/lib/rpm $ rm -rf __db.* $ rpm --rebuilddb $ yum clean all