系統訊息
NAME=”Ubuntu”
VERSION=”20.04.1 LTS (Focal Fossa)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu 20.04.1 LTS”
VERSION_ID=”20.04″
HOME_URL=”https://www.ubuntu.com/”
SUPPORT_URL=”https://help.ubuntu.com/”
BUG_REPORT_URL=”https://bugs.launchpad.net/ubuntu/”
PRIVACY_POLICY_URL=”https://www.ubuntu.com/legal/terms-and-policies/privacy-policy”
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
安裝在vmware server 6.0虛似伺服器上
正常安裝
sudo dpkg -i webmin_1.970_all.deb
等了5分鐘,完全沒有任何進一步動作
只好按下CTR-c中斷動作
再裝一次還是卡住
想說先裝其他套件好了
sudo apt-get install htop iftop
E: dpkg was interrupted, you must manually run ‘sudo dpkg –configure -a’ to correct the problem.
執行
sudo dpkg –configure -a
再裝一次
sudo apt-get install htop iftop
出現
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: The package webmin needs to be reinstalled, but I can’t find an archive for it.
那把webmin移掉好了
sudo dpkg -r webmin
出現dpkg: error processing package webmin (–remove):
package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
Errors were encountered while processing:
webmin
移不掉,看看強制移不移的掉
sudo dpkg -r –force-all webmin
出現
dpkg: warning: overriding problem because –force enabled:
dpkg: warning: package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
(Reading database … 81853 files and directories currently installed.)
Removing webmin (1.970) …
其他套件可以安裝了
但WEBMIN怎麼處理呢?
到官方重抓一次
wget https://prdownloads.sourceforge.net/webadmin/webmin_1.970_all.deb
sudo dpkg -i webmin_1.970_all.deb
一樣,卡到天荒地老不會動
看起來不是套件抓回來壞掉以至無法安裝
再移掉webmin
每安裝相依套件
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python unzip
還是一卡住
再移掉webmin
使用官方的APT安裝方式
一模一樣,裝不了就就裝不了
sudo pkill dpkg之後,要進行移除
使用root身份
一樣卡住
去追蹤dpkg的log也一樣
先放棄安裝,目前沒有招了
用指令就用指令吧~反正我也是從指令開始學的
想說先去吃早餐再回來打記錄,結果安裝好了
root@stest:~# dpkg -i webmin_1.970_all.deb
(Reading database … 82851 files and directories currently installed.)
Preparing to unpack webmin_1.970_all.deb …
Unpacking webmin (1.970) over (1.970) …
Setting up webmin (1.970) …
Webmin install complete. You can now login to https://stest:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for systemd (245.4-4ubuntu3.4) …
真的不懂,前面在卡什麼,webmin為什麼就是安裝不起來。
結論,耐心是一種美德。
隨機文章
- ASUS Ultrabook UX31E 撿到開箱測試文 (2011-10-19)
- 威盛的迷你準系統部品 (2008-05-11)
- 麻木不仁的政務官? (2011-05-13)
- OLPC-XO筆電即將推出Windows版 (2007-11-03)
- 燦坤網路購物在個資上耍了什麼寶? (2013-01-13)