之前我尝试snort
通过执行以下操作来打开cd /etc/snort
,一切正常。然后我升级了我的 Ubuntu,现在无论我何时这样做cd /etc/snort
,它都会显示bash: cd: /etc/snort: No such file or directory
。
因此我尝试snort
通过以下方式进行安装sudo apt-get install snort
。但它显示:
Reading package lists... Done
Building dependency tree
Reading state information... Done
snort is already the newest version (2.9.7.0-5build1).
0 upgraded, 0 newly installed, 0 to remove and 5 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 snort (2.9.7.0-5build1) ...
cp: cannot create regular file '/etc/snort/snort.debian.conf.dpkg-new': No such file or directory
dpkg: error processing package snort (--configure):
installed snort package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
snort
E: Sub-process /usr/bin/dpkg returned an error code (1)
有人能帮我吗?我是 Ubuntu 的新手。