日前遇到一次升级,点击升级后一闪而过,提升安装成功实际上 安装失败。
日志提示:
- checking for GD library ... not found
- checking for GD library in /usr/local/ ... not found
- checking for GD library in /usr/pkg/ ... not found
- checking for GD library in /opt/local/ ... not found
- ./configure: error: the HTTP image filter module requires the GD library.
- You can either do not enable the module or install the libraries.
- make: *** No rule to make target 'build', needed by 'default'. Stop.
复制代码
库文件损坏
升级库
发现错误
- dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
复制代码 崩溃。。
- kill PID
- ps cax | grep PID
- sudo rm/var/lib/dpkg/lock
- sudo dpkg --configure -a
复制代码
成功
后台安装Nginx 成功
|
|