在我的 ubuntu 机器上,我尝试从命令行安装 imagick,如下所示:
sudo apt install imagemagick-6.q16
但我收到了这个错误信息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
imagemagick-6.q16 is already the newest version (8:6.9.7.4+dfsg-16ubuntu6.15).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up rsyslog (8.32.0-1ubuntu4.2) ...
The user `syslog' is already a member of `adm'.
Unsafe symlinks encountered in /var/log, refusing.
Unsafe symlinks encountered in /var/log/auth.log, refusing.
Unsafe symlinks encountered in /var/log/kern.log, refusing.
Unsafe symlinks encountered in /var/log/syslog, refusing.
dpkg: error processing package rsyslog (--configure):
installed rsyslog package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
rsyslog
E: Sub-process /usr/bin/dpkg returned an error code (1)
这是什么意思?
EDIT1:添加了 ls -ld /var/ /var/log/ /var/log/syslog /var/log/auth.log /var/log/kern.log 的输出