Ubuntu安装webmin1.54失败

by Web全栈工程师 on 2011 年 05 月 01 日

Ubuntu 10.10 下安装 webmin1.54 的时候出现如下错误:

#dpkg -i webmin_1.540_all.deb

dpkg: dependency problems prevent configuration of webmin:
webmin depends on libnet-ssleay-perl; however:
Package libnet-ssleay-perl is not installed.
webmin depends on libauthen-pam-perl; however:
Package libauthen-pam-perl is not installed.
webmin depends on libio-pty-perl; however:
Package libio-pty-perl is not installed.
webmin depends on libmd5-perl; however:
Package libmd5-perl is not installed.
dpkg: error processing webmin (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
webmin

解决办法很简单,就是用apt-get命令缺失的组件

apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

安装好之后,提示缺失apt-show-versions组件
但用apt-get install apt-show-versions安装组件的时候,又提示缺失libapt-pkg-perl组件
所以要用apt-get install libapt-pkg-perl apt-show-versions 同时安装这二个互相依赖的组件

安装好之后,系统自动完成webmin的安装

** initializing cache. This may take a while **
Webmin install complete. You can now login to https://david-laptop:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.

Comments on this entry are closed.

Previous post:

Next post: