预加载 0.6.4 不起作用

预加载 0.6.4 不起作用

我在新系统上安装了预加载,但出现以下错误:

[Sun Sep  1 08:59:15 2013] loading conf from /etc/preload.conf
[Sun Sep  1 08:59:15 2013] loading state from /var/lib/preload/preload.state 
[Sun Sep  1 08:59:15 2013] failed reading state from /var/lib/preload/preload.state: line 14491:invalid tag
[Sun Sep  1 08:59:15 2013] Exiting
[Sun Sep  1 12:16:29 2013] loading conf from /etc/preload.conf
[Sun Sep  1 12:16:29 2013] loading state from /var/lib/preload/preload.state
[Sun Sep  1 12:16:29 2013] failed reading state from /var/lib/preload/preload.state: line 14491:invalid tag
[Sun Sep  1 12:16:29 2013] Exiting

我怎样才能使预加载正常工作?(我需要它来获得更好的性能。)

答案1

尝试使用以下方法删除预加载:

sudo apt-get purge preload

检查/var/lib/preload/preload.state文件是否仍然存在。如果是,请将其删除:

sudo rm /var/lib/preload/preload.state

然后重新安装

sudo apt-get install preload

相关内容