VPS侦探论坛

 找回密码
 注册
查看: 5054|回复: 4

Ubuntu 14.04.2 LTS 系统安装LNMP 失败

[复制链接]
发表于 2015-7-13 11:20:52 | 显示全部楼层 |阅读模式

Ubuntu 14.04.2 LTS 系统安装LNMP 失败

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-7-13 11:29:40 | 显示全部楼层

LNMP 安装失败



现在是所有apt-get 安装失败

apt-get -f install 之后是这样的
Preparing to unpack .../linux-image-3.13.0-57-generic_3.13.0-57.95_amd64.deb ...
Can't locate Debconf/Client/ConfModule.pm in @INC (you may need to install the Debconf::Client::ConfModule module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /var/lib/dpkg/tmp.ci/preinst line 20.
BEGIN failed--compilation aborted at /var/lib/dpkg/tmp.ci/preinst line 20.
dpkg: error processing archive /var/cache/apt/archives/linux-image-3.13.0-57-generic_3.13.0-57.95_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/lib/perl/5.18/Cwd.pm line 3.
BEGIN failed--compilation aborted at /usr/lib/perl/5.18/Cwd.pm line 3.
Compilation failed in require at /var/lib/dpkg/tmp.ci/postrm line 21.
BEGIN failed--compilation aborted at /var/lib/dpkg/tmp.ci/postrm line 21.
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Preparing to unpack .../x11-common_1%3a7.7+1ubuntu8.1_all.deb ...
/var/lib/dpkg/tmp.ci/preinst: 10: .: Can't open /usr/share/debconf/confmodule
dpkg: error processing archive /var/cache/apt/archives/x11-common_1%3a7.7+1ubuntu8.1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-3.13.0-57-generic_3.13.0-57.95_amd64.deb
/var/cache/apt/archives/x11-common_1%3a7.7+1ubuntu8.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-7-13 21:40:58 | 显示全部楼层

使用find 命令查找Can't locate 后面提示的文件,然后ln -s 连接到 @INC的目录,然后再试试

应该是你这系统模板有问题
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-7-14 11:44:10 | 显示全部楼层



根本就找不到strict.pm   这个文件

Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2015-7-14 16:09:56 | 显示全部楼层

你系统模板的问题,别无他法

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-28 01:15 , Processed in 0.027527 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表