當系統安裝了兩個相同的rpm:
# rpm -q mysql-5.0.45-7.el5
mysql-5.0.45-7.el5
mysql-5.0.45-7.el5
在移除時會顯示錯誤:
# rpm -e mysql
error: "mysql" specifies multiple packages
只要加上 --allmatches參數即可成功移除:
# rpm -e --allmatches mysql
當系統安裝了兩個相同的rpm:
# rpm -q mysql-5.0.45-7.el5
mysql-5.0.45-7.el5
mysql-5.0.45-7.el5
在移除時會顯示錯誤:
# rpm -e mysql
error: "mysql" specifies multiple packages
只要加上 --allmatches參數即可成功移除:
# rpm -e --allmatches mysql
請先 登入 以發表留言。