Can't clear broken packages

Asked by yzfvie

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:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

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

Revision history for this message
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?