安装 软件时出现 dpkg-statoverride: 不存在用户 dspam问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
wangweiya
帖子: 7
注册时间: 2007-07-21 17:54

安装 软件时出现 dpkg-statoverride: 不存在用户 dspam问题

#1

帖子 wangweiya » 2007-07-28 11:22

下面是是 控制台显示的内容:

正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
下列【新】软件包将被安装:
eva
共升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 0B/2455kB 的软件包。
解压缩后会消耗掉 5538kB 的额外空间。
选中了曾被取消选择的软件包 eva。
(正在读取数据库 ... 系统当前总共安装有 115356 个文件和目录。)
正在解压缩 eva (从 .../eva_0.4.1+cvs20070403-0ubuntu1_i386.deb) ...
正在设置 dspam-webfrontend (3.6.8-4ubuntu1) ...
dpkg-statoverride: 不存在用户 dspam

Usage: dpkg-statoverride [<option> ...] <command>

Commands:
--add <owner> <group> <mode> <file>
add a new entry into the database.
--remove <file> remove file from the database.
--list [<glob-pattern>] list current overrides in the database.

Options:
--admindir <directory> set the directory with the statoverride file.
--update immediately update file permissions.
--force force an action even if a sanity check fails.
--quiet quiet operation, minimal output.
--help show this help message.
--version show the version.
dpkg:处理 dspam-webfrontend (--configure)时出错:
子进程·post-installation script·返回了错误号·2
正在设置 eva (0.4.1+cvs20070403-0ubuntu1) ...
在处理时有错误发生:
dspam-webfrontend
E: Sub-process /usr/bin/dpkg returned an error code (1)
wangweiya
帖子: 7
注册时间: 2007-07-21 17:54

#2

帖子 wangweiya » 2007-07-28 12:25

问题已经解决了 ,依次运行一下命令 就可以解决问题 。

sudo adduser dspam
sudo apt-get -f install
sudo apt-get remove dspam-webfrontend
sudo deluser dspam
sudo apt-get install dspam
sudo apt-get install dspam-webfrontend
回复