I was able to update packages using
$ sudo apt-get update
but when I tried to install telnet using
$ sudo apt-get install telnet
,
I get the following errors
dpkg: unrecoverable fatal error , aborting:
too-long line or missing new line in /var/lib/dpkg/diversions'
E: Sub-process /usr/bin/dpkg returned an error code (2)
I'm unable to install any other software as well Neither could I find any online resources which solved the problem. I'm currently using debian os, raspberry pi model b+. Please help me out