我对 Ubuntu 还比较陌生,在将系统升级到 Ubuntu 13.10 之前,我使用起来没有任何问题。在升级过程中,我收到kismet
无法下载的错误消息,当我弄清楚这是一个嗅探工具时,我想我无论如何都不需要它。
但是在安装了gpointing-device-settings
一些其他软件之后,我收到下面显示的错误;我已经安装了软件,但我只是想了解为什么会出现这个错误;为什么它与 kismet 有关,我需要安装吗kismet
?!
Reading package lists... Done
Building dependency tree
Reading state information... Done
gpointing-device-settings is already the newest version.
The following packages were automatically installed and are no longer required:
libaccounts-qt5-1 libc-ares2 libdee-qt5-3 libllvm3.1:i386
libqt5graphicaleffects5 libqt5network5 libqt5qml5 libqt5quick5 libqt5svg5
libqt5v8-5 libqt5xml5 libsignon-qt5-1 libsmi2ldbl libwireshark-data
libwireshark2 libwiretap2 libwsutil2 linux-headers-3.5.0-17
linux-headers-3.5.0-18 linux-headers-3.5.0-18-generic
qtdeclarative5-accounts-plugin qtdeclarative5-friends-plugin
qtdeclarative5-qtquick2-plugin qtdeclarative5-ubuntu-ui-toolkit-plugin
ubuntu-ui-toolkit-theme wireshark wireshark-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 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 kismet (2011.03.R2-2) ...
usermod: user 'mahmoud' does not exist
dpkg: error processing kismet (--configure):
subprocess installed post-installation script returned error exit status 6
No apport report written because MaxReports is reached already
Errors were encountered while processing:
kismet
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
恭喜,您发现了第一个错误。现在要解决问题,您需要自己创建用户:
sudo adduser mahmoud
现在卸载 kismet:
sudo apt-get purge kismet
现在清理你的系统:
sudo apt-get autoremove