简体   繁体   English

安装Webmin-dpkg:无法访问dpkg状态区域

[英]Installing Webmin - dpkg: unable to access dpkg status area

I was able to install webmin before the openssl update on Amazon, but I had to uninstall it. 我能够在Amazon上的openssl更新之前安装webmin,但必须将其卸载。 I then had the openssl update when I received the email from Amazon. 当我收到来自亚马逊的电子邮件时,便有了openssl更新。 Today, I am trying to install webmin again: 今天,我尝试再次安装webmin:

sudo wget http://www.webmin.com/download/deb/webmin-current.deb
sudo dpkg -i webmin-current.deb

But then this error shows up: 但是随后出现此错误:

dpkg: unable to access dpkg status area: No such file or directory

I have been able to install dpkg: 我已经能够安装dpkg:

sudo yum install dpkg

-because earlier I was having this error: sudo dpkg command not found -因为之前我有此错误:找不到sudo dpkg命令

I have been able to enter sudo yum update and sudo yum upgrade, but I'm still having the error while trying to install the webmin-current.deb 我已经能够输入sudo yum update和sudo yum upgrade,但是尝试安装webmin-current.deb时仍然出现错误

I have been googling all day and I haven't found a solution to my problem yet. 我整天都在搜寻Google,但还没有找到解决问题的方法。 Please help. 请帮忙。

Dude ! 杜德! You are installing a deb package using yum . 您正在使用yum安装deb软件包。 You should use an rpm package for yum (RedHat/CentOS/Amazon Linux). 您应该对yum使用rpm软件包(RedHat / CentOS / Amazon Linux)。

You should use a deb package if your distro is Debian or Ubuntu. 如果您的发行版是Debian或Ubuntu,则应使用deb软件包。

You want: 你要:

wget http://download.webmin.com/download/yum/webmin-1.680-1.noarch.rpm
sudo rpm -ihv webmin-1.680-1.noarch.rpm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM