我正在尝试在我的Ubuntu上安装IBM MQ
我想安装一个包:ibmmq-runtime_9.0.5.0_amd64.deb
我尝试了两个命令。似乎没有任何作用..我在片段中收到了下面提到的错误。
trougc@trougc-MacBookPro:~/MQServer$ sudo apt install ibmmq-runtime_9.0.5.0_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ibmmq-runtime_9.0.5.0_amd64.deb
E: Couldn't find any package by glob 'ibmmq-runtime_9.0.5.0_amd64.deb'
E: Couldn't find any package by regex 'ibmmq-runtime_9.0.5.0_amd64.deb'
并且
trougc@trougc-MacBookPro:~/MQServer$ sudo dpkg -i ibmmq-runtime_9.0.5.0_amd64.deb
(Reading database ... 222648 files and directories currently installed.)
Preparing to unpack ibmmq-runtime_9.0.5.0_amd64.deb ...
Entering prerm for "ibmmq-runtime" upgrade 9.0.5.0
Entering preinst for ibmmq-runtime upgrade 9.0.5.0
ERROR: upgrade operation not supported - please remove previous version
dpkg: error processing archive ibmmq-runtime_9.0.5.0_amd64.deb (--install):
subprocess new pre-installation script returned error exit status 255
Entering postrm for "ibmmq-runtime" abort-upgrade 9.0.5.0
Entering postinst for ibmmq-runtime abort-upgrade 9.0.5.0
Errors were encountered while processing:
ibmmq-runtime_9.0.5.0_amd64.deb