Can't clear broken packages

Asked by yzfvie on 2010-02-01

I get an error message " var/lib/dpkg/status file line 21318 has an error."
 field name " suggests2" must be followed by a colon.
Since it is a read only file, I cannot edit it.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu dpkg Edit question
Assignee:
No assignee Edit question
Solved by:
yzfvie
Solved:
2010-02-03
Last query:
2010-02-03
Last reply:
2010-02-02

You need to use "sudo" to get full access to all files of your pc, from terminal type:

sudo gedit /var/lib/dpkg/status.....

give your user password when requested, you don't see nothing when you type it, then press enter.

Hth

yzfvie (yzfvie) said : #2

Great!

That worked fine. I found that I had another syntax error further down the line in that file but Now I get the following ERROR message.
 /var/cache/apt/archives/libc6_2.10.1-0ubuntu16_i386.deb: subprocess new post-removal script killed by signal (Segmentation fault)

Can this be fixed?