PDA

View Full Version : [ubuntu] package is missing final newline problem



busstation16
June 3rd, 2009, 03:34 PM
For the last week, I haven't been able to update because I keep getting an error that "'human-icon-theme' is missing final newline."

I have tried a lot of things I found online, and nothing seemed to work. But, i just went to:

/var/lib/dpkg/info

opened human-icon-theme.list with vi, went to the bottom and deleted everything that didn't look like a path (there was a bunch of random chars at the bottom.)

I don't know if this was a terrible idea, but it seems to have fixed my problem, and updates are running smoothly now.

Partyboi2
June 4th, 2009, 10:36 AM
Hi, open a terminal and try

echo -en '\n' | sudo tee -a /var/lib/dpkg/info/human-icon-theme.listthen

sudo apt-get update
sudo apt-get upgrade