在activeMQ
上安装ubuntu 18.0.4
时,它几乎完成了,但是最后给出了一个奇怪的错误:
sudo apt-get install -Y activemq
Setting up libactivemq-java (5.15.8-2~18.04) ...
Setting up activemq (5.15.8-2~18.04) ...
Adding group `activemq' (GID 132) ...
Done.
Adding system user `activemq' (UID 129) ...
Adding new user `activemq' (UID 129) with group `activemq' ...
Not creating home directory `/var/lib/activemq'.
Processing triggers for systemd (237-3ubuntu10.31) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Errors were encountered while processing:
rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
最后请注意该错误:
Errors were encountered while processing:
rabbitmq-server
为什么在安装activemq
时会发生这种情况?