When I try to install or remove applications I get the following error: Nokia-N900:~# apt-get install speedpatch Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: speedpatch 0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded. 5 not fully installed or removed. Need to get 0B/2606B of archives. After this operation, 69,6kB of additional disk space will be used. dpkg: parse error, in file `/var/lib/dpkg/available' near line 29239 package `macchanger': EOF during value of field `Maemo-Icon-26' (missing final newline) E: Sub-process /usr/bin/dpkg returned an error code (2) How do I fix this?
sudo gainroot dpkg --configure -a dpkg --clear-avail apt-get update && apt-get install -f