Ubuntu错误提示:
dpkg: 语法分析错误,在“/var/lib/dpkg/available”文件的第“21728”行附近 软件包“libgnomevfs2-extra”:
该上下文中不允许“status”字段的值
E: Sub-process /usr/bin/dpkg returned an error code (2)

dpkg: 语法分析错误,在“/var/lib/dpkg/available”文件的第“21728”行附近 软件包“libgnomevfs2-extra”: 该上下文中不允许“status”字段的值E: Sub-process /usr/bin/dpkg returned an error code (2)

解决方法:

martin@martin-desktop:~$ sudo apt-get update
martin@martin-desktop:~$ sudo dpkg –clear-avail
martin@martin-desktop:~$ sudo dpkg –configure -a
martin@martin-desktop:~$ sudo apt-get install dselect
martin@martin-desktop:~$ sudo dselect update

以上从网路收集做个记录。


出处: 马丁博客http://www.blags.org/

本文链接地址: http://www.blags.org/ubuntu-9-10-dpkg-error/

原创文章,转载请注明出处,否则视为侵权。