分页: 1 / 1

dpkg:处理 gnome-keyring-manager (--purge)时出错: 子进程 pre-removal

发表于 : 2008-11-01 18:22
yangjinchao
昨天用cruft cleaner清除了一些程序,结果把害苦了。新里得出错了,安装不了软件了,
(正在读取数据库 ... 系统当前总共安装有 235934 个文件和目录。)
正在删除 gnome-keyring-manager ...
/usr/share/gconf/schemas/gnome-keyring-manager.schemas:1: parser error : Document is empty

^
/usr/share/gconf/schemas/gnome-keyring-manager.schemas:1: parser error : Start tag expected, '<' not found

^

代码: 全选

dpkg:处理 gnome-keyring-manager (--purge)时出错:
 子进程 pre-removal script 返回了错误号 1
在处理时有错误发生:
 gnome-keyring-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
有软件包无法安装。试图恢复到上一版本:
正在设置 linux-image-2.6.27-7-generic (2.6.27-7.14) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.27-7-generic
Not updating initrd symbolic links since we are being updated/reinstalled 
(2.6.27-7.12 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(2.6.27-7.12 was configured last, according to dpkg)
The provided postinst hook script [/sbin/update-grub] could not be run.
dpkg:处理 linux-image-2.6.27-7-generic (--configure)时出错:
 子进程 post-installation script 返回了错误号 2
在处理时有错误发生:
 linux-image-2.6.27-7-generic
我弄了一个空的gnome-keyring-manager.schemas
结果认出来了,谁给我发一个呀,我的邮箱[email protected]

Re: dpkg:处理 gnome-keyring-manager (--purge)时出错: 子进程 pre-removal

发表于 : 2008-11-08 23:52
jsxthncn

代码: 全选

Setting up linux-image-2.6.27-7-generic (2.6.27-7.16) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.27-7-generic
Not updating initrd symbolic links since we are being updated/reinstalled 
(2.6.27-7.14 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(2.6.27-7.14 was configured last, according to dpkg)
Could not find postinst hook script [update-grub].
Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin'
dpkg: error processing linux-image-2.6.27-7-generic (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-2.6.27-7-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
错误和我的一样,你解决了吗?