引用:dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
网上很多高手都说执行以下两行命令即可,我试了n次都不行,估计人品有问题
引用:# dpkg --configure -a
# apt-get update
后来发现了这段代码
引用:# ls /usr/share/doc | \
grep -v [A-Z] | \
grep -v ’^texmf$’ | \
grep -v ’^debian$’ | \
awk ’{print $1 " install"}’ | \
dpkg --set-selections
执行了上面的代码后,出现以下错误
引用:awk: 1: unexpected character 0xe2
awk: line 2: missing } near end of file
请忽视这两个错误,直接执行upgrade命令,即可获取新的头文件
引用:# apt-get upgrade
以上命令均在切换到root用户后执行。


ssitxiud 于 2009-03-11 22:19:28发表:
学习了。前几天也碰到这问题,已解决了!
seeulove 于 2009-03-09 18:11:32发表:
谢谢。我要试试了。因为我就是这个问题不能解决阿。
郁闷。