dpkg进程卡住,而且杀不死
发表于 : 2011-03-19 13:08
用apt-get 安装个sqlite, 但是在安装过程中卡住,下载完解压过程中就不动了,Ctrl+C 无效,强行关闭终端后,dpkg进程还在运行,kill -9 杀不死,关机关不掉...最后强制断电...
现在sqlite还是没有正常安装,remove提示下面,再重新安装还是上面那个样子。是源里边sqlite的问题还是dpkg的问题?
现在sqlite还是没有正常安装,remove提示下面,再重新安装还是上面那个样子。是源里边sqlite的问题还是dpkg的问题?
代码: 全选
sudo apt-get remove sqlite
[sudo] password for leetom:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
sqlite
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: error processing sqlite (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
sqlite
E: Sub-process /usr/bin/dpkg returned an error code (1)